PDF PlugIn Trouble

Creating and modifying plugins.
Post Reply
juergen
Regular
Posts: 55
Joined: Tue Jul 04, 2006 2:23 pm
Location: Mayence, Germany
Contact:

PDF PlugIn Trouble

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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?
Judebert
---
Website | Wishlist | PayPal
juergen
Regular
Posts: 55
Joined: Tue Jul 04, 2006 2:23 pm
Location: Mayence, Germany
Contact:

Post 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?
juergen
Regular
Posts: 55
Joined: Tue Jul 04, 2006 2:23 pm
Location: Mayence, Germany
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply