W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [css-ui] text-overflow and text-orientation: upright

From: John Daggett <jdaggett@mozilla.com>
Date: Mon, 20 Apr 2015 15:13:04 +0900
Message-ID: <CALYZoVMVopo+KSVog=B7veGjVBXWswp+fBU1xNhkPG50AE0-ng@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
Xidorn Quan wrote:

> The spec says that U+2026 should be used for rendering ellipsis,
> however, it seems to be a bit unfortunate when it is used with vertical
> text and text-orientation is upright.
>
> It causes something like
>
> a
> b
> c
> …
>
> instead of
>
> a
> b
> c
> ⋮
>
> Not sure what's the best way to resolve this issue. Probably the spec
> could state that, U+FE19 should be used in that specific case.

The solution is to use a font that supports vertical text:

  p { font-family: Hiragino Kaku Gothic ProN, Meiryo; }

This will do want you want for this case because the 'vert' feature is
always applied to upright vertical textruns. Making this work for fonts
lacking support for vertical layout (vertical metrics, vertical
substitutions) is out of scope for user agents I think.

John Daggett
Mozilla Japan
​
Received on Monday, 20 April 2015 06:13:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC