Jump to content
We've recently updated our Privacy Statement, available here ×

Embedding fonts in PDF


Recommended Posts

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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...