Hi, We are running Xwiki 1.0 using the German local. Today, I noticed that if a page contains special German characters like öäß, the PDF is not able to handle diese Characters correctly. This was already an issue with 0.940 and I thought, it had already been resolved. Could it have something to do with runing with the German de local (set in XWikiPreferences)? How do I fix this issue? Also, the fonts used in the PDF are totally different from the page in XWiki. How do I configure the PDF Engine to generate pages more similar to the XWiki pages (Albatross-skin)? Regards, Gunter ------------------------------------------------------------------------------- Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------------------------------------------------------------------------
Hi Gunter, On Jun 14, 2007, at 12:00 PM, Gunter Leeb wrote:
Hi,
We are running Xwiki 1.0 using the German local.
Today, I noticed that if a page contains special German characters like öäß, the PDF is not able to handle diese Characters correctly.
Could it be related to http://jira.xwiki.org/jira/browse/XWIKI-49?
This was already an issue with 0.940 and I thought, it had already been resolved. Could it have something to do with runing with the German de local (set in XWikiPreferences)? How do I fix this issue?
Also, the fonts used in the PDF are totally different from the page in XWiki. How do I configure the PDF Engine to generate pages more similar to the XWiki pages (Albatross-skin)?
Regarding the fonts, I don't know. Maybe it's defined in the xhtml2fo.xsl file inside the xwiki JAR? The PDF generation is implemented in the PdfExportImpl.java class if you're interested to dive into this. There are some pdf*.vm files which can be customized but you probably won't be able to change fonts in there. Thanks -Vincent
Hi Vincent, It is very likely that this issue is related, but it is not an issue with extended UTF characters like Asian characters. AFAIK the mentioned characters are all fine in LATIN1. I have attached a pdf for you all to see what I mean. The fact that the fonts are also very different between in XWiki and in the PDF was another issue. Regards, Gunter
Vincent Massol <[email protected]> 18.06.2007 11:36 >>> Hi Gunter,
On Jun 14, 2007, at 12:00 PM, Gunter Leeb wrote:
Hi,
We are running Xwiki 1.0 using the German local.
Today, I noticed that if a page contains special German characters like öäß, the PDF is not able to handle diese Characters correctly.
Could it be related to http://jira.xwiki.org/jira/browse/XWIKI-49?
This was already an issue with 0.940 and I thought, it had already been resolved. Could it have something to do with runing with the German de local (set in XWikiPreferences)? How do I fix this issue?
Also, the fonts used in the PDF are totally different from the page in XWiki. How do I configure the PDF Engine to generate pages more similar to the XWiki pages (Albatross-skin)?
Regarding the fonts, I don't know. Maybe it's defined in the xhtml2fo.xsl file inside the xwiki JAR? The PDF generation is implemented in the PdfExportImpl.java class if you're interested to dive into this. There are some pdf*.vm files which can be customized but you probably won't be able to change fonts in there. Thanks -Vincent ------------------------------------------------------------------------------- Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------------------------------------------------------------------------
participants (2)
-
Gunter Leeb -
Vincent Massol