Font-variant-east-asian - CSS Property

font-variant-east-asian

Summary of characteristics of the font-variant-east-asian property

Quick description
Typography specific to Chinese or Japanese characters.
Status
Standard
Predefined values
normal | ruby | traditional | simplified | jis83 | jis90 | jis78 | jis04 | full-width | proportional-width
Percentages
Not applicable.
Initial value
normal
Inherited by default
Yes.
Not animable: the font-variant-east-asian property cannot be animated.
Per grammar: serialization in the order of syntax. Values can be entered in any order.
W3C Module
CSS Fonts Module
 🡇  
 🡅  
Document status: WD (Working Draft)

Document status: REC (Recommendation)

Syntax diagram of font-variant-east-asian.

Font-variant-east-asian property - Syntax diagramSyntax diagram of the font-variant-east-asian CSS property. Choose a specific typography for Chinese or Japanese characters. normal normal jis78 jis78 jis83 jis83 jis90 jis90 jis04 jis04 simplified simplified traditional traditional full-width full-width proportional-width proportional-width ruby rubyfont-variant-east-asian:;font-variant-east-asian:;
Syntax diagram of the font-variant-east-asian property.
The links in the diagram provide more details about the values.
Download the diagram.

Description of the font-variant-east-asian property.

The font-variant-east-asian property manages the use of alternate glyphs for languages like Chinese, Japanese, or Central Asian languages.

Its operation is highly dependent on the font chosen. Indeed, some fonts don't have all the variants described on this page. For our part, we used the Yu Gothic font created by Osamu Torinoumi. This font is quite large (12 MB): you'll need to wait a bit to see the examples.

Other properties specific to CJK languages.

Typography specific to Chinese or Japanese characters.
Word breaking for CJK languages and a few others.
Defines the space between adjacent characters (usable for CJK languages).
Short hand property for text-spacing-trim and text-autospace. Groups character spacing information for CJK languages.
Sets the spacing around CJK punctuation characters.
Word breaking for CJK languages and a few others.

Values for font-variant-east-asian.

    The differences between values are sometimes subtle. To help visualize them, in the following examples, we repeat the first line each time in normal (without character substitution).

  • font-variant-east-asian: normal;

    No character substitution is requested. This is the default value.

  • font-variant-east-asian: jis04; font-variant-east-asian: jis78; font-variant-east-asian: jis83; font-variant-east-asian: jis90;

    Enable the display of Asian characters according to the specified variant. The shape of Asian characters can indeed vary a bit from one country to another.

    Equivalents to the OpenType codes jp04, jp78, jp83, and jp90.

    Normal:
    中国語、日本語、韓国語。
    JIS04:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:jis04;
    Normal:
    中国語、日本語、韓国語。 唖
    JIS78:
    中国語、日本語、韓国語。 唖
    font-variant-east-asian:normal;
    font-variant-east-asian:jis78;
    Normal:
    中国語、日本語、韓国語。
    JIS83:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:jis83;
    Normal:
    中国語、日本語、韓国語。
    JIS90:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:jis90;
  • font-variant-east-asian: simplified;

    Activate the simplified version of Asian characters. Over time, many characters have had their forms simplified.

    Equivalent to the Open Type code smpl.

    Normal:
    中国語、日本語、韓国語。
    Simplified:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:simplified;
  • font-variant-east-asian: traditional;

    Activate the traditional version of the characters, that is to say their old form, before the simplifications that may have happened over time.

    Equivalent to the Open Type code trad.

    Normal:
    中国語、日本語、韓国語。
    Traditional:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:traditional;
  • font-variant-east-asian: full-width;

    Activates the style of characters that all have the same width, and generally a square shape.

    Equivalent to the Open Type code fwid.

    Normal:
    中国語、日本語、韓国語。
    Full-width:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:full-width;
  • font-variant-east-asian: proportional-width;

    Activate the font where not all characters have the same width.

    Equivalent to the Open Type code pwid.

    Normal:
    中国語、日本語、韓国語。
    Proportional-width:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:proportional-width;
  • font-variant-east-asian: ruby;

    Activate the variant adapted to the ruby layout. In this layout, the characters are generally smaller. To improve readability, they are also slightly bold. Cleaner glyphs may also have been designed to further enhance readability.

    Equivalent to the Open Type code ruby.

    Normal:
    中国語、日本語、韓国語。
    Ruby:
    中国語、日本語、韓国語。
    font-variant-east-asian:normal;
    font-variant-east-asian:ruby;
  • font-variant-east-asian: jip78 proportional-width ruby;

    Some values can be combined. You can choose:

    • A value among jis04, jis78, jis83, jis90, traditional, or simplified.
    • A value among full-width or proportional-width.
    • Possibly, the ruby value.
    Normal:
    日本語は複雑な言語です。
    Cumul:
    日本語は複雑な言語です。
    font-variant-east-asian:normal;
    font-variant-east-asian:jis78 full-width ruby;
  • font-variant-east-asian: initial; (normal) font-variant-east-asian: inherit; font-variant-east-asian: revert; font-variant-east-asian: revert-layer; font-variant-east-asian: revert-rule; font-variant-east-asian: unset;

    Links to the presentation of these different values: initial, inherit, revert, revert-layer, revert-rule, unset.

Simulator.

The effect of the font-variant-east-asian property is subtle and assumes that the font supports these features.

