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
- 46 Introductions
- 3.9K Typeface Design
- 488 Type Design Critiques
- 571 Type Design Software
- 1.1K Type Design Technique & Theory
- 657 Type Business
- 869 Font Technology
- 29 Punchcutting
- 527 Typography
- 121 Type Education
- 326 Type History
- 80 Type Resources
- 111 Lettering and Calligraphy
- 32 Lettering Critiques
- 79 Lettering Technique & Theory
- 560 Announcements
- 95 Events
- 116 Job Postings
- 169 Type Releases
- 179 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 114 Suggestions and Bug Reports
