bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #3865] Cache flipped font in NSFont


From: Adrian Robert
Subject: [patch #3865] Cache flipped font in NSFont
Date: Sun, 27 Mar 2005 16:09:29 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3865>

                 Summary: Cache flipped font in NSFont
                 Project: GNUstep
            Submitted by: arobert
            Submitted on: Sun 03/27/2005 at 16:09
                Category: AppKit
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

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.






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 03/27/2005 at 16:09  Name: flippedFontCache.patch  Size: 2.37KB  
By: arobert
Patch against gui CVS as of 2005/03/26
<http://savannah.gnu.org/patch/download.php?item_id=3865&item_file_id=4402>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3865>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]