MarginaGet Margina
Articles

Published

Reading Chinese and Japanese Books on a Phone: Vertical Text Explained

Open a Japanese or Chinese EPUB and the text may run down the page in columns from right to left. Here is what sets that layout and what differs between readers.

Why your Japanese or Chinese EPUB runs down the page

You open a Japanese novel and the text stands in columns. The first column sits at the right edge, and the next one follows to its left. Nothing is broken. Many Chinese and Japanese books are laid out this way, and an EPUB can carry that layout with it. If you plan to read in these languages over the Lunar New Year break, it helps to know what you're looking at before you blame the app.

Here is a short guide to vertical text in EPUBs: what sets it, what it changes on a phone, and what to check before you settle into a book.

What vertical text is, in one answer

Vertical text in an EPUB comes from one CSS property, writing-mode. For Chinese, Japanese and Korean, the value is vertical-rl. The W3C describes it as lines running top to bottom, with columns progressing right to left, so the first line starts at the right side of the page. Mongolian uses vertical-lr, where columns progress left to right.

The browser engines inside phone reading apps already know how to do this. The W3C notes that for most characters the engine does what you would expect, one character at a time. A book that sets vertical-rl in its stylesheet will stand its text upright in columns without any help from you.

So the layout isn't a reader setting. It's a property of the file.

Why it matters when you read on a phone

Because the direction lives inside the book, the reader has to respect it, and readers differ in how.

Apple's guidance for Apple Books says the app supports both vertical and horizontal text through the CSS writing modes in the EPUB 3 standard. It also says writing-mode should be set on the html or body element, and that each content document can carry only one writing-mode value. A book that mixes horizontal and vertical text has to split them into separate documents.

Page turning is where readers diverge most. Many paginate with CSS columns, and that technique runs into trouble here. A maintainer of the Readium toolkit explained in a public discussion that vertical text with horizontal paginated mode isn't possible with that approach, because web views lay the columns out vertically. Another maintainer noted that the Thorium reader turns off column pagination for vertical writing and scrolls the viewport horizontally instead, a configuration they tested for right-to-left vertical Japanese. In practice, the same book can be paged in one app and scrolling in another.

Where you'll see it

You'll meet it most often in Japanese novels and in Chinese-language editions of classics. If you collect public-domain texts, some of the free Chinese classics you find may be laid out vertically and some horizontally, depending on who made the file. Get the file onto your phone first, for example by following how to import an EPUB from the Files app, and then look at how it opens.

Two details tend to catch readers out.

Numbers and Latin letters. Inside a vertical column, a short number can be set sideways or stacked, one digit per line. Publishers fix this with tate-chu-yoko, a horizontal run inside a vertical line, using text-combine-upright: all. The W3C reports that this value works in all three major browser engines, while the digits value does not work in any of them. It also warns that more than three characters side by side is likely hard to read.

Fonts. Apple recommends Hiragino Kaku ProN and Hiragino Mincho ProN for Japanese text on iOS and macOS, since both come pre-installed. Other Japanese fonts must first be downloaded from the Font menu in Apple Books.

How Margina handles it

Margina is a local-first reader for the files you send yourself: EPUBs, PDFs and other documents, opened from Files without an account. We have no published test results for vertical Japanese or Chinese layout, so we won't claim one here. The honest advice works in any reader: open a sample chapter first.

A short checklist:

  • Do the columns start at the right edge?
  • Does a page turn move you in the direction the book expects?
  • Are numbers readable, or stacked and sideways?
  • Does the text size setting change the layout the way you want?

If a book passes, read on. If not, try another copy from one of the other EPUB sources before you assume the book is at fault. You can get Margina on the App Store or on Google Play.

Conclusion

Vertical text is a choice made inside the book file, carried by one CSS property and read differently by each app. Check a sample before you commit to a long novel, and expect some variety in how pages turn.

Frequently Asked Questions

Why does my Japanese EPUB open with the first page on the right?

Vertical Japanese and Chinese text runs in columns from right to left, so the book is built to be turned the way a printed one is. That is a property of the file, set with CSS writing-mode: vertical-rl.

Can I switch a vertical EPUB to horizontal text?

Only if your reader offers that option. The direction is set inside the book's own stylesheet, and a reader may or may not let you override it. Apple's guide notes that each content document carries a single writing-mode value.

Why are the numbers sideways or stacked in my vertical book?

Digits follow a separate rule. Short runs can be set upright inside a column using text-combine-upright (tate-chu-yoko). The W3C notes the digits value is not supported by current browser engines, so publishers wrap numbers by hand.

Do all readers page vertical text the same way?

No. A Readium maintainer explains that CSS-column pagination does not work with vertical text in web views, and Thorium scrolls horizontally instead. Behavior differs by reader.