On 13-12-22 04:43 PM, Jonathan Kew wrote: > On 22/12/13 21:21, Behdad Esfahbod wrote: > >> + if (!(frac_mask | numr_mask | dnom_mask)) >> + return; > > Maybe it would be better to require *both* numr and dnom to be present if > they're to be used. Something more like > > if (!frac_mask && (!numr_mask && !dnom_mask)) > return; > > perhaps?
Yes, I was actually thinking about doing that. And caching the result of these on the plan so it's quicker to reject fonts that don't have any of these. Working on these. -- behdad http://behdad.org/ _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
