 |
 |
 |
 |
 |
PDF Generating Tool Support Forum |
 |
|
Topic review - Rendering Special Characters in PDF |
Post subject: Re: Rendering Special Characters in PDF |
You need either to include ttf/otf fonts to your project, or to refer the system fonts if system font location in the target environment is predictable.
You need to generate pd4font.properties font mapping file (and include it to your project) and from the file you can refer system or project font folder.
Pass the pd4font.properties location to useTTF() as a parameter.
You need either to include ttf/otf fonts to your project, or to refer the system fonts if system font location in the target environment is predictable.
You need to generate pd4font.properties font mapping file (and include it to your project) and from the file you can refer system or project font folder.
Pass the pd4font.properties location to useTTF() as a parameter.
|
|
|
PD4ML
 |
Posted: 30 Sep 2020, 18:01 |
|
|
|
 |
Post subject: Re: Rendering Special Characters in PDF |
Are you referring to pd4ml.useTTF() ? But we are not using any .ttf files in our project. How can we load ttf when aren't using any?
Are you referring to pd4ml.useTTF() ? But we are not using any .ttf files in our project. How can we load ttf when aren't using any?
|
|
|
CanOpener_
 |
Posted: 30 Sep 2020, 17:54 |
|
|
|
 |
Post subject: Re: Rendering Special Characters in PDF |
By default PD4ML converts only characters, belong to ISO-8859-1 charset, referring PDF-viewers builtin fonts. The problematic chars obviously do not belong to the charset.
In order to resolve the issue you need to configure and to utilize TTF embedding feature of PD4ML.
By default PD4ML converts only characters, belong to ISO-8859-1 charset, referring PDF-viewers builtin fonts. The problematic chars obviously do not belong to the charset.
In order to resolve the issue you need to configure and to utilize TTF embedding feature of PD4ML.
|
|
|
PD4ML
 |
Posted: 30 Sep 2020, 17:45 |
|
|
|
 |
Post subject: Rendering Special Characters in PDF |
Hello,
We are using pro edition of pd4ml, version is 3105. We are using the lib to convert xhtml files to pdf files. But some special characters aren't getting converted properly in the output pdf. Characters like: ≤ or ↑ . I have tried changing characters encoding with pd4ml.overrideDocumentEncoding(), but it did not fix the issue.
Any suggestions? Thanks
Hello,
We are using pro edition of pd4ml, version is 3105. We are using the lib to convert xhtml files to pdf files. But some special characters aren't getting converted properly in the output pdf. Characters like: ≤ or ↑ . I have tried changing characters encoding with pd4ml.overrideDocumentEncoding(), but it did not fix the issue.
Any suggestions? Thanks
|
|
|
CanOpener_
 |
Posted: 30 Sep 2020, 17:35 |
|
|
|
 |
|

|
 |
 |
|
 |
Copyright ©2004-10 zefer|org. All rights reserved. |
|
|
 |
|
 |