Am 29.04.2021 um 08:26 schrieb Florian Gumpinger:
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?
Indian, Arabic, Thai replace glyphs based on the position. Arabic is
right to left. There is no info (there was a warning in the past, but
people got confused because the warning came also for normal fonts,
because of the support of ligatures). If it looks crappy, then you'll
know it isn't supported.
Chinese, Korean and Japanese is supported.
Tilman
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]