https://bugs.documentfoundation.org/show_bug.cgi?id=151123
--- Comment #10 from Khaled Hosny <[email protected]> --- (In reply to Buovjaga from comment #9) > Khaled: is it technically feasible to filter the font list for Asian and CTL > per the glyphs found in each font? It should be technically possible. There are multiple ways it can be implemented: 1. Check the “meta” table of the font, but many fonts do not have it and it can be unreliable of the font author did not set it correctly. https://learn.microsoft.com/en-us/typography/opentype/otspec184/meta 2. Check the “OS/2” table of the font for Unicode range bit. We already have that, but it is also unreliable (fonts often lie about Unicode ranges it supports because some Windows app reject the font if it does not declare a certain range supported), and the bits are exhausted and new ranges added to Unicode can’t be supported to these (this also uses Unicode ranges not languages or writing systems, so the mapping will not be faithful either way). 3. Check the “cmap” table of the font. Most reliable but can be slow if done to tens or hundreds of installed fonts at startup. Then there is the none technical question: What it does really mean to say a font supports language X? There is no single, correct, universally accepted answer to this. -- You are receiving this mail because: You are the assignee for the bug.
