GNUstep - Patches: patch #3865, Cache flipped font in NSFont
You are not allowed to post comments on this tracker with your current authentication level.
patch #3865: Cache flipped font in NSFont
Submitter: | Adrian Robert <arobert> | ||
Submitted: | Sun 27 Mar 2005 09:09:27 PM UTC | ||
Category: | AppKit | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | arobert | Open/Closed: | Closed |
Fri 06 May 2005 03:28:12 PM UTC, comment #2: |
Adam Fedor <fedor> |
Mon 25 Apr 2005 10:33:49 PM UTC, comment #1: I think this is reasonable. You can probably add it now. |
Adam Fedor <fedor> |
Sun 27 Mar 2005 09:09:27 PM UTC, original submission:
NSFont -set calls -_flippedViewFont if the drawing context is flipped. A new font is created and put into the font cache, but never retained. This causes it to be repeatedly deallocated and reallocated for drawing. This patch repairs this by caching the flipped version in a similar manner to the screen font.
|
Adrian Robert <arobert> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-05-06 | fedor | Status | None | Done | |
Assigned to | None | arobert | |||
Open/Closed | Open | Closed | |||
2005-03-27 | arobert | Attached File | - | Added flippedFontCache.patch, #4402 |
Powered by Savane 3.13-758e.
Corresponding source code
It appears Adrian added this....
2005-04-30 Adrian Robert <arobert@cogsci.ucsd.edu>
* Headers/AppKit/NSFont.h: Add 'cachedFlippedFont' ivar.
* Source/NSFont.m: Cache font for drawing in flipped views in
manner analogous to font for screen drawing.