#6349 NORM Never A: Add metrics functions to PangoFont class

Zarro Boogs per Child bugtracker at laptop.org
Tue Feb 5 15:12:54 EST 2008


#6349: Add metrics functions to PangoFont class
-------------------------+--------------------------------------------------
 Reporter:  mcfletch     |       Owner:  mcfletch          
     Type:  enhancement  |      Status:  new               
 Priority:  normal       |   Milestone:  Never Assigned    
Component:  olpc-games   |     Version:  Git as of bug date
 Keywords:               |    Verified:  0                 
 Blocking:               |   Blockedby:                    
-------------------------+--------------------------------------------------
 Pango has rich metrics available.  Pygame's Font class provides basic
 metrics.  We should be using Pango's functionality to provide the basic
 metric introspection for PangoFont, particularly:

 ##    def get_linesize( self ):
 ##    def get_height( self ):
 ##    def get_ascent( self ):
 ##    def get_descent( self ):

 should all be implemented.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6349>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list