Class TextChunksHelper
java.lang.Object
org.verapdf.gf.model.factory.chunks.TextChunksHelper
- Author:
- Maxim Plushchov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static doublecalculateFontWeight(int renderingMode, PDFont font) protected static doublecalculateTextBaseLine(Matrix textMatrix) protected static BoundingBoxcalculateTextBoundingBox(Matrix textRenderingMatrixBefore, Matrix textRenderingMatrixAfter, PDFont font, Integer pageNumber) protected static doublecalculateTextSize(Matrix textMatrix) protected static COSBasegetArgument(List<COSBase> arguments, String operatorType) protected static voidupdateSymbolEnds(List<Double> symbolEnds, double shift, double left, int length)
-
Constructor Details
-
TextChunksHelper
public TextChunksHelper()
-
-
Method Details
-
getArgument
-
calculateTextBoundingBox
protected static BoundingBox calculateTextBoundingBox(Matrix textRenderingMatrixBefore, Matrix textRenderingMatrixAfter, PDFont font, Integer pageNumber) -
calculateTextBaseLine
-
calculateTextSize
-
calculateFontWeight
-
updateSymbolEnds
-