[cl-pdf-devel] Greek letters?

Marc Battyani marc.battyani at fractalconcept.com
Tue Nov 30 19:27:31 UTC 2004


"Björn Lindberg" <d95-bli at nada.kth.se> wrote:
> "Marc Battyani" <marc.battyani at fractalconcept.com> writes:
> > "Björn Lindberg" <d95-bli at nada.kth.se> wrote:
> > >  (pdf:with-document ()
> > >    (pdf:with-page ()
> > >      (let ((font (pdf:get-font "Symbol")))
> > >        (pdf:in-text-mode
> > >          (pdf:set-font font 36.0)
> > >          (pdf:move-text 100 800)
> > >          (pdf:draw-text "abcdefghABCDEFGH"))))
> > >    (pdf:write-document "foo.pdf"))
> > >
> > >When I look in *font-cache* and *font-metrics*, at least to my
> > >untrained eyes it looks like the font is loaded OK.
> >
> > This example works for me. Look at the attached foo.pdf
>
> Ah. I am using xpdf to view PDFs, and there it came up blank. But now
> when I tried acroread it showed up both in your file and
> mine. However, when I print it in the normal way it came up blank, so
> there is something fishy going on. (Everything else I have done so far
> using cl-pdf/typesetting, I can view with xpdf and print with no
> problems.) This seems to be a font issue I guess.

The Symbol font is one of the 14 PDF builtin fonts so it should be there.
Does anybody have the same problem ? (Well if the messages go to through the
mailing list, which is not obvious at that moment...)

Marc





More information about the cl-pdf-devel mailing list