Hello.

I have a problem with the SYMBOL font.
I'm able to print number characters, but not letters, such as "D" (I assume it 
should be displayed as an uppercase Delta).
My code is as follows:

private static final PDFont INTERNAL_PD_FONT_SYMBOL = PDType1Font.SYMBOL;
...
PDFont pdFont = INTERNAL_PD_FONT_SYMBOL;
int fontSize = 12;
...
currentContentStream = new PDPageContentStream(document, currentPage, 
PDPageContentStream.AppendMode.APPEND, false, true);
...
currentContentStream.setFont(pdFont, fontSize);
currentContentStream.setNonStrokingColor(0, 0, 0);
currentContentStream.beginText();
currentContentStream.newLineAtOffset(..., ...);
currentContentStream.showText("ABCD");
currentContentStream.endText();
...
currentContentStream.close();

Please, find a few test files attached: using PDType1Font.HELVETICA the "ABCD" 
string is correctly displayed, while with Symbol font the string isn't inside 
the file at all.

Thank you in advance,
Fabio


Fabio Vassallo
Product Development (CIS)

[cid:[email protected]]
Würth Phoenix S.r.l.
via Kravogl 4, 39100 Bolzano
T: +39 0471 564 116
F: +39 0471 564 122
Website<http://www.wuerth-phoenix.com/> | 
e-Mail<mailto:[email protected]> | 
Map<https://www.google.de/maps/place/Wuerth+Phoenix+S.R.L./@46.474192,11.33141,15z/data=!4m2!3m1!1s0x0:0x98a5db69edb2a02?hl=en>

[twitter-2]<https://twitter.com/WuerthPhoenix>  [wordpress-2] 
<http://www.neteye-blog.com/>   [linkedin] 
<https://www.linkedin.com/company/wuerth-phoenix>   [youtube] 
<https://www.youtube.com/user/WuerthPhoenix>   
[http://feng-shui-web.net/blog2/wp-content/uploads/2016/02/xing-icon.png] 
<https://www.xing.com/companies/w%C3%BCrthphoenixsrl>   [facebook] 
<https://www.facebook.com/wuerthphoenix>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to