Class TextChunksHelper

java.lang.Object
org.verapdf.gf.model.factory.chunks.TextChunksHelper

public class TextChunksHelper extends Object
Author:
Maxim Plushchov
  • Constructor Details

    • TextChunksHelper

      public TextChunksHelper()
  • Method Details

    • getArgument

      protected static COSBase getArgument(List<COSBase> arguments, String operatorType)
    • 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)
    • updateSymbolEnds

      protected static void updateSymbolEnds(List<Double> symbolEnds, double shift, double left, int length)