> Looks like it's looking for system-wide fonts installed, and of course
> there are no fonts installed on a headless server.  I suggest
> uploading the font file(s) it needs into your app, and then figuring
> out how to point it at your local app directory - something like
> #{RAILS_ROOT}/fonts/myfont.pfb.
>
> Adam


The reported error is from ImageMagick. It uses configuration files to
locate fonts and other resources, for example  /usr/lib/
ImageMagick-6.2.5/config/type-ghostscript.xml.  In fact, the text of
the error message

Magick::ImageMagickError in AdminController#qualify_data_display_input

unable to read font `/usr/share/fonts/type1/gsfonts/n019003l.pfb'


is derived from this line of   type-ghostscript.xml:

  .
  .
stretch="normal" format="type1" metrics="/usr/share/ghostscript/fonts/
n019003l.afm" glyphs="/usr/share/ghostscript/fonts/n019003l.pfb"/>

So how is a heroku user to configure ImageMagick to look at an
appropriate path -- not the default, one accessible to the user?

Thanks,
Milan









--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to