[Pkg-gmagick-im-team] Bug#573983: Yet again some more information...

Vincent Fourmond fourmond at debian.org
Mon Mar 15 21:27:40 UTC 2010


  Hi again,

  I think I have a better idea of what is happening: if I use one of the
fonts listed by

~ convert -list font

  I get no error, and the output looks fine. Looking closer, I find that
there are several fonts missing from the newer version of imagemagick,
namely, the postscript fonts:

 diff im-fontlist.old im-fontlist.new
1,8d0
<   Font: AvantGarde-Book
<   Font: AvantGarde-BookOblique
<   Font: AvantGarde-Demi
<   Font: AvantGarde-DemiOblique
<   Font: Bookman-Demi
<   Font: Bookman-DemiItalic
<   Font: Bookman-Light
<   Font: Bookman-LightItalic
53,56d44
<   Font: Courier
<   Font: Courier-Bold
<   Font: Courier-BoldOblique
<   Font: Courier-Oblique
64,72d51
<   Font: fixed
<   Font: Helvetica
<   Font: Helvetica-Bold
<   Font: Helvetica-BoldOblique
<   Font: Helvetica-Narrow
<   Font: Helvetica-Narrow-Bold
<   Font: Helvetica-Narrow-BoldOblique
<   Font: Helvetica-Narrow-Oblique
<   Font: Helvetica-Oblique
177,180d155
<   Font: NewCenturySchlbk-Bold
<   Font: NewCenturySchlbk-BoldItalic
<   Font: NewCenturySchlbk-Italic
<   Font: NewCenturySchlbk-Roman
197,200d171
<   Font: Palatino-Bold
<   Font: Palatino-BoldItalic
<   Font: Palatino-Italic
<   Font: Palatino-Roman
202,206d172
<   Font: Symbol
<   Font: Times-Bold
<   Font: Times-BoldItalic
<   Font: Times-Italic
<   Font: Times-Roman

  I think I've understood the problem: when a font isn't found,
imagemagick falls back onto using helvetica (line 1032 of
magick/annotate.c). On the older imagemagick, as the postscript fonts
were automatically included with

<typemap>
  @type_include_files@
</typemap>

there was no problems. On the newer version, Helvetica is missing, so it
isn't found at all. That's pretty bad for the default font !

  I don't know who's to blame: how comes helvetica doesn't show up in
fontconfig ? gs-fonts are installed, which is where it should be coming,
shouldn't it ?

  At least I feel we are progressing...

  Cheers,

	Vincent

-- 
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/

The Librarian was, of course, very much in favour of reading in
general, but readers in particular got on his nerves.
 -- Terry Pratchet, Men at arms

Vincent, listening to The Whores Hustle And The Hustlers Whore (PJ Harvey)





More information about the Pkg-gmagick-im-team mailing list