Skip to content

shaping returns incorrect flags with CoreText #615

@kovidgoyal

Description

@kovidgoyal
hb-shape --show-flags --cluster-level=1 /System/Library/Fonts/Menlo.ttc abcd
[a=0+1233#1|b=1+1233#1|c=2+1233#1|d=3+1233#1]

As you can see the unsafe to break flag is set incorrectly. This is with harfbuzz compiled with --enable-coretext=yes. The same font if run with a version of harfbuzz compiled with --enable-coretext=no gives, the correct shape (using FreeType for font loading).

[a=0+1233|b=1+1233|c=2+1233|d=3+1233]

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