Behdad Esfahbod

Results 1487 comments of Behdad Esfahbod

I can see two options for "ot", does any of these satisfy your requirements: - Ignore AAT tables, - Prefer OpenType tables.

> ```c++ > > if (has_aat && has_ot) > // hybrid font, we want OT > shapers = {"ot", "fallback"}; > ``` But if "ot" always tries ot before aat,...

> > ```c++ > > if (has_aat && has_ot) > > // hybrid font, we want OT > > shapers = {"ot", "fallback"}; > > ``` > > But if...

@jfkthame can we get some direction here?

Humm. This seems to be a bad baseline value in the font. For script `hani` and baseline tag `ideo` it has value 0, which is wrong in my understanding. Other...

BTW, you can get the same info using `hb-info` utility.

I'm actually now confused and not sure anymore, how the baseline numbers are to be used across fonts. See this section: https://learn.microsoft.com/en-us/typography/opentype/spec/base#example-3b-baseline-values-for-four-scripts

I'm generally fine with this. Hopefully we can implement it without a performance hit. I don't know of any adverse impact. @jfkthame any objections to doing this by default?

This would come with a cost to implement though, since currently if the font has a glyph for a character we always use that. But that is not desirable here....

> it might architecturally be better suited to be in HarfBuzz. I agree with that. But then shouldn't we do the same with CR/LF as well? Also, what happens with...