Re[2]: infinity character and PDF

2002-04-11 Thread Jens v. Pilgrim

Hello J.Pietschmann,

Wednesday, April 10, 2002, 10:09:36 PM, J.Pietschmann wrote:

JP Jens v. Pilgrim wrote:
The infinity character (Unicode: #8734; , HTML: infin; ) is
 rendered correctly by the AWT and Print renderers, but incorrectly by
 the PDF renderer...(I've got a '#' there).

JP Try fo:inline font-family=Symbol#8734;/fo:inline
[..]

Thank you very much!


Best regards,
 Jens


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




infinity character and PDF

2002-04-10 Thread Jens v. Pilgrim

Hello,

  I've found a little bug in the PDF generator (or is it me - couldn't
be ;-) ).

   The infinity character (Unicode: #8734; , HTML: infin; ) is
rendered correctly by the AWT and Print renderers, but incorrectly by
the PDF renderer. In other words, this character is not written
correctly to PDF documents (I've got a '#' there).

  Is this really a bug of the PDF renderer or is it a problem of the
character sets. All applications (FOP, Acrobat) are running on the same computer,
that is all fonts are present.

Best regards,
  Jens  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: infinity character and PDF

2002-04-10 Thread J.Pietschmann

Jens v. Pilgrim wrote:
The infinity character (Unicode: #8734; , HTML: infin; ) is
 rendered correctly by the AWT and Print renderers, but incorrectly by
 the PDF renderer...(I've got a '#' there).

Try fo:inline font-family=Symbol#8734;/fo:inline

I think it's a problem with the character mapping tables. By
default, FOP uses only a few standard fonts defined by Adobe
for PDF generation, it does not use any Unicode fonts. If you
get a #, check in which font the glyph is and change to it.

J.Pietschmann





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: infinity character and PDF

2002-04-10 Thread Peter S. Housel

J.Pietschmann [EMAIL PROTECTED] wrote:
 Jens v. Pilgrim wrote:
 The infinity character (Unicode: #8734; , HTML: infin; ) is
  rendered correctly by the AWT and Print renderers, but incorrectly by
  the PDF renderer...(I've got a '#' there).

 Try fo:inline font-family=Symbol#8734;/fo:inline

 I think it's a problem with the character mapping tables. By
 default, FOP uses only a few standard fonts defined by Adobe
 for PDF generation, it does not use any Unicode fonts. If you
 get a #, check in which font the glyph is and change to it.

The XSL spec allows the font-family to be a comma-separated list of font
families, and for the processor to choose the appropriate font for each
character when a font-selection-strategy of character-by-character is
given.  Unfortunately neither FOP nor XEP support the
font-selection-strategy property, so it is necessary to explicitly use
fo:inline to change the font for special characters.

Another alternative is to embed a TTF font that includes all of the
characters you need.

The docs/examples/fo/fonts.fo file lists all of the characters supported by
each of the default fonts in their standard encodings.

Cheers,
-Peter S. Housel-   [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]