A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/properties/font-language-override below:

font-language-override · WebPlatform Docs

font-language-override Summary

The ‘font-language-override’ property allows authors to explicitly specify the language system of the font, overriding the language system implied by the content language.

Overview table
Initial value
normal
Applies to
all elements
Inherited
Yes
Media
visual
Computed value
as specified
Animatable
No
CSS Object Model Property
font
Percentages
N/A
Syntax Values
normal
specifies 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
Usage
 OpenType supports language-specific glyph selection and positioning, so that text can be displayed correctly in cases where the language dictates a specific display behavior. Authors can control the use of language-specific glyph substitutions and positioning by setting the content language of an element.

<!-- Display text using S'gaw Karen specific features --> <p lang="ksw">...</p>

Notes

Use of invalid OpenType language system tags must not generate a parse error but must be ignored when doing glyph selection and placement.

See also Related articles CSS Font Fonts Text External resources

Microsoft OpenType Layout Tag Registry


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4