[reportlab-users] Bug when importing TrueType fonts with names containing blanks
Dinu Gherman
gherman at darwin.in-berlin.de
Thu Nov 29 12:36:12 EST 2007
Rich Shepard:
> TrueType font names have no spaces, e.g.,
> /usr/X11R6/lib/X11/fonts/TrueType/tt0155m_.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/tt0811m_.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/verdanab.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/verdanai.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/verdanaz.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/combull.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/arialbd.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/arialbi.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/lucon.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/tahoma.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/tt0156m_.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/tt0812m_.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/wasy10.ttf
> /usr/X11R6/lib/X11/fonts/TrueType/cour.ttf
>
> Microsoft uses spaces in names, but they're the only ones AFAIK. It's
> always a PITA to try to deal with those broken file and document
> names.
>
> Change the names to remove the spaces and problems go away.
We speak about font names as fields in the binary .ttf files,
not file names.
Dinu
More information about the reportlab-users
mailing list