24 ms·
Haven't read the book yet, but isn't that more like a matter of the font/rendering engine? I have a murky notion that for Cyrillic, for example, there are some
by myfonj 1y ago
Haven't read the book yet, but isn't that more like a matter of the font/rendering engine? I have a murky notion that for Cyrillic, for example, there are some nuances in rendering certain glyphs in cursive between languages [1], but these nuances are usually resolved by cooperation of the font and client interpreting the language hints, so not in the "physical" text.
(Not telling I see this as a good thing or anything: it is way beyond my expertise; I definitely can see the motivation for introducing as many variants in the Unicode register as there are in the real world)
Isn't the umlaut vs trema/diaeresis in a similar situation?
[1] made me test it and cobble a demo. (Sadly, not speaking any of these languages, so cannot verify it is correct; just wanted to see the difference in practice):
data:text/html;charset=utf-8;verbatim,<style>
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital@0;1");
body { font-family: 'Noto Sans'; }
dl:hover i { font-style: normal; }
</style>
<dl>
<dt>lang="ru"
<dd lang="ru"><i>грипп, практика, график, типа</i>
<dt>lang="sr"
<dd lang="sr"><i>грипп, практика, график, типа</i>
</dl>
Arguably, depending on wide (physical text ↔ specific font ↔ rendering agent) ecosystem feels quite fragile, but cannot tell if there is any better alternative for this particular case.
https://myfonj.github.io/sandbox.html#%3C!doctype%20html%3E%3Chtml%20lang%3D%22en%22%20style%3D%22color-scheme%3A%20dark%20light%3B%22%3E%0A%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%3E%0A%3Ctitle%3ECyrillic%20Language%20Variants%3C%2Ftitle%3E%0A%3Cstyle%3E%0A%40import%20url(%22https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DNoto%2BSans%3Aital%400%3B1%22)%3B%0Abody%20%7B%20font-family%3A%20'Noto%20Sans'%3B%20%7D%0Adl%3Ahover%20i%20%7B%20font-style%3A%20normal%3B%20%7D%0A%3C%2Fstyle%3E%0A%3Cdl%3E%0A%3Cdt%3Elang%3D%22ru%22%0A%3Cdd%20lang%3D%22ru%22%3E%3Ci%3E%D0%B3%D1%80%D0%B8%D0%BF%D0%BF%2C%20%D0%BF%D1%80%D0%B0%D0%BA%D1%82%D0%B8%D0%BA%D0%B0%2C%20%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%BA%2C%20%D1%82%D0%B8%D0%BF%D0%B0%3C%2Fi%3E%0A%3Cdt%3Elang%3D%22sr%22%0A%3Cdd%20lang%3D%22sr%22%3E%3Ci%3E%D0%B3%D1%80%D0%B8%D0%BF%D0%BF%2C%20%D0%BF%D1%80%D0%B0%D0%BA%D1%82%D0%B8%D0%BA%D0%B0%2C%20%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%BA%2C%20%D1%82%D0%B8%D0%BF%D0%B0%3C%2Fi%3E%0A%3C%2Fdl%3E https://myfonj.github.io/sandbox.html#%3C!doctype%20html%3E%...