Skip to content

Bad y_offset from hb_buffer_get_glyph_positions (1.1.0 regression) #187

@tasn

Description

@tasn

Hey,

There seems to be a regression with Harfbuzz 1.1.0. After updating to 1.1.0 users of Terminology (an EFL based terminal emulator) have been experiencing weird character offsets. We've narrowed down the problem to the y_offset returned by hb_buffer_get_glyph_positions.
For example, for one glyph in the 6x13 bitmap font shipped with my system, I used to get 0 as the y_offset, and now I get -1056 (16px in my case).
There's more info in the original terminology ticket ( https://phab.enlightenment.org/T2865 ), but according to one account, the cause is 44f8275. I personally don't see how that one might be related, but it is.

This break leads to a completely unusable application.

Let me know if you need any other information.

Thanks,
Tom.

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