Specific language glyphs

font-language-override

Instruct the browser to ignore the document's language and instead use a specified language to trigger the use of alternate glyphs.

Property values

When a document's html tag defines a lang attribute, it is referred to by the browser's font rendering engine to determine which ligatures should be used. For example the ligature for "fi" should be used for English but not for Turkish. Normally the font-rendering engine will make the correct choice. This can be overridden by specifying an OpenType language system value.

Examples

/* Use the German language rules to decide which ligatures to use */            
font-language-override: "DEU";
font-language-override
0

style > glyph > font-language-overrideSpecific language glyphs

🔗 🔎