Page 1 of 1
PDF PlugIn Trouble
Posted: Sat Sep 30, 2006 4:17 pm
by juergen
I have a display problem (wich looks different from NetWhiz's problem at Wed Sep 13) with the PDF plugin at my site blog.juergen-luebeck.de
The output is in monospace font and breaks the page format.
What can I do to fix it?
Thx, Juergen
Posted: Sat Sep 30, 2006 10:56 pm
by judebert
The only mention to fonts I see is the serendipity_event_blogpdf/font/ directory. Are there any fonts in there? Only Arial and Courier (which map to helvetica and courier) are actually specified in the plugin.
Do your entries specify a font?
Posted: Mon Oct 02, 2006 9:54 am
by juergen
mmhm, i use first verdana for all in my css. actually i try to use arial or helvetica as first entry in font specs. it doesn't result in any better behaviour in pdf.
my pdf-plugin-font-dir contains php-files named courier, helvetica (several), symbol (several), times and zapfdingbats.
i can see at
www.c0t0d0s0.org - this guy is using verdana like me - that pdf-plugin works well. but not for me.
what else can i do?
Posted: Mon Oct 02, 2006 10:04 am
by juergen
another note:
switching off the Unicode-support in the plugin configuration leads to a pdf-document with good margins. but this is not a fine solution if the site is using unicode.
Posted: Mon Oct 02, 2006 11:35 am
by garvinhicking
Hi!
Yes, the unicode support of fpdf uses ufpdf, which is unmaintained and not working properly. The author of that lib doesn't upkeep it any longer, and we can't take on the support.
Thus, someone recently patched the blogpdf-plugin (i think that patch is in recent CVS) to add another UTF-Option that just translates UTF-8 into ISO-88590-1. Of course if your blog's language does not fit into ISO-8859-1, the solution will not properly work for you - I'm sorry that there's no real way around that. Maybe someone could patch up ufpdf so that it works as intended.
Best regards,
Garvin