  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Font Name versus Font Reference | Font Name versus Font Reference 2007-11-10 - By Bruno Lowagie
Back Brad Wilmot wrote: > I'm reading a PDF file that has six Type1C fonts embedded. > These fonts have names such as APAMDB+NewAgeItalic > In the content stream, there are references to the fonts such as /F11 1 Tf > > I do not understand how a font reference of F11 can be associated with > the NewAgeItalic reference.
> I just can't see in the book how the association between the two is made.
That's discussed in Chapter 18. First read about the file structure of a PDF document and about the different objects. Then have a look at the PDF snippet on p574, more specifically the Font entry in the Resources dictionary of a Page dictionary: /Font <</F1 2 0 R >> This means that whenever the syntax of the page content stream refers to a font /F1, the PDF viewer should look for the necessary font information in the second object ("2 0 R" is a reference to the object "2 0 obj" in the file). Figure 18.2 shows what would happen if you'd copy a page content stream with a reference to a font (for instance /F11, or /Blahblah or ...), but without copying the font that is referred to.
The PDF Reference is a very useful resource if you want to dig deeper into this subject. br, Bruno
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |