Commits

Herbert Duerr [hdu]  committed 2785922

tmp_otf02: #i112466# fix layout for >=1 script items

  • Participants
  • Parent commits 0ea68c0

Comments (0)

Files changed (1)

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

                 mpLogClusters + rVisualItem.mnMinCharPos,
                 mpCharProp,
                 mpOutGlyphs + rVisualItem.mnMinGlyphPos,
-                mpGlyphProp,
+                &mpGlyphProp[ rVisualItem.mnMinGlyphPos ],
                 &nGlyphCount
                 );
         else
                 &mpGlyphProp[ rVisualItem.mnMinGlyphPos ].sva,
                 &nGlyphCount );
 
-
-
         // find and handle problems in the unicode to glyph conversion
         if( nRC == USP_E_SCRIPT_NOT_IN_FONT )
         {
                 mpCharProp,
                 nCharCount, 
                 mpOutGlyphs + rVisualItem.mnMinGlyphPos,
-                mpGlyphProp,
+                &mpGlyphProp[ rVisualItem.mnMinGlyphPos ],
                 nGlyphCount,
                 mpGlyphAdvances + rVisualItem.mnMinGlyphPos,
                 mpGlyphOffsets + rVisualItem.mnMinGlyphPos,