Font-variant-east-asian - CSS Property
Summary of characteristics of the font-variant-east-asian property
normal | ruby | traditional | simplified | jis83 | jis90 | jis78 | jis04 | full-width | proportional-widthnormalNot 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.Syntax diagram of font-variant-east-asian.
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.
text-spacing-trim and text-autospace. Groups character spacing information for CJK languages.Values for font-variant-east-asian.
- 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, andjp90.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, orsimplified. - A value among
full-widthorproportional-width. - Possibly, the
rubyvalue.
Normal:日本語は複雑な言語です。Cumul:日本語は複雑な言語です。font-variant-east-asian:normal;font-variant-east-asian:jis78 full-width ruby; - A value among
- 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.
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).
Simulator.
The effect of the font-variant-east-asian property is subtle and assumes that the font supports these features.
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.
font-variant-east-asian property which handles the substitution of CJK (Chinese, Japanese, Korean) characters.font-variant-east-asianproperty
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 propertiesfont-...allow choosing the final appearance of the characters.
Fonts can be located on the user's computer or downloaded.Regardingfont-variant-east-asian:
Introduced thefont-variant-east-asianproperty in this level of the font specification.July 21, 1997Working Draft.October 03, 2013Candidate Recommendation.August 14, 2018Proposed for recommendation.September 20, 2018Recommendation . -
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.
Regardingfont-variant-east-asian:
No change to thefont-variant-east-asianproperty.July 11, 2017Working Draft. -
CSS Fonts Module Level 5
June 29, 2021Working Draft.
See also about fonts.
The CSS Fonts Module specification covers everything related to fonts, typography, support for non-Latin characters, font downloading, etc.
Properties:






em, ex, etc.








Functions:

At-rules:



Descriptors :

@font-face. Sets the height of the characters above the baseline.

@font-face. Sets the height of the characters below the baseline.

@font-face. Determines how the browser behaves when faced with fonts that take a long time to load.

@font-face. Sets the line spacing of the font.

@font-face. Defines the range of character codes to be downloaded into a font.


