arnog / tecendil-js

Tengwar mode files and localization for Tecendil
https://tecendil.com
MIT License
25 stars 19 forks source link

Telcontar font: missing numerals #31

Open phoe opened 2 years ago

phoe commented 2 years ago

Zrzut ekranu z 2022-01-22 13-28-58

Firefox 95 on Linux. It seems that the numbers are written in a fallback font rather than Telcontar itself. I can also observe this in the Handbook.

jakobteuber commented 2 years ago

You are right, Telcontar doesn't have those numerals, John Winge simply didn't design those. There are other fonts like e. g. Annatar with numerals that would fit Telcontar better, but this is not actually a CSS fallback but the actual glyphs in Telcontar that Winge copy-pasted from FreeMono Tengwar, so to change it one would need to remove them from Telcontar or implement a possibility to switch the font mid-text (which is both possible, but I'm not sure if Arno is willing to do that at the moment).

arnog commented 2 years ago

It's possible to implement a fallback for some Unicode range in CSS, and I tried it at one point, but unfortunately it introduced other problems (which I don't recall at the moment...). If someone is handy with a Font editor program and were to submit a version of Telcontar with some better numerals (or could somehow convinced Johan (I've tried)), I'd be happy to update the font.