This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Incorrect characters in FO / PDF under windows


I'm not able to duplicate this problem.
The problem is not with FOP, because the extra
characters are in the FO file before FOP sees them.

The separator between the "1." and the title should be
one non-breaking space character, which when encoded
in the default UTF-8 output encoding should be a two character
sequence C2 A0 (hexadecimal).   When you view the
FO file with a typical text editor that assumes ISO-Latin-1
encoding, you will see A-caret and a non-breaking space, the characters
associated with C2 and A0, respectively, in ISO-Latin-1.

Are you using any kind of customization?  Exactly what command
are you using to process your files?  Does the FO output file
have an encoding="xxx" in the XML declaration at the top?
In my output from Saxon 6.5.3 I see:

<?xml version="1.0" encoding="utf-8"?>

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Peer Brink" <brink@riege.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, January 05, 2004 4:10 AM
Subject: [docbook-apps] Incorrect characters in FO / PDF under windows


> Hello all,
>
> I have a problem with incorrectly displayed characters when generating PDF
from FO under windows. The problem does not occur under Linux. I generate
the FO-files with saxon from docbook-xml. The wrong characters appear in
headers and for example in intemized lists.
>
> Example:
>
> FO created under Linux:
> <fo:marker marker-class-name="section.head.marker">1.Ã Using
DocBook</fo:marker>
>
> FO created under Windows:
> <fo:marker marker-class-name="section.head.marker">1.ÃÂÃ Using
DocBook</fo:marker>
>
> Why is there a difference between the two fo-files? Shouldn't they be
equal?
> Is there a problem with the xml-to-fo-generation or with the
fo-to-pdf-generation?
>
> To make it clear: windows-created pdf-files have incorrect characters when
viewing the pdf under windows AND under linux. Linux-created pdf-files are
correctly displayed under linux and under windows!
>
> I'm using FOP-0.20.5, xslt-stylesheets 1.64.0 and saxon 6.5.3.
>
> Thanks in advance for any help,
> Peer.
>
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]