
I’ve created a new plugin which allows a current article to be automatically exported into Adobe Acrobat PDF file format. This plugin is based on FPDF PHP class, from www.fpdf.org.
Main Features
The plugin can do the following:
- display bold, italics, underline text.
- display red and blue text.
- understands and converts NP_FancyText plugin pseudo-text.
- removes tags specific to NP_Poll plugin.
- displays h1, h2, h3, h4 tags with appropriate font sizes and colors.
- displays lists <li> with a proper list-style.
- displays XHTML links as Adobe Acrobat links.
- can embed pictures / images and/or link them!
- displayes blockquote tags.
- displayes <pre> and <code> tags with Courier font.
- displays other text with Times New Roman font.
- allows not to embed fonts into a PDF file, thus making them efficient, and very small.
- displays ™, € and © characters.
- supports iconv character conversions, if necessary.
- creates a filename like this-is-a-title.pdf.
- features automatic temporary files deletion after 60 minutes.
- displays article name and URI in page header.
- displays page number, and total number of pages in page footer.
- creates a :banner: page with article name, article URI (hotlink), author name, creation date, and site URI.
- allows to specify directory for creating temporary files (by default MEDIA_DIR/rsscache/). You have to issue chmod 777 command to this directory.
not all the webserver support PDF lib
but still i like it!
I'v collected it from you website.
thx!
----clinch-from China
I'll get "FPDF error: Could not include font metric file"!
Does it mean my Server doesn't support PDF lib?
[2] there are font metrics files under /nucleus /plugins /pdf /font directory. I guess you forgot to copy them to your server, or have paths set incorrectly.
Hello
when I try testing the pdf creating on this page as you suggest, it creates a pdf ok, but some text (the main features section) is displayed incorrectly/garbled.
I'm using acrobat 5.1.0
thanks