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 double
calculateFontWeight(int renderingMode, PDFont font)
protected static double
calculateTextBaseLine(Matrix textMatrix)
protected static BoundingBox
calculateTextBoundingBox(Matrix textRenderingMatrixBefore, Matrix textRenderingMatrixAfter, PDFont font, Integer pageNumber)
protected static double
calculateTextSize(Matrix textMatrix)
protected static COSBase
getArgument(List<COSBase> arguments, String operatorType)
protected static void
updateSymbolEnds(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)
-
-