Package com.ribs.pdf
Class PDFGlyphWidthTable
java.lang.Object
com.ribs.pdf.PDFGlyphWidthTable
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfloatgetWidth(int cid) Binary search the list and return the width 
- 
Constructor Details
- 
PDFGlyphWidthTable
Main 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
- 
getWidth
public float getWidth(int cid) Binary search the list and return the width 
 -