language tags, HTML lang attributes and locl features
Options

Kazunari Tsuboi
Posts: 18
I'm working on switching the glyph of Eng (U+014A) with the locl feature.
However, I couldn't find a suitable language system tags for Dagbani.
How can I find the right tag?
The information I referred to is:
I plan to use the font I created as a webfont.
For example, in Luganda, HTML lang is "lg". In this case, the OpenType lanugage system tag can use the locl function by specifying "LUG".
However, in Dagbani, HTML lang is "dag". Since the OpenType language system tag in this case is unknown, the locl function cannot be used.
I would be grateful if you could give me some good information.



0
Comments
-
Look again at https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags: Dagbani has been added.0
-
Thank you so much! I have confirmed that the Dagbani language has been added.I was able to create an OTF with the Dabgani word added as "DAG".The ideal display is displayed on Windows10 Chrome 88.0.4324.150.On the other hand, all browsers on iOS, such as iOS 14.4 Safari, do not allow the locl function in Dagbani.Apple iOS display results are a serious issue for me. I'm Japanese so I sent feedback from here.Looking at the harfbuzz source code, it seems to work if the three-letter HTML lang tag and the OTF language tag are the same.For me, the relationship between OpenType Layout and browsers is very mysterious. However, it was also a good learning opportunity for language system tangs.0
-
It will take at least weeks, maybe even months for all the browsers to catch up and support the new language tag.0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports