Lines Matching refs:n
1003 for( int n = 0; n < nCharCount; ++n ) in GetCharWidths() local
1004 pCharWidths[n] = 0; in GetCharWidths()
1014 int n = pG->mnCharPos; in GetCharWidths() local
1015 if( n >= mnEndCharPos ) in GetCharWidths()
1017 n -= mnMinCharPos; in GetCharWidths()
1018 if( n < 0 ) in GetCharWidths()
1063 pCharWidths[n] += nXPosMax - nXPosMin; in GetCharWidths()
1136 int i, n; in ApplyDXArray() local
1145 n = pG->mnCharPos - rArgs.mnMinCharPos; in ApplyDXArray()
1146 if( (n < 0) || (nCharCount <= n) ) in ApplyDXArray()
1148 if( pLogCluster[ n ] < 0 ) in ApplyDXArray()
1149 pLogCluster[ n ] = i; in ApplyDXArray()
1155 for( n = 0; n < nCharCount; ++n ) in ApplyDXArray()
1158 if( n >= nCharCount ) in ApplyDXArray()
1160 for( n = 0; n < nCharCount; ++n ) in ApplyDXArray()
1162 if( pLogCluster[ n ] < 0 ) in ApplyDXArray()
1163 pLogCluster[ n ] = i; in ApplyDXArray()
1165 i = pLogCluster[ n ]; in ApplyDXArray()
1176 n = nCharPos - rArgs.mnMinCharPos; in ApplyDXArray()
1177 if( (n < 0) || (nCharCount <= n) ) continue; in ApplyDXArray()
1179 if( pLogCluster[ n ] >= 0 ) in ApplyDXArray()
1180 i = pLogCluster[ n ]; in ApplyDXArray()
1183 long nDelta = rArgs.mpDXArray[ n ] ; in ApplyDXArray()
1184 if( n > 0 ) in ApplyDXArray()
1185 nDelta -= rArgs.mpDXArray[ n-1 ]; in ApplyDXArray()
1313 const int n = pG->mnCharPos; in ApplyAsianKerning() local
1314 if( n < nLength - 1) in ApplyAsianKerning()
1317 const sal_Unicode cHere = pStr[n]; in ApplyAsianKerning()
1320 const sal_Unicode cNext = pStr[n+1]; in ApplyAsianKerning()
1453 int n = pG->mnCharPos; in GetCaretPositions() local
1454 int nCurrIdx = 2 * (n - mnMinCharPos); in GetCaretPositions()
1501 int n = pG->mnCharPos; in GetNextGlyphs() local
1502 if( (mnMinCharPos <= n) && (n < mnEndCharPos) ) in GetNextGlyphs()
1555 int n = pG->mnCharPos; in GetNextGlyphs() local
1556 if( (n < mnMinCharPos) || (mnEndCharPos <= n) ) in GetNextGlyphs()
1737 for( int n = 0; n < mnLevel; ++n ) in AdjustLayout() local
1738 mpLayouts[n]->SalLayout::AdjustLayout( aMultiArgs ); in AdjustLayout()
1816 int nLevel = 0, n; in AdjustLayout() local
1817 for( n = 0; n < mnLevel; ++n ) in AdjustLayout()
1820 if( n > 0 ) in AdjustLayout()
1822 aMultiArgs.maRuns = maFallbackRuns[ n-1 ]; in AdjustLayout()
1825 mpLayouts[n]->AdjustLayout( aMultiArgs ); in AdjustLayout()
1828 mpLayouts[n]->DisableGlyphInjection( true ); in AdjustLayout()
1831 if( n > 0 ) in AdjustLayout()
1833 if (mbInComplete && (n == mnLevel-1)) in AdjustLayout()
1834 mpLayouts[n]->Simplify( true ); in AdjustLayout()
1836 mpLayouts[n]->Simplify( false ); in AdjustLayout()
1841 nValid[ nLevel ] = mpLayouts[n]->GetNextGlyphs( 1, &nDummy, aPos, in AdjustLayout()
1844 …if (nValid[nLevel]) fprintf(mslLog(), "layout[%d]->GetNextGlyphs %d,%d x%d a%d c%d %x\n", n, nStar… in AdjustLayout()
1847 if( (n > 0) && !nValid[ nLevel ] ) in AdjustLayout()
1850 mpLayouts[n]->Release(); in AdjustLayout()
1855 if( nLevel != n ) in AdjustLayout()
1857 mpLayouts[ nLevel ] = mpLayouts[ n ]; in AdjustLayout()
1858 mpFallbackFonts[ nLevel ] = mpFallbackFonts[ n ]; in AdjustLayout()
1859 maFallbackRuns[ nLevel ] = maFallbackRuns[ n ]; in AdjustLayout()
1869 for( n = 0; n < nLevel; ++n ) in AdjustLayout()
1870 maFallbackRuns[n].ResetPos(); in AdjustLayout()
1889 for( n = 0; n < nLevel; ++n ) in AdjustLayout()
1890 if( nValid[n] && !maFallbackRuns[n].PosIsInAnyRun( nActiveCharPos ) ) in AdjustLayout()
1893 int nFBLevel = n; in AdjustLayout()
1895 if( n < nLevel ) in AdjustLayout()
1899 fUnitMul /= mpLayouts[n]->GetUnitsPerPixel(); in AdjustLayout()
1901 mpLayouts[n]->MoveGlyph( nStartOld[n], nNewPos ); in AdjustLayout()
1905 n = 0; // keep NotDef in base level in AdjustLayout()
1909 if( n > 0 ) in AdjustLayout()
1913 (maFallbackRuns[ n-1 ].PosIsInRun( nCharPos[0] ) ) && in AdjustLayout()
1914 (!maFallbackRuns[ n ].PosIsInAnyRun( nCharPos[0] ) ) in AdjustLayout()
1934 nRunAdvance += nGlyphAdv[n]; in AdjustLayout()
1937 nStartOld[n] = nStartNew[n]; in AdjustLayout()
1938 int nOrigCharPos = nCharPos[n]; in AdjustLayout()
1939 nValid[n] = mpLayouts[n]->GetNextGlyphs( 1, &nDummy, aPos, in AdjustLayout()
1940 nStartNew[n], &nGlyphAdv[n], &nCharPos[n] ); in AdjustLayout()
1942 …[n]) fprintf(mslLog(), "layout[%d]->GetNextGlyphs %d,%d a%d c%d %x\n", n, nStartOld[n], nStartNew[… in AdjustLayout()
1945 if( !nValid[n] ) in AdjustLayout()
1948 if( n >= nLevel-1 ) in AdjustLayout()
1956 if ((n+1 < nLevel) && (nCharPos[n] != nOrigCharPos)) in AdjustLayout()
1958 if (nOrigCharPos < nCharPos[n]) in AdjustLayout()
1960 if (nCharPos[n+1] > nOrigCharPos && (nCharPos[n+1] < nCharPos[n])) in AdjustLayout()
1963 else if (nOrigCharPos > nCharPos[n]) in AdjustLayout()
1965 if (nCharPos[n+1] > nCharPos[n] && (nCharPos[n+1] < nOrigCharPos)) in AdjustLayout()
1971 if( n > 0 ) in AdjustLayout()
1974 if( !maFallbackRuns[n-1].PosIsInRun( nCharPos[n] ) ) in AdjustLayout()
1993 nCharPos[n] < mnEndCharPos && in AdjustLayout()
1994 nCharPos[n] >= mnMinCharPos) in AdjustLayout()
1999 >= aMultiArgs.mpDXArray[nCharPos[n] - mnMinCharPos]) in AdjustLayout()
2001 nRunVisibleEndChar = nCharPos[n]; in AdjustLayout()
2005 <= aMultiArgs.mpDXArray[nCharPos[n] - mnMinCharPos]) in AdjustLayout()
2007 nRunVisibleEndChar = nCharPos[n]; in AdjustLayout()
2061 if( n > 0 ) // optimization: because (fUnitMul==1.0) for (n==0) in AdjustLayout()
2094 for( n = 0; n < mnLevel; ++n ) in AdjustLayout()
2095 mpLayouts[n]->DisableGlyphInjection( false ); in AdjustLayout()
2144 for( int n = 1; n < mnLevel; ++n ) in GetTextBreak() local
2146 SalLayout& rLayout = *mpLayouts[ n ]; in GetTextBreak()
2186 for( int n = mnLevel; --n >= 0; ) in FillDXArray() local
2189 long nTextWidth = mpLayouts[n]->FillDXArray( pTempWidths ); in FillDXArray()
2194 fUnitMul /= mpLayouts[n]->GetUnitsPerPixel(); in FillDXArray()
2228 for( int n = 1; n < mnLevel; ++n ) in GetCaretPositions() local
2230 mpLayouts[ n ]->GetCaretPositions( nMaxIndex, pTempPos ); in GetCaretPositions()
2232 fUnitMul /= mpLayouts[n]->GetUnitsPerPixel(); in GetCaretPositions()