WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116797
Rename FontFallbackList to FontGlyphs
https://bugs.webkit.org/show_bug.cgi?id=116797
Summary
Rename FontFallbackList to FontGlyphs
Antti Koivisto
Reported
2013-05-26 15:48:37 PDT
Maybe it was a fallback list once. Nowadays its purpose is to cache realized glyphs and related data.
Attachments
patch
(21.66 KB, patch)
2013-05-26 16:02 PDT
,
Antti Koivisto
kling
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2013-05-26 16:02:02 PDT
Created
attachment 202931
[details]
patch
Andreas Kling
Comment 2
2013-05-26 16:08:07 PDT
Comment on
attachment 202931
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=202931&action=review
r=me, go go Antti go!
> Source/WebCore/platform/graphics/FontFallbackList.cpp:2 > - * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. > + * Copyright (C) 2006, 2013 Apple Computer, Inc. All rights reserved.
:D
Antti Koivisto
Comment 3
2013-05-26 16:42:49 PDT
http://trac.webkit.org/changeset/150727
mitz
Comment 4
2013-05-26 18:38:25 PDT
(In reply to
comment #0
)
> Maybe it was a fallback list once. Nowadays its purpose is to cache realized glyphs and related data.
I don’t think that’s a good characterization. This object caches realized FontData objects—which are used to key into the glyph cache—but I wouldn’t call them “glyphs and related data”. Even the accessors on this class return FontData instances!
Antti Koivisto
Comment 5
2013-05-27 02:01:40 PDT
(In reply to
comment #4
)
> (In reply to
comment #0
) > > Maybe it was a fallback list once. Nowadays its purpose is to cache realized glyphs and related data. > > I don’t think that’s a good characterization. This object caches realized FontData objects—which are used to key into the glyph cache—but I wouldn’t call them “glyphs and related data”. Even the accessors on this class return FontData instances!
Suggestion welcome! Note that the encapsulation and code moving in
bug 116803
gave FontGlyphs a glyph API, significantly reducing need for direct FontData access. Also the vaguely named (Simple)FontData type is in fact largely about providing glyphs and information about glyphs.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug