You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org> on 2022/07/27 20:23:36 UTC
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
RE: unable to generate special characters with Arial Unicode MS
Posted by Simon Steiner <si...@gmail.com>.
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) <Ja...@in.bosch.com>
Sent: 02 August 2022 08:40
To: simonsteiner1984@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.doe@killerapp.fun <mailto:jon.doe@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.coder@killerapp.fun <mailto:paul.coder@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.hacker@killerapp.fun <mailto:max.hacker@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.book@killerapp.fun <mailto:donna.book@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.tester@killerapp.fun <mailto:henry.tester@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: simonsteiner1984@gmail.com <ma...@gmail.com> <simonsteiner1984@gmail.com <ma...@gmail.com> >
Sent: Tuesday, August 2, 2022 10:49 AM
To: Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@in.bosch.com> >; fop-dev@xmlgraphics.apache.org <ma...@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.Tripathi@in.bosch.com <ma...@in.bosch.com> >
Sent: 02 August 2022 04:22
To: Simon Steiner <simonsteiner1984@gmail.com <ma...@gmail.com> >; fop-dev@xmlgraphics.apache.org <ma...@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 <simonsteiner1984@gmail.com <ma...@gmail.com> >
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@in.bosch.com> >; fop-dev@xmlgraphics.apache.org <ma...@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.Tripathi@in.bosch.com <ma...@in.bosch.com> >
Sent: 28 July 2022 09:55
To: Simon Steiner <simonsteiner1984@gmail.com <ma...@gmail.com> >; fop-dev@xmlgraphics.apache.org <ma...@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 <simonsteiner1984@gmail.com <ma...@gmail.com> >
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org <ma...@xmlgraphics.apache.org> ; Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@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 <ma...@xmlgraphics.apache.org> >
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org <ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org>.
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.doe@killerapp.fun</fo:block<mailto:jon.doe@killerapp.fun%3c/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.coder@killerapp.fun</fo:block<mailto:paul.coder@killerapp.fun%3c/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.hacker@killerapp.fun</fo:block<mailto:max.hacker@killerapp.fun%3c/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.book@killerapp.fun</fo:block<mailto:donna.book@killerapp.fun%3c/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.tester@killerapp.fun</fo:block<mailto:henry.tester@killerapp.fun%3c/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: simonsteiner1984@gmail.com <si...@gmail.com>
Sent: Tuesday, August 2, 2022 10:49 AM
To: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>; 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) <Ja...@in.bosch.com>>
Sent: 02 August 2022 04:22
To: Simon Steiner <si...@gmail.com>>; fop-dev@xmlgraphics.apache.org<ma...@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 <si...@gmail.com>>
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>>; fop-dev@xmlgraphics.apache.org<ma...@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) <Ja...@in.bosch.com>>
Sent: 28 July 2022 09:55
To: Simon Steiner <si...@gmail.com>>; fop-dev@xmlgraphics.apache.org<ma...@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 <si...@gmail.com>>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org<ma...@xmlgraphics.apache.org>; Tripathi Jayesh (SX/BSV-AD1) <Ja...@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 <fo...@xmlgraphics.apache.org>>
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org<ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by si...@gmail.com.
Hi,
Can we see your fo file
Thanks
From: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>
Sent: 02 August 2022 04:22
To: Simon Steiner <si...@gmail.com>; 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 <simonsteiner1984@gmail.com <ma...@gmail.com> >
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@in.bosch.com> >; fop-dev@xmlgraphics.apache.org <ma...@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.Tripathi@in.bosch.com <ma...@in.bosch.com> >
Sent: 28 July 2022 09:55
To: Simon Steiner <simonsteiner1984@gmail.com <ma...@gmail.com> >; fop-dev@xmlgraphics.apache.org <ma...@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 <si...@gmail.com>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org <ma...@xmlgraphics.apache.org> ; Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@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 <ma...@xmlgraphics.apache.org> >
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org <ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org>.
Hi Simon,
Some help here please.
Mit freundlichen Grüßen / Best regards
Jayesh Tripathi
From: Simon Steiner <si...@gmail.com>
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>; 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) <Ja...@in.bosch.com>>
Sent: 28 July 2022 09:55
To: Simon Steiner <si...@gmail.com>>; fop-dev@xmlgraphics.apache.org<ma...@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 <si...@gmail.com>>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org<ma...@xmlgraphics.apache.org>; Tripathi Jayesh (SX/BSV-AD1) <Ja...@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 <fo...@xmlgraphics.apache.org>>
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org<ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org>.
Hi,
Is it possible to get a sample program in java, with the sample fo and fop.xconf files
Mit freundlichen Grüßen / Best regards
Jayesh Tripathi
From: Tripathi Jayesh (SX/BSV-AD1) via fop-dev <fo...@xmlgraphics.apache.org>
Sent: Thursday, July 28, 2022 4:51 PM
To: Simon Steiner <si...@gmail.com>; fop-dev@xmlgraphics.apache.org
Subject: RE: unable to generate special characters with Arial Unicode MS
Hi,
I have done that and it did not work.
Mit freundlichen Grüßen / Best regards
Jayesh Tripathi
From: Simon Steiner <si...@gmail.com>>
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>>; fop-dev@xmlgraphics.apache.org<ma...@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) <Ja...@in.bosch.com>>
Sent: 28 July 2022 09:55
To: Simon Steiner <si...@gmail.com>>; fop-dev@xmlgraphics.apache.org<ma...@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 <si...@gmail.com>>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org<ma...@xmlgraphics.apache.org>; Tripathi Jayesh (SX/BSV-AD1) <Ja...@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 <fo...@xmlgraphics.apache.org>>
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org<ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org>.
Hi,
I have done that and it did not work.
Mit freundlichen Grüßen / Best regards
Jayesh Tripathi
From: Simon Steiner <si...@gmail.com>
Sent: Thursday, July 28, 2022 4:42 PM
To: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>; 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) <Ja...@in.bosch.com>>
Sent: 28 July 2022 09:55
To: Simon Steiner <si...@gmail.com>>; fop-dev@xmlgraphics.apache.org<ma...@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 <si...@gmail.com>>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org<ma...@xmlgraphics.apache.org>; Tripathi Jayesh (SX/BSV-AD1) <Ja...@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 <fo...@xmlgraphics.apache.org>>
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org<ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by Simon Steiner <si...@gmail.com>.
Hi,
Can you use font-family=”arial-unicode-ms” in your fo file?
Thanks
From: Tripathi Jayesh (SX/BSV-AD1) <Ja...@in.bosch.com>
Sent: 28 July 2022 09:55
To: Simon Steiner <si...@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 <simonsteiner1984@gmail.com <ma...@gmail.com> >
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org <ma...@xmlgraphics.apache.org> ; Tripathi Jayesh (SX/BSV-AD1) <Jayesh.Tripathi@in.bosch.com <ma...@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 <ma...@xmlgraphics.apache.org> >
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org <ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by "Tripathi Jayesh (SX/BSV-AD1) via fop-dev" <fo...@xmlgraphics.apache.org>.
Hi,
No still it does not work.
Regards,
Mit freundlichen Grüßen / Best regards
Jayesh Tripathi
From: Simon Steiner <si...@gmail.com>
Sent: Thursday, July 28, 2022 2:24 PM
To: fop-dev@xmlgraphics.apache.org; Tripathi Jayesh (SX/BSV-AD1) <Ja...@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 <fo...@xmlgraphics.apache.org>>
Sent: 27 July 2022 21:24
To: fop-dev@xmlgraphics.apache.org<ma...@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
RE: unable to generate special characters with Arial Unicode MS
Posted by Simon Steiner <si...@gmail.com>.
Hi,
What if you remove:
encoding-mode="single-byte"
Thanks
From: Tripathi Jayesh (SX/BSV-AD1) via fop-dev <fo...@xmlgraphics.apache.org>
Sent: 27 July 2022 21:24
To: 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