View Single Post
Old 06-27-2022, 04:21 AM   #1
barbiedolphin
Member
barbiedolphin is on a distinguished road
 
Posts: 21
Karma: 50
Join Date: Jan 2019
Device: none
Using alternate language glyphs in conversion

Some fonts have alternate glyphs for the same character(s). For example, the Cormorant fonts have extra glyphs for the Bulgarian stylistic variation of Cyrillic.

However, when converting to EPUB or PDF (from EPUB, usually), Calibre just uses its' base Cyrillic glyphs (which are the more common "Russian" variation of Cyrillic).

When converting to EPUB, I've tried setting font-language-override to Bulgarian in the CSS stylesheet, doesn't work:

Code:
<style>
font-language-override: "BGR"
</style>
(Furthermore, is it supposed to be "BGR" or "BG"? There's no documentation anywhere, so go figure.)

There's a way to select a unicode-range, but this seems even harder. But Fontforge shows that Cormorant Garamond Semibold has most of the Bulgarian glyphs inbetween "в" (66160 0x10270 U+???? "uni0432.loclBGR") and "ю" (66214 0x102a6 U+???? "uni044E.ss10")

And all of this doesn't help if I have to convert to PDF, either.
barbiedolphin is offline   Reply With Quote