Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 1.61 KB

File metadata and controls

39 lines (25 loc) · 1.61 KB

rtl-reader-view

Screenshot

Vertical reading mode for Firefox. Activate Firefox's reader view and then use this to convert it to top-down, right-to-left.

This is mainly a proof of concept. Not all vertical text CSS rules are supported by Firefox yet: see the draft specification and Styling vertical Chinese, Japanese, Korean and Mongolian text for details.

Usage

See the project page.

Notes

Supported features

  • Reader view controls
  • Toggle button in reader view
  • Scroll direction (wheel, home keys)
  • Defaults to ja fonts, overridden by lang=zh
  • Vertical punctuation
  • text-emphasis on <emp> tags 圏点, 着重号
  • Simulated upright 縦中横 (tate chu yoko) for digits: text-combine-upright: digits 4; (native not supported in Firefox)

Unsupported

  • Upright list markers
  • Underlines on the left: text-underline-position: left;
  • Hanging punctuation: hanging-punctuation: end;

Other notes

  • Times override for Georgia old-style numerals using @font-face and unicode-range
  • Full-width commas in Chinese text are still curly instead of being ideographic commas

Building index.html

make page
watch -n 0.5 make page