[css-writing-modes-3] Error in Example 17 (<date>2010年2月23日</date>), §9.1.3.1 Full-width Characters

# Gérard Talbot (a year ago)

Elika, Koji,

I think there is an error in

www.w3.org/TR/2015/CR-css-writing-modes-3-20151215/#text-combine-fullwidth

which is not easily noticeable and specifically regarding the way the "23" should be displayed.

Please load

www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/Example17.xht

into a recent version of Firefox (say, 49.0a1 buildID=20160528030208) or Chrome (say, version 52.0.2743.10).

The spec uses the right-most column when it should use the middle column.

Example 17 could also use a bigger font-size so that this would help understanding of the example.

Gérard

Contact us to advertise here
# fantasai (6 days ago)

On 05/28/2016 07:07 PM, Gérard Talbot wrote:

Elika, Koji,

I think there is an error in

www.w3.org/TR/2015/CR-css-writing-modes-3-20151215/#text-combine-fullwidth

which is not easily noticeable and specifically regarding the way the "23" should be displayed.

Please load

www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/Example17.xht

into a recent version of Firefox (say, 49.0a1 buildID=20160528030208) or Chrome (say, version 52.0.2743.10).

The spec uses the right-most column when it should use the middle column.

Example 17 could also use a bigger font-size so that this would help understanding of the example.

The spec uses the correct codepoints in the example, it's just that the font does not make this very obvious. I've changed the spec to specify MS Gothic, which will make it more obvious for those systems that have it installed. I'm not familiar enough with other CJK fonts to know if there are other appropriate options that are commonly installed on Linux/Mac/Windows systems.

~fantasai

# Gérard Talbot (5 days ago)

Le 2017-09-08 18:49, fantasai a écrit :

On 05/28/2016 07:07 PM, Gérard Talbot wrote:

Elika, Koji,

I think there is an error in

www.w3.org/TR/2015/CR-css-writing-modes-3-20151215/#text-combine-fullwidth

which is not easily noticeable and specifically regarding the way the "23" should be displayed.

Please load

www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/Example17.xht

into a recent version of Firefox (say, 49.0a1 buildID=20160528030208) or Chrome (say, version 52.0.2743.10).

The spec uses the right-most column when it should use the middle column.

Example 17 could also use a bigger font-size so that this would help understanding of the example.

The spec uses the correct codepoints in the example, it's just that the font does not make this very obvious. I've changed the spec to specify MS Gothic, which will make it more obvious for those systems that have it installed. I'm not familiar enough with other CJK fonts to know if there are other appropriate options that are commonly installed on Linux/Mac/Windows systems.

~fantasai

Then I suggest to add TakaoPGothic for Linux system.

On Ubuntu 16.04 and higher, the font TakaoPGothic is used to display the "23" in the test; the font TakaoPGothic packages.ubuntu.com/xenial/fonts-takao-pgothic comes from the installed by default (component is "main", not "universe") from the package packages.ubuntu.com/source/xenial/fonts-takao

On Mac OS X, I suggest "Hiragino Kaku Gothic ProN" . bugzilla.mozilla.org/show_bug.cgi?id=1383584#c6

Default CJK font under Ubuntu and Mac OS X for Firefox: bug1383584.bmoattachments.org/attachment.cgi?id=8889237, bug1383584.bmoattachments.org/attachment.cgi?id=8891275

The font-family declaration would be:

pre { (...) font-family: "TakaoPGothic", "Hiragino Kaku Gothic ProN", "MS Gothic", serif; }

which should be perfect for Firefox on Linux/Mac/Windows systems and presumably also for Chrome. Regarding Edge 15+, I have no idea.


When I look at example 17 in

www.w3.org/TR/2015/CR-css-writing-modes-3-20151215/#text-combine-fullwidth

and if I text-select/highlight the

2 0 1 0 年 2 月 23 日

run of text, I expect the "23" to be as wide as the "月" and other glyphs but it is not.

Gérard

# fantasai (a day ago)

On 09/10/2017 12:09 PM, Gérard Talbot wrote:

Le 2017-09-08 18:49, fantasai a écrit :

On 05/28/2016 07:07 PM, Gérard Talbot wrote:

Elika, Koji,

I think there is an error in

www.w3.org/TR/2015/CR-css-writing-modes-3-20151215/#text-combine-fullwidth

which is not easily noticeable and specifically regarding the way the "23" should be displayed.

The spec uses the correct codepoints in the example, it's just that the font does not make this very obvious. I've changed the spec to specify MS Gothic, which will make it more obvious for those systems that have it installed. I'm not familiar enough with other CJK fonts to know if there are other appropriate options that are commonly installed on Linux/Mac/Windows systems.

Then I suggest to add TakaoPGothic for Linux system.

Actually, a monospace CJK font works better for this example, so probably TakaoGothic is better.

On Mac OS X, I suggest "Hiragino Kaku Gothic ProN" . bugzilla.mozilla.org/show_bug.cgi?id=1383584#c6

I'm not sure whether Hiragino has appropriately different fullwidth vs halfwidth number glyphs. A font that uses the same glyph for halfwidth and fullwidth numbers will create confusion here.

~fantasai

Want more features?

Request early access to our private beta of readable email premium.