  | 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
|
|
|
  | | | Obtaining Raw Glyphs | Obtaining Raw Glyphs 2007-11-09 - By Brad Wilmot
Back Mark Storer <mstorer3772 <at> gmail.com> writes:
> > > On 10/31/07, Brad Wilmot <bwilmot <at> gci.net> wrote: > > > I'm trying to read a PDF with six embedded fonts whereby the contentuses this technique of encoding. Most of the raw text characters are inthe hex range of 01-40. > > > It's entirely possible that you're actually looking at a custom encoding rather than glyph indexes. > If your font(s) have an encoding dictionary with a differences array, you'll need to parse that instead to get the character info.Your font might look something like this:<</Type /Font /Encoding <</Type /Encoding /Differences [ startIndex1 charName1 charName2... ] >> > ...>>That's not valid for a /Subtype /Type0 font, but is perfectly legal for any of the single-byte font types.PS: LiquidOffice uses this technique when building subsets.PPS: Can you share one of your PDFs with us? > -- --Mark StorerProfessional Geek > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- > 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 <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > Thank you Mark, for your reply. Sorry I took so long to get back.
You are right, I have custom Encodings. I didn't know the difference.
I still have problems, but will repost under proper Subject-line.
My PDF files are copyrighted, so I wouldn't think it would be proper to post.
Thanx.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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/
|
|
 |