Okay, I've sorted this out now :)
The default FreeType implementation doesn't take the font scale into
account when setting up the hb_font, so I have to do that myself. I must've
just been getting away with it on the v_offset somehow (I did apply the
scale myself afterwards, and it was somehow
The scale applied to the hb_font seems to affect how badly this breaks
(it's currently less bad, but still broken).
It is possible that I was just never setting the hb_font scale correctly as
I was handling scaling internally from my user-data and ignoring the font
setting.
-Jamie.
On 8 May
Hey all,
I'm running HarfBuzz 1.2.4 with a modified hb_font implementation based on
the FreeType implementation in the vanilla version.
One of the differences is that I pass through the FreeType scale as
user-data and apply it when getting the metrics from FreeType (via
FT_Set_Transform).
We've