[Python] gdmodule true type font size

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Sep 15 10:05:15 EDT 2003


>>>>> "Chris" == Chris Gonnerman <chris.gonnerman at newcenturycomputers.net> writes:

    Chris> No.  The underlying GD library assumes 1 point is exactly 1
    Chris> pixel.  Font metrics are pretty fuzzy, so your mileage may
    Chris> vary slightly especially with script fonts.

That helps thanks ...

    Chris> You've got me here.  Perhaps if I knew what you were trying
    Chris> to accomplish at a bit higher level, I might be able to
    Chris> make a suggestion.

That's OK, I think I have this figured out.  The one point/one pixel
info was enough to speed me on my way.

JDH






More information about the Python-list mailing list