Re: FOP 1.1 - Japanese 4-byte characters are rendering as '?' in pdf

2015-05-18 Thread Glenn Adams
Not sure what you mean by four byte characters unless you are referring
to non-BMP Unicode code points, i.e., those that require two 16-bit UTF-16
surrogates. FOP does not yet support non-BMP encoded characters.

On Mon, May 18, 2015 at 6:01 AM, mrunal28 loha...@gmail.com wrote:

 Hi,

 I am using FOP 1.1 and trying to convert xml to pdf. My XML file contains
 japanese 4-byte characters(/カサタナハ) whose font is japanese katakana.

 But my generated PDF contains '?' instead of original japanese characters.

 I have font file for example katakana.ttf and made corresponding entry in
 FOP config file as below:

 fop
   renderers
   renderer mime=application/pdf
  fonts

font-triplet name=katakana style=normal
 weight=normal/

   /fonts
   /renderer
   /renderers
 /fop

 Can anyone please tell me if FOP 1.1 supports japanese 4-byte characters
 and
 if so what extra configuration is required?

 I look out for same but none of FOP documentation clearly mentions that.



 --
 View this message in context:
 http://apache-fop.1065347.n5.nabble.com/FOP-1-1-Japanese-4-byte-characters-are-rendering-as-in-pdf-tp42117.html
 Sent from the FOP - Users mailing list archive at Nabble.com.

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




FOP 1.1 - Japanese 4-byte characters are rendering as '?' in pdf

2015-05-18 Thread mrunal28
Hi,

I am using FOP 1.1 and trying to convert xml to pdf. My XML file contains
japanese 4-byte characters(/カサタナハ) whose font is japanese katakana.

But my generated PDF contains '?' instead of original japanese characters.

I have font file for example katakana.ttf and made corresponding entry in
FOP config file as below:

fop
  renderers
  renderer mime=application/pdf
 fonts 

   font-triplet name=katakana style=normal
weight=normal/
  
  /fonts
  /renderer
  /renderers
/fop

Can anyone please tell me if FOP 1.1 supports japanese 4-byte characters and
if so what extra configuration is required?

I look out for same but none of FOP documentation clearly mentions that.



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-1-1-Japanese-4-byte-characters-are-rendering-as-in-pdf-tp42117.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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