Antw: Re: [xwiki-users] Special Characters in PDF
Gunter Leeb
Gunter.Leeb at mediaprint.at
Mon Jun 18 15:49:29 CEST 2007
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 <vincent at massol.net> 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.
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sandbox_specialcharTest.pdf
Type: application/pdf
Size: 6053 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/users/attachments/20070618/3275a5dd/attachment-0001.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chars..JPG
Type: image/jpeg
Size: 140972 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/users/attachments/20070618/3275a5dd/attachment-0001.jpe
More information about the users
mailing list