Please excuse ... and another question ... what do you mean with "complex scripts (Indian, Arabic)" is not supported? Is there somewhere an info what is supported and what not?
Yours Florian Am Do., 29. Apr. 2021 um 08:09 Uhr schrieb Tilman Hausherr < [email protected]>: > Hi, > > See the EmbeddedMultipleFonts.java example in the source code download. > java.awt.Font is not supported, nor are complex scripts (Indian, Arabic) > > Tilman > > Am 29.04.2021 um 08:07 schrieb Florian Gumpinger: > > Hello! > > > > > > > > I want to create a PDF file with text. The language of the text is > > depending on the language-settings in the application. The application > > supports many languages … also Chinese, Korean etc. So I cannot work with > > one font. In the application i have now the font as java.awt.Font > > available. Is there a way to use this direct? For example something like > > > > > > > > contentStream.setFont((PDFont) [java.awt.Font], 10); > > > > > > > > or a way to create this with something similar like > > > > > > > > PDFont font = PDTrueTypeFont.loadTTF(doc, [java.awt.Font]); > > > > > > > > ? > > > > > > > > Yours > > > > Florian > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

