Project

General

Profile

Defect #1175

Servoy Barcode Jasper 6.2.0

Added by Thijs Jan Hoving over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/20/2017
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

We have a problem with font Verdana.
When we use this in the preview alle characters are fine.
When we generate a pdf character é is printed fine, but character à is not printed (shown as questionmark).
For other characters see attachments.
What do we do wrong here ?
There is not much documentation how to generate fonts. We read something about font extensions, but most of the documentation mentions iReport which has already been replaced by JasperStudio for years.
We exported Verdana from JasperStudio and created a jar-file and placed that in the fonts directory.
Verdana is in the file servoy_jasperreport.jar.jnlp
When generating a pdf through the jasper plugin we get the following error:
net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font:
pdfFontName: Verdana
pdfEncoding: Cp1252
isPdfEmbedded : true
In the serverconsole it is the following error:
RMI TCP Connection(2)-172.16.74.115, net.sf.jasperreports.engine.export.PdfGlyphRenderer, Unpatched iText found, cannot use glyph rendering
What do we do wrong here ?
Are we missing files ?
Is there maybe another soolution to get Verdana show the characters correct ?


Files

verdana_wrong.png (33.3 KB) verdana_wrong.png Thijs Jan Hoving, 01/20/2017 09:05 AM

History

#1

Updated by Thijs Jan Hoving over 7 years ago

With the help of Servoy and just trying encodings one by one we found that Verdana exported from JasperStudio 6.3.1 with encoding 'Identity-H (Unicode with horizontal writing)' seems to work fine for French as well as Polish characters.
Although we did not test every existing character, we think we solved the problem for now using this encoding during export of the font.

Also available in: Atom PDF