Bug 13612 - Provide additional comments for the font and glyph systems
Summary: Provide additional comments for the font and glyph systems
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P4 Minor
Assignee: Brett Wilson (Google)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 09:59 PDT by Brett Wilson (Google)
Modified: 2007-05-07 18:26 PDT (History)
0 users

See Also:


Attachments
Add comments for glyph files. (10.10 KB, patch)
2007-05-07 17:09 PDT, Brett Wilson (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Wilson (Google) 2007-05-07 09:59:29 PDT
I spent some time trying to figure out the font fallback, caching, and glyph systems. It is complex and not well-documented. We should provide some better comments explaining what is going on.
Comment 1 Brett Wilson (Google) 2007-05-07 17:09:08 PDT
Created attachment 14405 [details]
Add comments for glyph files.

This adds more comments to the glyph system. I also added one assertion.
Comment 2 Dave Hyatt 2007-05-07 17:19:30 PDT
I'll handle this.
Comment 3 Dave Hyatt 2007-05-07 17:21:17 PDT
Comment on attachment 14405 [details]
Add comments for glyph files.

The comments conflict with the changes in bug 3315 (which moves the roots among other things).
Comment 4 Dave Hyatt 2007-05-07 17:33:13 PDT
Comment on attachment 14405 [details]
Add comments for glyph files.

Clearing the review bit. I'm going to tweak these comments a bit in order to keep them consistent with 3315.
Comment 5 Brett Wilson (Google) 2007-05-07 18:08:37 PDT
Thanks Dave!
Comment 6 Dave Hyatt 2007-05-07 18:20:00 PDT
Ok, landed.  Thanks for taking the time to write these comments.  They helped me spot a bug in my changes in 3315. :)
Comment 7 Dave Hyatt 2007-05-07 18:26:00 PDT
Going to have to make GlyphPages refcounted.