Class TextChunksHelper
- java.lang.Object
-
- org.verapdf.gf.model.factory.chunks.TextChunksHelper
-
public class TextChunksHelper extends Object
- Author:
- Maxim Plushchov
-
-
Constructor Summary
Constructors Constructor Description TextChunksHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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)
-
-
-
Method Detail
-
calculateTextBoundingBox
protected static BoundingBox calculateTextBoundingBox(Matrix textRenderingMatrixBefore, Matrix textRenderingMatrixAfter, PDFont font, Integer pageNumber)
-
calculateTextBaseLine
protected static double calculateTextBaseLine(Matrix textMatrix)
-
calculateTextSize
protected static double calculateTextSize(Matrix textMatrix)
-
calculateFontWeight
protected static double calculateFontWeight(int renderingMode, PDFont font)
-
-