Menu

#22 Pilfonts problems: Image file formats and metrics.dat

open
None
5
2005-09-25
2001-01-18
No

The fonts in the pilfonts directory called "*.pbm" are actually PNG images files (look at the magic number at the top of the file). Since PIL does not automatically load the PNG file wrapper, this can be pretty confusing. If the files were renamed from .pbm to .png, it would be better.

Also, metrics.dat should have the -kb flag set in the CVS repository. Right now it is set to check out in ASCII mode by default and thus gets corrupted on PC's.

Discussion

  • Christopher Lee-Messer

    • assigned_to: nobody --> clee
     
  • michal wallace

    michal wallace - 2005-09-25
    • assigned_to: clee --> sabren
     
  • michal wallace

    michal wallace - 2005-09-25

    Logged In: YES
    user_id=1971

    Next action: Image file formats
    verify that pilfonts/*.pmb really are still png files.
    if so, see what's involved in renaming them.

    Next action: metrics.dat
    just set the flag correctly. no biggie.

     

Log in to post a comment.