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
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports