Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread David Hyatt
WebKit enforces a minimum font size of 9px when no explicit font size is specified. This means that the font for rt cannot fall below 9px if it is relative to the user agent default. It may be that we want to consider modifying this minimum for ruby text and allow it to go below 9px though.

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Eric Mader
On Nov 3, 2010, at 8:56 AM, David Hyatt wrote: WebKit enforces a minimum font size of 9px when no explicit font size is specified. This means that the font for rt cannot fall below 9px if it is relative to the user agent default. It may be that we want to consider modifying this minimum

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread David Hyatt
On Nov 3, 2010, at 2:05 PM, Eric Mader wrote: Of course. The website I was using has the line height set too tight for correct display this way, and I just wanted to try a smaller size to see if it looked better. OTOH, that site loads a style sheet that overrides the ruby text font-size

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Yasuo Kida
In printing the standard is 50% of the base text. For larger point sizes like headings, the size of ruby is often smaller than 50%. http://www.w3.org/TR/2009/NOTE-jlreq-20090604/#en-subheading2_3_3 So, how about we default to 50% and see how they come out. Glyphs designed for ruby are

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread David Hyatt
That document also states: When the size of base characters is very small (for e.g. smaller than seven points), ruby which is half the size, will be even more small and illegible. In such cases where the size of base characters is very small, ruby is not a suitable method of annotation. In

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Ryosuke Niwa
I think 5px is way too small. Maybe 7 or 8 at least but even those are really hard to read in high-resolution displays. See

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread David Hyatt
Yeah, that demo makes me think maybe 9px is fine after all. :) dave On Nov 3, 2010, at 3:56 PM, Ryosuke Niwa wrote: I think 5px is way too small. Maybe 7 or 8 at least but even those are really hard to read in high-resolution displays. See demo. - Ryosuke On Wed, Nov 3, 2010 at 12:47

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Yasuo Kida
Thank you Ryosuke. This is a good demo. 5px is only barely legible and I agree it is too small. 6px is legible but not fun to read. 7px looks reasonable lower bound to me. 12pt text with 96dpi would translates to 16px, 50% ruby would be 8px. 10.5pt which is often used by printed books is 14px,

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Yasuo Kida
Does this work?

Re: [webkit-dev] Size Of Ruby Text?

2010-11-03 Thread Yasuo Kida
Right. It is partly because webkit currently does not use glyphs that are designed for ruby. I would not worry this too much as with 14px many kanjis are only barely legible in anyway without the context. The lower bound for ruby can be 8px for base 16px = 12pt in 96dpi. I am reluctant to raise