Skip to content

BOM marker generates zero-advance gid 3 (space glyph) when shaping #1208

@HinTak

Description

@HinTak

If you compare the result of hb-shape with the src/sample.py before and after this change:
d3e2a06

You would notice that somehow a space is added at the beginning of the buffer, with the shaping result showing an extra item of gid3 on one side (depending on whether you are trying to shape Arabic or not)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions