Commits

Herbert Duerr [hdu]  committed 5c31bea

#i114245# fix debug warnings in CTL glyph fallback

  • Participants
  • Parent commits d9fc9f4

Comments (0)

Files changed (1)

File vcl/win/source/gdi/winlayout.cxx

             const int k = mpGlyphs2Chars[ i ];
             mpGlyphs2Chars[ j ]   = k;
             const int nRelGlyphPos = (j++) - rVI.mnMinGlyphPos;
-            mpLogClusters[ k ]    = static_cast<WORD>(nRelGlyphPos);
+            if( k < 0) // extra glyphs are already mapped
+                continue;
+            mpLogClusters[ k ] = static_cast<WORD>(nRelGlyphPos);
         }
 
         rVI.mnEndGlyphPos = j;