GlyphData.java (pdfbox-2.0.23-src) | : | GlyphData.java (pdfbox-2.0.24-src) | ||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
glyphDescription = new GlyfSimpleDescript(numberOfContours, data, x0 ); | glyphDescription = new GlyfSimpleDescript(numberOfContours, data, x0 ); | |||
} | } | |||
else | else | |||
{ | { | |||
// create a composite glyph | // create a composite glyph | |||
glyphDescription = new GlyfCompositeDescript(data, glyphTable); | glyphDescription = new GlyfCompositeDescript(data, glyphTable); | |||
} | } | |||
} | } | |||
/** | /** | |||
* Initialize an empty glyph record. | ||||
* | ||||
* @throws IOException | ||||
*/ | ||||
void initEmptyData() throws IOException | ||||
{ | ||||
glyphDescription = new GlyfSimpleDescript(); | ||||
boundingBox = new BoundingBox(); | ||||
} | ||||
/** | ||||
* @return Returns the boundingBox. | * @return Returns the boundingBox. | |||
*/ | */ | |||
public BoundingBox getBoundingBox() | public BoundingBox getBoundingBox() | |||
{ | { | |||
return boundingBox; | return boundingBox; | |||
} | } | |||
/** | /** | |||
* @param boundingBoxValue The boundingBox to set. | * @param boundingBoxValue The boundingBox to set. | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added |