Matthias Clasen

Results 188 comments of Matthias Clasen

The part that I find slightly confusing is this: If I create two fonts, once this way: ``` font1 = hb_ft_font_create (ft_face); font2 = hb_ft_font_create (ft_face); ``` and then this...

> Right. The latter creates two fonts in their default scale and variations. The former copies scale/variation from ft_face. That's implied in the dataflow... The thing is: in the latter...

See https://github.com/harfbuzz/harfbuzz/pull/3696

May need to look at some actual font BASE tables which have vertical baselines

Here is what we are seeing in Noto Sans CJK for vertical baselines: ``` ideo: 0 icfb: 46 icft: 954 ``` so it seems that these values are in design...

Here is another problem report about (horizontal) icfb: https://gitlab.gnome.org/GNOME/pango/-/issues/675

> What's direction here for then? I was thinking for deciding between left/right and top/bottom

My understanding of how this would be implemented is that pango would shape runs until it has a line assembled, then it asks hb for the left margin for the...

The first/last glyph could also be a ligature. I guess in theory, lfbd/rtbd should provide the right information for ligatures as well. If fonts actually do that... ?

Yeah. More fun code to write