Closed Bug 35778 Opened 25 years ago Closed 25 years ago

Linux GTK never unloads fonts

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 5547

People

(Reporter: tenthumbs, Assigned: kmcclusk)

Details

I cannot find any reference to ::XUnloadFont or ::XFreeFont anywhere. (OK, there is an XUnloadFont int the Motif stuff, but that doesnt' count here.) It appears that Mozilla never releases any X font resource. I've tried using xmon to monitor font requests and I see only one CloseFont request and that may be coming from my window manager. People complained about 4.x not releasing fonts but even it released them at shutdown; not Mozilla. I can't see this being a good thing because X resources are finite.
Why is this assigned to layout? We have nothing to do with platform specific font issues...
Assignee: troy → kmcclusk
Because layout seems to be mucking around in gfx/src/gtk with font stuff and because layout seems to the people who request a font in the first place. I thought that if you request a resource you should free it when you're through with it. Does anyone other than layout know that about a font? However, many people feel my thought processes are deranged so feel free to assign it to any place you want.
*** This bug has been marked as a duplicate of 5547 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking verified dup of 5547.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.