Behdad Esfahbod
Behdad Esfahbod
> Here is what we are seeing in Noto Sans CJK for vertical baselines: > > ``` > ideo: 0 > icfb: 46 > icft: 954 > ``` > >...
> The Noto CJK values for VertAxis are on the x-axis and have nothing to do with Vertical Origin which is on the y-axis. I meant vertical origin of glyphs,...
Reopen if needed.
See https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#opbd
What's direction here for then?
A much nicer API would read: ``` hb_position_t hb_ot_layout_get_optical_bounds (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph); ```
But this being `ot-layout`, we need script/language to find the respective feature. Ugh.
> But this being `ot-layout`, we need script/language to find the respective feature. Ugh. The feature registry says "Script/language sensitivity: None.". So it's one of those that we just need...
> I was thinking for deciding between left/right and top/bottom Right. But since hb_direction_t has four values, the separate right/left is redundant. Also, OpenType currently has no features for top/bottom....
> first char and the right margin of the last char Glyphs. > and it would only do that for justified lines One side should be done for non-justified lines...