Re: [CSS3]hanging-punctuation-*

(2011/03/29 15:10), fantasai wrote:
> On 03/18/2011 01:26 AM, taka oshiyama wrote:
>> Attached, please find a new testcase for your review.
>>
>> http://test.csswg.org/source/contributors/east-tokyo/submitted/css3-text/ 
>>
>
> Hm, it seems that the Japanese font on my system has characters less
> than 1em wide. Therefore the test isn't working. :/ We might need to
> make the IPA fonts required to ensure that these characters are
> rendered with exactly 1em advance width.
IPA fonts provide totally four fonts - Mincho style and Gothic style and 
fixed width and proportional for each.
Our testcases  ONLY select fixed width Mincho and fixed width Gothic 
(two font types out of four) to ensure full width characters such as 
Kanji/Hiragana to be rendered with exactly 1em advance width and half 
width characters such as Alphabets to be rendered with 0.5em advance width.
Please note the source of the testcase says "font-family: "IPAMincho", 
"IPAGothic", "IPA明朝", "IPAゴシック";", this actually calls two font 
files, both are fixed width.
Please refer to the spec more detail. 
http://ossipedia.ipa.go.jp/ipafont/fontspec.html
>
> Koji has a good point: these tests should include combinations with
> both left and justified alignment, because that is a key distinction
> in the behavior of allow-end and force-end. 
Okay, I will update it with the combinations.
> Ideally there should also
> be right aligned and centered combinations, so that the interpretation
> of these is consistent. (It might make sense to make a separate test
> for each alignment combination, otherwise the tests will get very
> long.)
Okay, I will update it accordingly.
>
> I think Koji's point to include a test where the character fits without
> hanging and another where it doesn't fit without hanging is important.
I will include this idea and will update with it.
>
>
> Lastly, the references for "first" don't work correctly if the UA is
> trimming the starting punctuation to half-width, which seems to be the
> case on my system.
It seems required IPA fonts are not installed, nor activated correctly 
on your browser.
In that case, please follow the next nine steps.
1. visit the site here http://ossipedia.ipa.go.jp/ipafont/index.html
2. Press the "Accept" button at the bottom of the same page.
3.Selectipam00302.zip(5.50 MB) 
<http://ossipedia.ipa.go.jp/ipafont/ipam00302.php>to start downloading
4. Open the ipamxxxx.zip folder
5. You can find ipam.ttf file (with 5,630KB) then doubleclick it.
6. A popup window titled IPAMincho (TrueType) appears with two buttons 
on the above
7. Press the right hand button to install
8. Reboot your browser to make sure the IPAMincho is in effect
9. Try the testcase again!
>
> ~fantasai
>
>
>


-- 


押山 隆 taka oshiyama
oshiyama@est.co.jp (or takaoshiyama@gmail.com)
mobile: 080-4148-7654
イースト株式会社
〒151-0053 渋谷区代々木2-22-8

Received on Tuesday, 29 March 2011 09:18:05 UTC