4 ms·
I'm looking right now into better OpenType support. Would you care to specify more in detail what is your use case and the problems you encounter?
by mgubi 5y ago
I'm looking right now into better OpenType support. Would you care to specify more in detail what is your use case and the problems you encounter?
- philkrylov 5y agoI would really like to use TeXmacs for preparing linguistic publications, which may include multilingual text. TeXmacs does not seem to support Unicode combining diacritics. E.g. when I paste `бе́ля` in a TexMacs document, the accent is rendered as a full-width character between `е` and `л`, no matter which font I choose. Typing `⌘' e` (Latin `e`, not Cyrillic as above) renders `é`, but it does the job only for precomposed Unicode characters known to TeXmacs. OpenType `gpos` table has (e.g. in Times New Roman) a `mark` feature, specifying a "base" mark-to-base anchor point on Cyrillic vowels and a "mark" mark-to-base anchor point on U+0301 (combining acute accent), so the renderer can position the mark correctly above the preceding character. However, TeXmacs reimplements most of font rendering instead of reusing Harfbuzz which implements countless script-specific shaping quirks using OpenType tables. IMHO it's a Sisyphus' job.
- mgubi 5y agoThanks for the detailed description. I understand better the problem. I'm not very accustomed to other scripts so I would need to look into this with more details. But at least now I understand what HarfBuzz is about :)