- From: Gérard Talbot <www-style@gtalbot.org>
- Date: Sun, 10 Sep 2017 12:09:14 -0400
- To: Elika Etemad <fantasai.lists@inkedblade.net>
- Cc: W3C www-style mailing list <www-style@w3.org>
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
>>
>> https://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
>>
>> http://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
https://packages.ubuntu.com/xenial/fonts-takao-pgothic
comes from the installed by default (component is "main", not
"universe") from the package
https://packages.ubuntu.com/source/xenial/fonts-takao
On Mac OS X, I suggest "Hiragino Kaku Gothic ProN" .
https://bugzilla.mozilla.org/show_bug.cgi?id=1383584#c6
Default CJK font under Ubuntu and Mac OS X for Firefox:
https://bug1383584.bmoattachments.org/attachment.cgi?id=8889237
https://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
https://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
Received on Sunday, 10 September 2017 16:09:39 UTC