language tags, HTML lang attributes and locl features

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
- 43 Introductions
- 3.7K Typeface Design
- 811 Font Technology
- 1.1K Technique and Theory
- 628 Type Business
- 449 Type Design Critiques
- 547 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 493 Typography
- 307 History of Typography
- 115 Education
- 71 Resources
- 505 Announcements
- 81 Events
- 106 Job Postings
- 151 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports