You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Thomas Zastrow <li...@thomas-zastrow.de> on 2007/02/27 20:33:40 UTC

Unicode?

Hi there,

I put some kyrillic letters in a document and in the resulting PDF-file 
they were replaced with #-signs.

Is this just a problem of the used font? FOP supports unicode, am I right?

Best,

Tom

P.S.:
My little project with FOP is going on well, I hope to show you 
something the next days :-)
 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Unicode?

Posted by Thomas Zastrow <li...@thomas-zastrow.de>.
Hello Andreas,

Andreas L Delmelle schrieb:
> On Feb 27, 2007, at 20:33, Thomas Zastrow wrote:
>
> Hi Thomas,
>
>> I put some kyrillic letters in a document and in the resulting 
>> PDF-file they were replaced with #-signs.
>>
>> Is this just a problem of the used font? FOP supports unicode, am I 
>> right?
>
> FOP indeed supports Unicode --as is required of every 
> XML-application--, but the standard fonts (Base14) do not have glyphs 
> for every single character.
>

Thats good, as I already guessed :-)

> The solution is to use a custom font that does contain glyphs for the 
> characters you use (e.g. 'Arial Unicode' or 'Lucida Sans Unicode'...)
>
> For more info concerning font-embedding and configuration, see:
> http://xmlgraphics.apache.org/fop/0.93/configuration.html
> or
> http://xmlgraphics.apache.org/fop/0.93/fonts.html
>

Thanx for the links!

>> P.S.:
>> My little project with FOP is going on well, I hope to show you 
>> something the next days :-)
>
> Cool! Only thing to keep in mind if you publish it, are font-licensing 
> issues. To avoid possible problems, it's advisable to look for a free 
> font, so this issue is sidestepped.
>
Certainly. At the moment, I'm not using any additional fonts. I just 
tried if Kyrillic-letters would work "out of the box".

Best,

Tom





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Unicode?

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Feb 27, 2007, at 20:33, Thomas Zastrow wrote:

Hi Thomas,

> I put some kyrillic letters in a document and in the resulting PDF- 
> file they were replaced with #-signs.
>
> Is this just a problem of the used font? FOP supports unicode, am I  
> right?

FOP indeed supports Unicode --as is required of every XML- 
application--, but the standard fonts (Base14) do not have glyphs for  
every single character.

The solution is to use a custom font that does contain glyphs for the  
characters you use (e.g. 'Arial Unicode' or 'Lucida Sans Unicode'...)

For more info concerning font-embedding and configuration, see:
http://xmlgraphics.apache.org/fop/0.93/configuration.html
or
http://xmlgraphics.apache.org/fop/0.93/fonts.html

> P.S.:
> My little project with FOP is going on well, I hope to show you  
> something the next days :-)

Cool! Only thing to keep in mind if you publish it, are font- 
licensing issues. To avoid possible problems, it's advisable to look  
for a free font, so this issue is sidestepped.



Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org