CSS font-language-override Property

Description

The font-language-override property specifies that authors can control the use of language-specific glyph substitutions and positioning by setting the content language of an element

Initial value
normal
Applies to
All elements
Inherited
Yes
Media
Visual
Computed value
As specified
Animatable
No
CSS Version
CSS3
JavaScript syntax
object.style.fontLanguageOverride

Syntax

font-language-override: normal | <string>

Values

  • normalSpecifies that when rendering with OpenType fonts, the content language of the element is used to infer the OpenType language system.
  • <string>Single three-letter case-sensitive OpenType language system tag, specifies the OpenType language system to be used instead of the language system implied by the language of the element.

Example

.class {
   font-language-override: "SRB";
}
/* Serbian OpenType language tag */

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
XXX34XX
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
XX34XXX

Last updated by CSSPortal on: