public float getWidthCorrected ( float charSpacing , float wordSpacing ) { float total = 0 ; for ( int k = 0 ; k < line . size ( ) ; ++ k ) { PdfChunk ck = ( PdfChunk ) line . get ( k ) ; total += ck . getWidthCorrected ( charSpacing , wordSpacing ) ; } return total ; }
Gets a width corrected with a charSpacing and wordSpacing .