font-variant-east-asian :
CJK(中国語、日本語、韓国語)。

Browsers compatibility with font-variant-east-asian.

No compatibility issues to report regarding the property font-variant-east-asian. But its effect depends on the font being used.

Column 1
Support for the font-variant-east-asian property which handles the substitution of CJK (Chinese, Japanese, Korean) characters.
1
font-variant-east-asian
property
Estimated overall support.
95%

Browsers on computers :

Mobile browsers :

Outdated or marginal browsers :

Internet Explorer

KaiOS Browser

Opéra Mobile

Opéra

Safari

Safari sur IOS

Firefox pour Androïd

Samsung Internet

Chrome

Edge

Firefox

Androïd Brower

Chrome pour Androïd

Baidu Browser

QQ Browser

UC Browser pour Androïd

Opéra mini

Historic of the font-variant-east-asian property.

  • CSS Fonts Module Level 3

    This specification concerns fonts. A font contains the visual representation of characters. In its simplest form, it is just a matter of associating character codes with their shapes.
    Within a typeface family, the shapes are defined but can vary in stroke thickness, slant, width, etc. The CSS properties font-... allow choosing the final appearance of the characters.
    Fonts can be located on the user's computer or downloaded.

    Regarding font-variant-east-asian:
    Introduced the font-variant-east-asian property in this level of the font specification.
    WD
    July 21, 1997
    Working Draft.
    CR
    October 03, 2013
    Candidate Recommendation.
    PR
    August 14, 2018
    Proposed for recommendation.
    REC
    September 20, 2018
    Recommendation .
  • CSS Fonts Module Level 4

    This level 4 of the specification on fonts reprises what is defined in level 3. It adds the possibility to define what happens when a font takes a long time to load or is missing. It also adds support for colored fonts and clarifies many points still poorly defined in level 3.

    Regarding font-variant-east-asian:
    No change to the font-variant-east-asian property.
    WD
    July 11, 2017
    Working Draft.
    CR
    PR
    REC
  • CSS Fonts Module Level 5

    WD
    June 29, 2021
    Working Draft.
    CR
    PR
    REC

See also about fonts.

The CSS Fonts Module specification covers everything related to fonts, typography, support for non-Latin characters, font downloading, etc.

Properties:

font
Langue française
Shorthand to set most properties for fonts.
✗
font-effect
Langue française
Allows you to apply some effects to the text: relief, border...
font-family
Selects a font from those that are available or downloaded.
⚠
font-feature-settings
Langue française
Permet d’exploiter les fonctionnalités spécifiques des polices de caractères OTF, WOFF, etc.
font-kerning
Adjusting the kerning between characters.
⚠
font-language-override
Langue française
Defines the language to be considered when choosing characters.
⚠
font-optical-sizing
Langue française
Optimizes the shape of characters based on their size.
font-palette
Langue française
Defines the color palette that can be used for colored fonts.
font-size
Adjusts the font size, which also impacts units like em, ex, etc.
font-size-adjust
Langue française
Definition of the aspect factor of the font.
✗
font-smooth
Langue française
Defines whether and which smoothing algorithm should be used.
font-stretch
Langue française
Changes the stretching or compression of characters.
font-style
Langue française
Selects the italic or oblique font styles.
font-synthesis
Allows or disallows calculation of missing styles in the typeface.
⚠
font-synthesis-position
Langue française
Whether or not allows the browser to synthesize characters in superscript or subscript.
font-synthesis-small-caps
Langue française
Whether or not allows the browser to calculate the glyphs of characters in small caps.
font-synthesis-style
Langue française
Defines whether the browser is allowed to synthesize italic forms of characters.
font-synthesis-weight
Langue française
Defines whether or not the browser can calculate the bold glyph.
font-variant
Shorthand to define advanced typographic attributes: ligatures, character substitution, etc.
font-variant-alternates
Defines character substitution (OTF, WOFF fonts).
font-variant-caps
Applies character capitalization.
Font-variant-east-asian
Typography specific to Chinese or Japanese characters.
⚠
font-variant-emoji
Choose between an emoji or text presentation.
font-variant-ligatures
Enables or disables character ligation.
font-variant-numeric
Defines how evolved numbers are displayed: fractions, numbers, etc.
⚠
font-variant-position
Superscript or subscript of characters.
font-variation-settings
Provides access to the stylistic possibilities of OTF fonts.
font-weight
Selects a weight for the characters.
font-width
Langue française
Synonymous with font-stretch (character width/enlargement).

Functions:

⚠
palette-mix()
Langue française
Establish the mixture of two color palettes from two different typefaces.

At-rules:

@font-face
Langue française
Defines all settings for a downloadable font.
⚠
@font-feature-values
Langue française
Defines the typographic variations to use.
@font-palette-values
Langue française
Defines a color palette that can then be applied to a font.

Descriptors :

ascent-override
Langue française
Descriptor for @font-face. Sets the height of the characters above the baseline.
descent-override
Langue française
Descriptor for @font-face. Sets the height of the characters below the baseline.
⚠
font-display
Langue française
Descriptor for @font-face. Determines how the browser behaves when faced with fonts that take a long time to load.
line-gap-override
Langue française
Descriptor for @font-face. Sets the line spacing of the font.
src
Langue française
Defines the source of a font file to download, or an image to display.
unicode-range
Langue française
Descriptor for @font-face. Defines the range of character codes to be downloaded into a font.