Hi,

 

This would need font-family=”arial-unicode-ms”, and you need to add the bold 
font to your fop.xconf with correct triplet:

 

<fo:block font-size="18pt" font-weight="bold" space-after="5mm">Project: The 
Killer Application gğ GĞ cç CÇ sş SŞ ıI iİ oö OÖ uü UÜ</fo:block>

 

Thanks

 

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

 

Hi Simon,

 

My fo file

 

<?xml version="1.0" encoding="UTF-8"?><fo:root 
xmlns:fo=http://www.w3.org/1999/XSL/Format font-family="Courier">

    <fo:layout-master-set>

        <fo:simple-page-master master-name="simpleA4" page-height="29.7cm" 
page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2cm" 
margin-right="2cm">

            <fo:region-body/>

        </fo:simple-page-master>

    </fo:layout-master-set>

    <fo:page-sequence master-reference="simpleA4">

        <fo:flow flow-name="xsl-region-body">

            <fo:block font-size="18pt" font-weight="bold" 
space-after="5mm">Project: The Killer Application gğ GĞ cç CÇ sş SŞ ıI iİ oö OÖ 
uü UÜ</fo:block>

           <fo:block font-size="16pt" space-after="5mm">Version 1.0</fo:block>

            <fo:block font-size="16pt">

                <fo:table table-layout="fixed" width="100%" 
border-collapse="separate">

                    <fo:table-column column-width="4cm"/>

                    <fo:table-column column-width="4cm"/>

                    <fo:table-column column-width="5cm"/>

                    <fo:table-body>

                        <fo:table-row font-weight="bold">

                            <fo:table-cell>

                                <fo:block>John Doe</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>lead</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>jon....@killerapp.fun 
<mailto:jon....@killerapp.fun%3c/fo:block> </fo:block>

                            </fo:table-cell>

                        </fo:table-row>

                        <fo:table-row>

                            <fo:table-cell>

                                <fo:block>Paul Coder</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>dev</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>paul.co...@killerapp.fun 
<mailto:paul.co...@killerapp.fun%3c/fo:block> </fo:block>

                            </fo:table-cell>

                        </fo:table-row>

                        <fo:table-row>

                            <fo:table-cell>

                                <fo:block>Max Hacker</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>dev</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>max.hac...@killerapp.fun 
<mailto:max.hac...@killerapp.fun%3c/fo:block> </fo:block>

                            </fo:table-cell>

                        </fo:table-row>

                        <fo:table-row>

                            <fo:table-cell>

                                <fo:block>Donna Book</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>doc</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>donna.b...@killerapp.fun 
<mailto:donna.b...@killerapp.fun%3c/fo:block> </fo:block>

                            </fo:table-cell>

                        </fo:table-row>

                        <fo:table-row>

                            <fo:table-cell>

                                <fo:block>Henry Tester</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>qa</fo:block>

                            </fo:table-cell>

                            <fo:table-cell>

                                <fo:block>henry.tes...@killerapp.fun 
<mailto:henry.tes...@killerapp.fun%3c/fo:block> </fo:block>

                            </fo:table-cell>

                        </fo:table-row>

                    </fo:table-body>

                </fo:table>

            </fo:block>

        </fo:flow>

    </fo:page-sequence>

</fo:root>

 

Mit freundlichen Grüßen / Best regards

Jayesh Tripathi
​

From: simonsteiner1...@gmail.com <mailto:simonsteiner1...@gmail.com>  
<simonsteiner1...@gmail.com <mailto:simonsteiner1...@gmail.com> > 
Sent: Tuesday, August 2, 2022 10:49 AM
To: Tripathi Jayesh (SX/BSV-AD1) <jayesh.tripa...@in.bosch.com 
<mailto:jayesh.tripa...@in.bosch.com> >; fop-dev@xmlgraphics.apache.org 
<mailto:fop-dev@xmlgraphics.apache.org> 
Subject: RE: unable to generate special characters with Arial Unicode MS

 

Hi,

 

Can we see your fo file

 

Thanks

 

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

 

Hi Simon,

 

Some help here please.

 

 

Mit freundlichen Grüßen / Best regards

Jayesh Tripathi 

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

 

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 
<mailto:jayesh.tripa...@in.bosch.com> > 
Sent: 28 July 2022 09:55
To: Simon Steiner <simonsteiner1...@gmail.com 
<mailto:simonsteiner1...@gmail.com> >; fop-dev@xmlgraphics.apache.org 
<mailto: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