Changeset 1593

Show
Ignore:
Timestamp:
07/06/07 16:52:54 (1 year ago)
Author:
wrobe..@pld-linux.org
Message:

- allow to specify font with float size value

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphas/trunk/gaphas/util.py

    r1249 r1593  
    9292                        'bold' in font and cairo.FONT_WEIGHT_BOLD \ 
    9393                                        or cairo.FONT_WEIGHT_NORMAL) 
    94     cr.set_font_size(int(font[-1])) 
     94    cr.set_font_size(float(font[-1])) 
    9595 
    9696