Theta hat doesn't have y offset #4525
-
Character:
If I follow the advance directly and render, the rendering appears like this (enlarged for effect): Notice the hat is inside the theta. I reimplemented my shaping using CoreText directly for shaping, and it provides the following information:
Note the y advance being set ( |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
This is a font bug. The font does not have mark positioning for the |
Beta Was this translation helpful? Give feedback.
-
It's really curious that CoreText does this level of fallback, since the glyph might be designed to just fit... Maybe @nedley can tell us what CoreText is doing. |
Beta Was this translation helpful? Give feedback.
-
What system and what HB version are you testing on?
With Menlo on MacOS 13.3.1 (22E261) it works fine with HarfBuzz for me. I don't get the exact same positioning as CoreText, but it doesn't look wrong.
My Mac's Monaco doesn't support theta.
|
Beta Was this translation helpful? Give feedback.
This is a font bug. The font does not have mark positioning for the
theta
glyph, but it has it for other glyphs. Core Text seems to be doing some fallback mark positioning here, but HarfBuzz does not do this unless the font has no mark positioning data at all.