Lines Matching refs:nGapWidth
1370 const int nGapWidth = pG1->mnNewWidth - pG1->mnOrigWidth; in KashidaJustify() local
1372 if( 3 * nGapWidth >= nKashidaWidth ) in KashidaJustify()
1373 nKashidaCount += 1 + (nGapWidth / nKashidaWidth); in KashidaJustify()
1398 int nGapWidth = pG1->mnNewWidth - pG1->mnOrigWidth; in KashidaJustify() local
1399 if( 3*nGapWidth < nKashidaWidth ) in KashidaJustify()
1405 aPos.X() -= nGapWidth; // cluster is already right aligned in KashidaJustify()
1406 for(; nGapWidth > 0; nGapWidth -= nKashidaWidth, ++nKashidaCount ) in KashidaJustify()
1414 if( nGapWidth < 0 ) in KashidaJustify()
1416 aPos.X() += nGapWidth; in KashidaJustify()
1418 nGapWidth /= 2; // for small gap move kashida to middle in KashidaJustify()
1419 pG2[-1].mnNewWidth += nGapWidth; // adjust kashida width to gap width in KashidaJustify()
1420 pG2[-1].maLinearPos.X() += nGapWidth; in KashidaJustify()