Alpha and Beta Print

View: New views
2 Messages — Rating Filter:   Alert me  

Alpha and Beta Print

by Reliquiem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello,

 

I’ve got a a little problem with the printing of the alpha and beta characters.

I am generating PDF-reports from a webinterface with XML and XSL-FO.

On this reports are the Characters “Alpha” and “Beta” from the Greek alphabet.

But if I print this form, then the Greek chars turn into # . Why?

 

Thanks for help!

 

Michael

 


RE: Alpha and Beta Print

by Gabriel Birke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello,
 
The problem here is that the font you are using (probably some builtin sans-serif font) has no glyph for the alpha and beta characters. RenderX recognizes this and replaces the char with a # sign. You have two possibilities here:
  1. use a font for all of your text that has the matching unicode glyphs in it. For arrows, we had good results with Lucida Grade Sans coming with the default Java installation. See http://www.alanwood.net/unicode/fonts.html for reference.
  2. use a dingbats font that contains the chars and replace the alpha and beta chars with the chars theat produce the correct chars in this font. You will need to surround them with <inline> elements that switch to font for the particular char.
Greetings,
 
Gabriel
 

From: www-xsl-fo-request@... [mailto:www-xsl-fo-request@...] On Behalf Of Michael Gajda
Sent: Tuesday, September 08, 2009 2:19 PM
To: www-xsl-fo@...
Subject: Alpha and Beta Print

Hello,

 

I’ve got a a little problem with the printing of the alpha and beta characters.

I am generating PDF-reports from a webinterface with XML and XSL-FO.

On this reports are the Characters “Alpha” and “Beta” from the Greek alphabet.

But if I print this form, then the Greek chars turn into # . Why?

 

Thanks for help!

 

Michael