[webkit-dev] drawing LF/CR/etc.

Darin Adler darin at apple.com
Tue Jun 13 11:54:45 PDT 2006


On Jun 13, 2006, at 11:40 AM, Maciej Stachowiak wrote:

>> Here's the rule, taken from the code in GlyphMap.cpp (now cross- 
>> platform on TOT, formerly Macintosh-specific code) that implements  
>> the rule for the fast code path:
>>
>>     Control characters (U+0000 - U+0020, U+007F - U+00A0) must not  
>> render at all.
>>     \n (U+000A), \t (U+0009), and non-breaking space (U+0020) must  
>> render as a space.
>
> That sounds wrong for tabs...

It's possible that tabs don't make it down to the text rendering  
machinery given the code in higher levels, so it's probably  
irrelevant what is done for tabs. We'd have to test to be sure.

     -- Darin




More information about the webkit-dev mailing list