#7244 NORM Never A: hard-coded font indexes can result in tiny glyphs

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 10 03:15:20 EDT 2008


#7244: hard-coded font indexes can result in tiny glyphs
--------------------------+-------------------------------------------------
 Reporter:  subbu         |       Owner:                
     Type:  defect        |      Status:  new           
 Priority:  normal        |   Milestone:  Never Assigned
Component:  not assigned  |     Version:  Update.1      
 Keywords:                |    Verified:  0             
 Blocking:                |   Blockedby:                
--------------------------+-------------------------------------------------
 I noticed hard-coded numbers used as arguments for fontAt: and at: sends
 to text styles in many places. This can lead to tiny fonts in the case of
 BitstreamVeraSans. Its first font is 5-point (see ticket#7233). These
 sends should be changed to fontOfSize: or use defaultFontIndex on the
 style (as in TextMorph>>defaultLineHeight) as applicable.

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


More information about the Bugs mailing list