On Tue, Feb 8, 2011 at 3:17 AM, Mart L. <[email protected]> wrote:

> Hi Everybody,
>
> I am trying to create PDF in the Rails application using PDFKit and
> wkhtmltopdf (and Debian). Everything works fine, except generated PDF
> file contains so called CID fonts. To check PDF fonts I used Foxit
> Reader or Acrobat Reader.
> However I have to send generated PDF to legacy system that doesn't
> support such fonts...
> I haven't found a way to force wkhtmltopdf to output PDF with non-CID
> fonts. Does anyone know if it is possible at all?
>

I am not sure, but having wrestled with wkhtmltopdf on other issues, one
question is which version of wkhtmltopdf do you have installed? There is a
version(last time I checked) which is a static binary with a patched QT. For
me I had to install this to get certain rendering to work, and also for it
to work on Ubuntu Server. I am wondering if possibly this might help,
although is more like a shot in the dark. I wrote a post on this which may
help if you do want to install the static binary, as for me it was not
completely straight-forward:
http://blog.structuralartistry.com/post/2327213260/installing-wkhtmltopdf-on-ubuntu-server


>
>
> Any help is much appreciated!
>
> Thanks!
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to