alerque / libertinus

The Libertinus font family
Other
933 stars 57 forks source link

Localized form for Cyrillic should be expanded #29

Open KrasnayaPloshchad opened 8 years ago

KrasnayaPloshchad commented 8 years ago

Here is a test for localized form for Cyrillic: 1 2 In this case б should be transformed in all faces, other letters should also has italic variant in Libertinus Serif Italic, Libertinus Serif Bold Italic and so on. BTW I found Bosnian sometimes uses Serbian Cyrillic in Bosnia and Herzegovina, is it possible to make it available for Bosnian?

Crissov commented 7 years ago

If I understand correctly, the issue is that most southern Slavic writing systems share the same glyph variants, but they are currently only defined in locl for certain language codes (e.g. Serbian). Although I agree that this should be fixed at some point, I think it’s also what font-language-override is intended for in CSS.

KrasnayaPloshchad commented 7 years ago

In this case ѓ should also transformed as ī́ in all italic faces for southern Slavonics.

khaledhosny commented 7 years ago

So the original report is very short in details, and I still don’t know what is being requested here.

I need simple points that can be easily understood by a non-native, e.g. character U+XXXX should use glyph foo for locales X, Y and Z.

Crissov commented 7 years ago

🆙 I have updated my JSFiddle which tests many Slavonic and other languages, but still lacks expected results for many of them.

KrasnayaPloshchad commented 7 years ago

Let me explain what happened to me.

The following characters should have their localized glyph for southern Slavics: U+0431 (б) — should looks like δ in all faces. U+0433 (г) — should transformed as ī in any italic faces. U+0453 (ѓ) — should transformed as ī́ in any italic faces. U+0433 (д) — should transformed as ɡ in any italic faces. U+043F (п) — should transformed as ū in any italic faces. U+0442 (т) — should transformed as ɯ̅ in any italic faces.

When I made the test on wymeditor.github.io, the results to me as follows: Libertinus Serif: only б, г, д, п, т works in Serbian, but these variants disappared when I bolded them. Libertinus Sans: no localized glyph appearing.

So in this case font-language-override is not useful for these fonts because no localize form for ѓ is available.

khaledhosny commented 7 years ago

OK, any samples from fonts doing this right? Is there a definitive list of languages that need this behavior?

moyogo commented 7 years ago

@khaledhosny this is a common practice for some foundries. See http://jankojs.tripod.com/SerbianCyr.htm

Serbian and Macedonian have a preferred upright б and preferred italic б, г, д, п, т. Additionally Macedonian has a preferred italic ѓ, but this one seems to be an omission bug in several fonts supporting the other preferred glyphs (for example Ubuntu, see https://bugs.launchpad.net/ubuntu-font-family/+bug/823276, Whitney, see, http://www.typography.com/fonts/whitney/features/whitney-language-support, Segoe UI, etc). Bosnian is usually not in the languages using the locl feature in these fonts but it makes sense it should be seeing @KrasnayaPloshchad’s comment.

@KrasnayaPloshchad What about Montenegrin?

moyogo commented 7 years ago

@KrasnayaPloshchad BTW according to the Ubuntu bug report, when in Macedonian, italic U+0433 (г) and U+0453 (ѓ) should not look like ī and ī́.

KrasnayaPloshchad commented 7 years ago

What about Montenegrin?

I have no idea about Montenegrin, because I know nothing about that.

landswellsong commented 6 years ago

@moyogo Montenegrin only gained a language status this year and their language was defined as "Serbian" by the Constitution. Since they are moving away from Cyrillics anyway I think it's a safe bet that it's identical with Serbian in typography, although they introduced 2 new letters, which is other issue though.

KrasnayaPloshchad commented 6 years ago

although they introduced 2 new letters, which is other issue though.

See #17

KrasnayaPloshchad commented 6 years ago

CC @StefanPeev

StefanPeev commented 6 years ago

At Local Fonts section Fonts: the Importance of Localisation L'm collecting information about localized forms in Cyrillic and Non-Cyrillic scripts. I hope this place will be helpful as a reference guide. See also #122

skef commented 5 years ago

This is almost resolved. U+0431 is now transformed in all main fonts, Serif and Sans. U+0433, U+0434, U+043F and U+0442 are now transformed across all the italic faces.

The script/language directive is currently:

 script cyrl;
     language SRB  exclude_dflt;
      lookup locl_cyrillic;

U+0453 would be easy enough to add. If someone could update the the issue with advise or confirmation about additional languages and the appropriate context for a transformed U+0453, this could be resolved in short order.

The top of the alternate U-0433 in Sans is based on a number of glyphs but not directly derived from any, so it may not reflect what the original designer's would have done. The other glyphs have direct counter-parts. Most of the Serif-SemiboldItalic glyphs are wrong, but only because the other Cyrillic glyphs are wrong and they needed to match.

khaledhosny commented 5 years ago

Not doing anything here. People who needs this or know what exactly is needed here are free to send pull requests.

alerque commented 3 years ago

See also new issue #394.

alerque commented 3 years ago

@d125q Any chance you would be able to review this issue and speak to what exactly is left to do to fix everything that was brought up?

Crissov commented 3 years ago

I think Bulgarian alternates are still missing. #122

StefanPeev commented 1 year ago

@Crissov @KrasnayaPloshchad International Cyrillic is updated in v.7.050 of Libertinus Serif and Bulgarian Cyrillic is added to all styles. Styles are now compatible and anyone can make is many and as different styles between Regular and Bold, based on UFO Regular and UFO Bold. See UFO section in branch Cyrillic.