Skip to content

Mismatched character alignment in text processor hook GetTextExtentExPointA #8

Description

@AtomCrafty

The current implementation of the GetTextExtentExPointA hook simply converts to utf16 and forwards it to GetTextExtentExPointW. This is incorrect if used with MBCSs since it assumes each character's index to equal its byte offset.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions