Embedding fonts in PDF

By: Dmitry Bessonov - sycob
Embedding fonts in PDF
2002-09-11 05:28
Hello, Teodor!

In "unicode example" you use pdfFontName="ARIAL.TTF". This setting later transforms to iText call : BaseFont.createFont("ARIAL.TTF",...) etc.

Is it possible to call font by its alias ("arial"), not by file name with path, to embed corresponding true type font in PDF. I tried to but did not succeed. I'm interested especially in unicode.

WBR,
Dmitry.


By: Teodor Danciu - teodord
RE: Embedding fonts in PDF
2002-09-11 05:41

Hi,

In the pdfFontName, you have to specify the name
of the TTF file, not the logical name of the font.

This is how iText works with TTFs.

Thank you,
Teodor



By: Ling Li - lonecatz
RE: Embedding fonts in PDF
2002-09-13 05:29
Is jasper reports support some manner which allow user specify the location of TTF file in a place, and give the file a logical name. Then in pdfFontName attribute, the logical name can be used and it will be replaced with the file place automaticlly when passing to iText.

Thanks,
Ling



By: Teodor Danciu - teodord
RE2: Embedding fonts in PDF
2002-09-14 02:23

Hi,

Sorry. JasperReports does not have such a feature.
Maybe in the future.

Thank you,
Teodor
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 16 years 9 months ago

0 Answers:

No answers yet
Feedback
randomness