Closed Bug 108280 Opened 23 years ago Closed 23 years ago

OS/2 support for bug 99010

Categories

(Core :: Layout, defect)

x86
OS/2
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jhpedemonte, Assigned: mkaply)

References

Details

(Keywords: fonts)

Attachments

(3 files, 2 obsolete files)

Take changes from font bug 99010. Approximate win32 code.
Attached patch patch (obsolete) — Splinter Review
This patch contains all the necessary changes to gfx/src/os2. Also, I decided to take the win32 path in nsIRenderingContext.h and nsTextFrame.cpp
Attached patch updated patch (obsolete) — Splinter Review
Attachment #56339 - Attachment is obsolete: true
Reassigning to mkaply
Assignee: attinasi → mkaply
In the latest patch, implemented gLoadedFonts (rather than keeping around a global font list of all the installed fonts), and cleanup up code.
Attached patch better patchSplinter Review
Cannot use array of loaded fonts, since there is no reliable way to query all font metrics belonging to given familyname (rather than facename). Therefore, had to go back to using global font list. Instead of keeping all FONTMETRICS around for every facename, created a minifontmetrics stucture that just holds the info I need in order to cut back memory footprint. Also took FontCleanupObserver from nsFontMetricsWin, so globals are only freed on shutdown.
Attachment #56792 - Attachment is obsolete: true
Keywords: fonts, patch
In preferences/fonts, warpzilla had listed up several typrface for MINCHO font as follows: "MINCHO" "MINCHO Proportional" "MINCHO System" "MINCHO Terminal".... however, warpzilla 2001113011 and later builds (and 0.9.6) have listed only "MINCHO". No other MINCHOs with substyle like as "MINCHO Proportional" are available. Same things happen on GOTHIC. Is this an influence of the last patch?
This patch should fix some issues with test wrapping. I forgot to check the return value in ResolveForwards/Backwards, to see whether we should continue parsing the string. I also took some changes that were added to the windows version of the files.
Fix checked in. I'll close this bug when the MINCHO fix gets checked in.
*** Bug 120532 has been marked as a duplicate of this bug. ***
Attached patch mincho fixSplinter Review
This fixes the Mincho problem reported earlier. We can close this bug as soon as this is checked in.
Mincho fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Warpzilla 2002020408 lists up all Mincho/Gothic fonts properly in preferences/fonts/typeface. Many thanks,
Verified - new font stuff is in and customer verified JP fix.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: