Skip to content

Mismatched character alignment in text processor hook GetTextExtentExPointA #8

@AtomCrafty

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.

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