Closed
Bug 226340
Opened 21 years ago
Closed 21 years ago
Implement mLoadedFonts on OS/2
Categories
(Core Graveyard :: GFX: OS/2, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhpedemonte, Assigned: mkaply)
Details
Attachments
(2 files)
110.57 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
91.75 KB,
patch
|
Details | Diff | Splinter Review |
We should implement the use of the mLoadedFonts array as used in Win32 (and
other platforms). Use of this array to hold selected fonts should give us
performance boost and make the code look cleaner.
Reporter | ||
Comment 1•21 years ago
|
||
This patch does several things:
1) Implements mLoadedFonts array. This makes the code look cleaner, and should
increase performance, since we are doing less creation and destruction of
nsFontOS2 objects.
2) Update to the unicode handling, particularly in ResolveForwards/Backwards.
Makes use of mLoadedFonts array, but also persists the font objects through the
loop.
3) Added some debugging code, to track font selection, and nsFontOS2 creation
and destruction.
4) White space cleanup in several areas.
Reporter | ||
Comment 2•21 years ago
|
||
Same patch, but ignoring white space changes
Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 135997 [details] [diff] [review]
patch (cvs diff -u)
r=mkaply
Nice work
Attachment #135997 -
Flags: review+
Assignee | ||
Comment 4•21 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•