patchGNUstep - Patches: patch #3865, Cache flipped font in NSFont

Group
 
 

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: 

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.

Adam Fedor <fedor>
Group administrator
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>
Group administrator
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.

This means the flipped font must be released on deallocate, which requires a new instance variable in NSFont.h, therefore this patch must wait until next binary incompatible release.

Adrian Robert <arobert>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8626:  flippedFontCache.patch added by arobert (2KiB - application/octet-stream - Patch against gui CVS as of 2005/03/26)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 StatusNone Done
    Assigned toNone arobert
    Open/ClosedOpen Closed
2005-03-27 arobert Attached File- Added flippedFontCache.patch, #4402

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code