Skip to content

Incorrect x_advance in English result using Jellee Roman font since release 2.1.2 (easily reproducible) #1421

@chanon

Description

@chanon

I was integrating harfbuzz to my game and thought I did something wrong at first.

Thanks to the binary win32 releases I was able to use hb-view to verify that it seems to be a bug in harfbuzz since 2.1.2

2.1.2 and 2.1.3 produce the same results.
2.1.1 and before behave correctly.

To reproduce, get the Jellee Roman font. Eg. from here:
https://smartfonts.com/jellee-roman.font

With version 2.1.1:

hb-view.exe "Jellee Roman Bold.ttf" abcdefghijklmnop > result1.png

gives:
result

And

hb-view.exe "Jellee Roman Bold.ttf" ckckck > result2.png

gives:
result2

With version 2.1.2 (and 2.1.3):

hb-view.exe "Jellee Roman Bold.ttf" abcdefghijklmnop > result1.png

gives:
result

And

hb-view.exe "Jellee Roman Bold.ttf" ckckck > result2.png

result2

Notice the wrong advance of the c and k letters.

Otherwise, if this is an intended change, then it is pretty unexpected.

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