Austin Ziegler
12/19/2007 1:11:00 PM
On 12/19/07, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> One further way failed as well: I found a Code39 barcode font on the web
> as a TrueType font. Trying to embed it as described in the manual yields
> the fatal message:
>
> /usr/lib/ruby/gems/1.8/gems/pdf-writer-1.1.3/lib/pdf/writer.rb:878:in `load_font': undefined local variable or method `fbfile' for #<PDF::Writer:0xb788ad6c> (NameError)
PDF::Writer 1.1.3 is not the most recent version. I believe that Greg
and Michael fixed some font bugs.
Your expectation (of being able to embed EPS or another PDF) is
unrealistic given the reality of the internal implementation of PDF.
If you can grab the drawing instructions from an EPS (not hard, and
can be programmed), you can insert them directly into an object stream
on a PDF. (I've actually done this, manually.)
-austin