0

In my xml Japanese language is also flowing in, so I need to render the same; below is the sample xml

<Item>
<ItemName><![CDATA[Name]]></ItemName>
<ItemValue><![CDATA[請お]]></ItemValue>
</Item>

And when I am trying to render this in a simple fo:block I am getting below warning :

[WARN] FOUserAgent - Glyph "請" (0x8acb) not available in font "Helvetica".

[WARN] FOUserAgent - Glyph "お" (0x304a, ohiragana) not available in font "Helvetica".

And finally my in my pdf it is coming like '##' so what could be the possible solution for this?

Let me know if we need any further information regarding the same.

My xslt code for rendering the value:

 <fo:block font-size="3.4mm">
  <xsl:value-of select="Item/ItemValue"/>
 </fo:block>
Rito Sarkar
  • 35
  • 1
  • 8
  • 1
    Does this answer your question? [Apache FOP Displaying ### with SimSun](https://stackoverflow.com/questions/25895984/apache-fop-displaying-with-simsun) – lfurini Jun 12 '23 at 06:45

1 Answers1

1

You need to configure FOP to use a Japanese font. See, e.g.:

Tony Graham
  • 7,306
  • 13
  • 20