Class TextChunksHelper


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

      • TextChunksHelper

        public TextChunksHelper()
    • 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)
      • updateSymbolEnds

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