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

Eric Mader emader at apple.com
Thu Nov 4 13:00:31 PDT 2010


Argh… sent from the wrong alias again...

Begin forwarded message:

> From: webkit-dev-owner at lists.webkit.org
> Subject: Re: [webkit-dev] Size Of Ruby Text?
> Date: November 4, 2010 9:56:21 AM HST
> To: mader_eric at apple.com
> 
> You must be subscribed in order to post to this mailing list.
> 
> 
> From: Eric Mader <mader_eric at apple.com>
> Subject: Re: [webkit-dev] Size Of Ruby Text?
> Date: November 4, 2010 9:54:42 AM HST
> To: Roland Steiner <rolandsteiner at google.com>
> Cc: Yasuo Kida <kida at apple.com>, WebKit Development <webkit-dev at lists.webkit.org>
> 
> 
> Here's Kida-san's example as displayed with my local ruby changes:
> 
> 
> 
> (hope the image makes it all the way to the list)
> 
> This includes my early line-stacking changes. Notice that the ruby text (in "ruby" red ;-) overlaps the previous line - my code doesn't check to see if the ruby overlaps the pervious line or spills outside of the frame's top bounds.
> 
> The inter-character spacing is better, but not perfect. My overhang code needs to add inter-character spacing to the base text if the ruby text is wider and can't overlap its neighbors.
> 
> What were were discussing below is the space between the base text and the ruby text. The ruby text should be closer to the base text. As you can see above, it's getting laid out as if it were just a previous line.
> 
> Regards,
> Eric
> 
> On Nov 3, 2010, at 9:35 PM, Roland Steiner wrote:
> 
>> FWIW, since Eric is working on ruby overhang, AFAIK, white space should become much less pronounced. I therefore would personally opt for more legible ruby characters (read: 8px or 9px) over whitespace worries.
>> 
>> Cheers,
>> 
>> - Roland
>> 
>> On Thu, Nov 4, 2010 at 8:05 AM, Yasuo Kida <kida at apple.com> wrote:
>> 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 it to 9 px.
>> 
>> It would be more important to keep the 50% ratio until we hit the threshold to avoid too many white spaces between base characters.
>> 
>> - kida
>> [snip]
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101104/1f475da3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 31888 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101104/1f475da3/attachment.tiff>


More information about the webkit-dev mailing list