Hi,

 

Can you use font-family=”arial-unicode-ms” in your fo file?

 

Thanks

 

From: Tripathi Jayesh (SX/BSV-AD1) <jayesh.tripa...@in.bosch.com> 
Sent: 28 July 2022 09:55
To: Simon Steiner <simonsteiner1...@gmail.com>; fop-dev@xmlgraphics.apache.org
Subject: RE: unable to generate special characters with Arial Unicode MS

 

Hi,

 

No still it does not work.

 

Regards,

 

Mit freundlichen Grüßen / Best regards

Jayesh Tripathi

​

From: Simon Steiner <simonsteiner1...@gmail.com 
<mailto:simonsteiner1...@gmail.com> > 
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org <mailto:fop-dev@xmlgraphics.apache.org> ; 
Tripathi Jayesh (SX/BSV-AD1) <jayesh.tripa...@in.bosch.com 
<mailto:jayesh.tripa...@in.bosch.com> >
Subject: RE: unable to generate special characters with Arial Unicode MS

 

Hi,

 

What if you remove:

encoding-mode="single-byte"

 

Thanks

 

From: Tripathi Jayesh (SX/BSV-AD1) via fop-dev <fop-dev@xmlgraphics.apache.org 
<mailto:fop-dev@xmlgraphics.apache.org> > 
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org <mailto:fop-dev@xmlgraphics.apache.org> 
Subject: unable to generate special characters with Arial Unicode MS

 

 

Hi,

 

I am unable to generate special characters with Arial Unicode MS. The 
characters are Turkish charecters. My OS is linux and my fop version is 2.7

 

My fop.xconf file looks like;

<?xml version="1.0" encoding="UTF-8"?>

<fop version="1.0">

   <use-cache>false</use-cache>

   <!-- Base URL for resolving relative URLs -->

   <base>./</base>

   <!-- Font Base URL for resolving relative font URLs -->

   <font-base>./</font-base>

   <!-- Strict FO validation -->

   <strict-validation>false</strict-validation>

   <strict-configuration>true</strict-configuration>

   <!-- Source resolution in dpi (dots/pixels per inch) for determining the 
size of pixels in SVG and bitmap images, default: 72dpi -->

   <source-resolution>72</source-resolution>

   <!-- Target resolution in dpi (dots/pixels per inch) for specifying the 
target resolution for generated bitmaps, default: 72dpi -->

   <target-resolution>72</target-resolution>

   <!-- Default page-height and page-width, in case

       value is specified as auto -->

   <default-page-settings height="auto" width="auto" />

   <accessibility>true</accessibility>

   <!-- Information for specific renderers -->

   <!-- Uses renderer mime type for renderers -->

   <renderers>

      <renderer mime="application/pdf">

         <fonts>

            <font embed-url="<path_to_file>/arial-unicode-ms.ttf" 
embedding-mode="subset" encoding-mode="single-byte">

               <font-triplet name="arial-unicode-ms" style="normal" 
weight="normal" />

            </font>

         </fonts>

      </renderer>

   </renderers>

</fop>

 

I have also put the font-family="Helvetica" inline to the fo:root element in 
the input fo file.

 

My characters to display are --> gğ GĞ cç CÇ sş SŞ ıI iİ oö OÖ uü UÜ

But instead I get --> g# G# cç CÇ s# S# #I i# oö OÖ uü UÜ

 

Please help.

 

 

Mit freundlichen Grüßen / Best regards

Jayesh Tripathi 

​

Reply via email to