简体   繁体   中英

Do East Asian (e.g. Chinese) characters have baselines? How do they align with English in CSS?

I am asking this because I want to know how East Asian Characters (eg Chinese) align with English ones in CSS.

This is what Wikipedia.org says:

East Asian scripts have no baseline; each glyph sits in a square box, with neither ascenders nor descenders. When mixed with scripts with a low baseline, East Asian characters should be set so that the bottom of the character is between the baseline and the descender height.

Source link: Baseline (typography)

Is that true?

If East Asian characters do not have baselines, how do they align with English in CSS, which has the baseline?

Chinese and other Asian characters indeed do not have a baseline. They're fitted into square boxes instead which form a grid on the page.

格线

维基

You see that the characters form exact columns in a precise grid, each character taking exactly as much width and height as every other character. As Wikipedia is also correctly saying, aligning this with Latin script should be done by aligning the bottom of the square between the baseline and the descender, which my browser at least does:

对准

They can be aligned using CSS3.

The CSS3 modules currently in development will introduce a large number of properties designed to support non-Latin text, from vertical script support to kashida justification, from ruby positioning to list numbering. This article will give you a glimpse of some of the properties that lie in store, and discuss how you can help to make these improvements a reality.

Kindly refer to link for more details. Hope this can be helpful!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM