Re: [PDFBox-user] Problem with PdfTextStripper and Font
Brought to you by:
benlitchfield
|
From: Ben L. <be...@cs...> - 2005-08-17 00:12:25
|
You need to use the x/y Scale to also determine the font size. Ben Litchfield On Tue, 16 Aug 2005, [iso-8859-1] Jung J=FCrgen wrote: > Hi, > > i've a problem with the Textextraction on PdfDocuments. > > I Search for textparts that matches to a regular expression. > I need the dimension each match. > So i decide to the PDFTextStripper and modify it a little bit. > But there ist one problem if i output the value of fontsize, it always re= truns 1. > > So i get the fontsize in the following class: PDFTextStripper > Methode flushText() with this call position.getFontSize() > > Now every fontsize ist 1 > Is it a bug is it my fault? > > It is a PDF Document Version 1.3 > All Fonts are embedded and the requested font is HelveticaNeue-BoldCond > The font type ist Type1 > And i try the last last build PDFBox-0.7.2-dev-20050816 > > br Juergen Jung > > -- > Laudert > Innovative Medientechnik > Vreden - Hamburg - Paris > > Juergen Jung > Development > Von-Braun-Str. 5 > 48691 Vreden > Tel +49 (0) 2564 919 - 297 > Fax +49 (0) 2564 919 - 389 > J....@la... > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > PDFBox-user mailing list > PDF...@li... > https://lists.sourceforge.net/lists/listinfo/pdfbox-user > |