AW: [xep-support] Character set problems Linux/Windows

From: <Ronald.Valersi@soplar.ch>
Date: Thu Dec 14 2006 - 00:03:04 PST

Hi,

Problem description:
The embeded font's in the created PDF with XEP has encoding "Identity-H".
How can i create PDF's with XEP with "Ansi" font-encoding?
I run XEP on Windows XP and use Windows standard fonts like Verdana and Arial.

Comments:
I also use FOP-Renderer. By default FOP also creates PDF with encoding "Identity-H". The solution with FOP to create "Ansi" encoded fonts is to change the encoding of all fonts to "Ansi" first (org.apache.fop.fonts.apps.TTFReader -enc ansi ..\..\fonts\arial.ttf ..\..\fonts\arial.xml). How is the solution with XEP?

Regards, Ronald

-----Ursprüngliche Nachricht-----
Von: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] Im Auftrag von Alain Gravel
Gesendet: Mittwoch, 13. Dezember 2006 19:43
An: xep-support@renderx.com
Betreff: [xep-support] Character set problems Linux/Windows

I have an FO file that contains non ASCII characters (left quote, right quote, bullets). The file gets formatted correctly on Windows but the same file has problems getting formatted correctly on Linux. These special characters get substituted to other funny characters. My FO file starts with:

<?xml version="1.0" encoding="windows-1252"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
         xmlns:fox="http://xml.apache.org/fop/extensions"
         xmlns:html="http://www.w3.org/1999/xhtml"
         hyphenate="false"
         text-align="start"
         writing-mode="lr-tb">
.
.
.
</fo:root>

The characters displayed while running on Linux are actually UTF-8 rather than windows-1252. So it seams that XEP ignores the encoding directive and assume the encoding is whatever is the default for that OS. Any way to fix this ?

Regards,

Alain

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Dec 14 00:11:23 2006

This archive was generated by hypermail 2.1.8 : Thu Dec 14 2006 - 00:11:24 PST