Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.0-rc3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 May 2008 at 12:42 UTC
Updated:
13 Jan 2012 at 01:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
jcnventuraCan you tell what did you find on the internet?
João
Comment #2
thehong commentedSubcribe
Comment #3
luti commentedHi,
I've googled for "dompdf" and "utf-8", and found the following: http://trac.symfony-project.com/wiki/sfDomPDFPlugin.
But, I have no idea how to go on with it... :-(
Comment #4
jcnventuraWell,
The tool you found is a wrapper of dompdf for the symphony project. Much like the print_pdf module is able to do for anyone advanced enough. There is a Drupal 5.x module (called dompdf :) that does exactly what the tool you found does..
The pages that might help you are:
http://codeigniter.com/forums/viewthread/69388/
http://sourceforge.net/forum/message.php?msg_id=4122270
According to the last one, we only have to wait for dompdf 0.5.2 to come out... I am changing the status to closed, since the solution must come from dompdf or the use of a pdflib commercial license..
João
Comment #5
sammys commentedHi there,
I've done some work on getting UTF-8 support working with the print module. So far it's not commit worthy but I figured I'd reopen this issue and update the community with the latest developments from dompdf and my laptop. This took me some time to go through and I'm hoping this post will save people some time.
Dompdf 0.6.0 beta 1 introduced UTF-8 support and it's working! Unfortunately, it's not working out of the box so some fiddling is needed. Here are the things you need to do:
I only added one font to the cache and it's working nicely. You can easily figure out how to amend the cache file using a text editor so I'm not going to explain that. :)
Here is the patch. Enjoy!
Comment #6
jcnventuraHi,
I've just added some support for the Unicode mode to the CVS repository. I'm leaving the ISO-8859-1 replacement in place until dompdf ships with Unicode fonts, as that step is still slightly confusing.
João
Comment #8
nguyentran commentedIs it a easy way to make UTF-8 work on DOMPDF, do we make it complex to use