Dear Tilmar, thank you very much for your interest. The line of code you shared
solved my problem. However, there is something I don't understand. What is the
difference between the line of code you suggested and the line of code below.
PDFont font2 = PDTrueTypeFont.loadTTF(doc, new
File(getClass().getResource("/ttf/Arial.ttf").toURI()));
Mehmet Fatih ÇİN
-----Original Message-----
From: Tilman Hausherr <[email protected]>
Sent: Saturday, July 30, 2022 6:45 PM
To: [email protected]
Subject: Re: Hello, I'm recently trying to create a ".pdf" document with PDFBox
version 3.0. But I couldn't set the font of a text to "Arial". Besides, the
Turkish character "\u0131" is not displayed on the document. How can I solve
this problem?
Hello Mehmet,
Please post the code you used. Did it use the font with the call
PDFont font = PDType0Font.load(doc, new File("c:/windows/fonts/arial.ttf"));
?
Tilman
Am 30.07.2022 um 17:25 schrieb Mehmet Fatih ÇİN:
> Hello, I'm recently trying to create a ".pdf" document with PDFBox version
> 3.0. But I couldn't set the font of a text to "Arial". Besides, the Turkish
> character "\u0131" is not displayed on the document. How can I solve this
> problem?
>
>
> Mehmet Fatih ÇİN
>
> e-Mail Adress: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]