Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localized form for Cyrillic should be expanded #29

Open
KrasnayaPloshchad opened this issue Apr 4, 2016 · 19 comments
Open

Localized form for Cyrillic should be expanded #29

KrasnayaPloshchad opened this issue Apr 4, 2016 · 19 comments
Labels
enhancement pr-welcome A PR contributing towards this issue would be welcome. script cyrillic

Comments

@KrasnayaPloshchad
Copy link

KrasnayaPloshchad commented Apr 4, 2016

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
Copy link
Contributor

Crissov commented Aug 4, 2016

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
Copy link
Author

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

@khaledhosny
Copy link
Contributor

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
Copy link
Contributor

Crissov commented Sep 21, 2016

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

@KrasnayaPloshchad
Copy link
Author

KrasnayaPloshchad commented Sep 21, 2016

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
Copy link
Contributor

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

@moyogo
Copy link

moyogo commented Sep 21, 2016

@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
Copy link

moyogo commented Sep 22, 2016

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

@KrasnayaPloshchad
Copy link
Author

What about Montenegrin?

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

@KrasnayaPloshchad KrasnayaPloshchad changed the title Localized form for Cyrillic should be improved Localized form for Cyrillic should be expanded Jan 5, 2017
@landswellsong
Copy link

@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
Copy link
Author

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

See #17

@khaledhosny khaledhosny added pr-welcome A PR contributing towards this issue would be welcome. and removed pr-welcome A PR contributing towards this issue would be welcome. labels Mar 30, 2018
@KrasnayaPloshchad
Copy link
Author

CC @StefanPeev

@StefanPeev
Copy link
Contributor

StefanPeev commented Apr 11, 2018

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
Copy link

skef commented Mar 5, 2019

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
Copy link
Contributor

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

@alerque
Copy link
Owner

alerque commented Oct 15, 2020

See also new issue #394.

@alerque alerque removed the duplicate label Oct 15, 2020
@alerque alerque reopened this Oct 15, 2020
@alerque alerque added the pr-welcome A PR contributing towards this issue would be welcome. label Oct 15, 2020
@alerque
Copy link
Owner

alerque commented Oct 15, 2020

@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
Copy link
Contributor

Crissov commented Oct 27, 2020

I think Bulgarian alternates are still missing. #122

@StefanPeev
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement pr-welcome A PR contributing towards this issue would be welcome. script cyrillic
Projects
None yet
Development

No branches or pull requests

8 participants