Package com.ribs.pdf
Class PDFGlyphWidthTable
java.lang.Object
com.ribs.pdf.PDFGlyphWidthTable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfloatgetWidth(int cid) Binary search the list and return the width
- 
Constructor Details- 
PDFGlyphWidthTableMain constructor. pdfwidths is the array from the CIDfont's /W entry, and defwidth is the /DW entry. Both entries are optional, in which case all the widths are 1000.
 
- 
- 
Method Details- 
getWidthpublic float getWidth(int cid) Binary search the list and return the width
 
-