2026.10/19

Web Font Design Technique 06: “Automatically Add Spacing Between Japanese and Latin”

In typesetting, there is a term called “spacing.” Here, it refers to the “amount of the space between characters” at the time of arranging characters.

Although this was a relatively unknown concept on the web, the formulation and implementation of properties related to spacing have been ongoing in recent years, and it is now becoming possible to reproduce the handling of spacing traditionally used in Japanese typesetting through CSS.

One such treatment is adding a small amount of spacing at the boundaries where Latin and numbers are mixed with Japanese to make the text easier to read. This is a standard treatment in typesetting, but on the web, it required handling, such as manually adding half-width spaces into the manuscript.

By using the CSS text-autospace property, you can let the browser handle this.

.heading { text-autospace: normal; }

In typesetting conventions, the spacing can range from 1/4 to about 1/8, but the specification adopts a more conservative 1/8.

This applies to the boundaries between hiragana, katakana or kanji and Latin characters and numbers. No spacing is added at boundaries with full-width alphanumeric characters.

It must be noted that although the initial value specified by the specification is normal, as of August 2026, all browsers supporting this feature use no-autospace (no spacing) as the initial value to preserve the previous display. Specify it explicitly as indicated above when using it.

By the way, I recently applied this setting to the staff blog too, but I still cannot break the habit of adding half-width spaces in my writing. Although I have avoided entering spaces between Japanese and Latin in this article, I may still find myself doing so out of habit in future articles.

Reference:

(LN)

Category