Kaydet (Commit) d99a715e authored tarafından Michael Stahl's avatar Michael Stahl

GenericSalLayout::KashidaJustify: STL assertion

error: attempt to compare a dereferenceable iterator to a singular iterator.
(regression from 6bb68cae)
üst 1024c172
...@@ -1177,7 +1177,8 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth ) ...@@ -1177,7 +1177,8 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth )
// calculate max number of needed kashidas // calculate max number of needed kashidas
int nKashidaCount = 0; int nKashidaCount = 0;
for( GlyphVector::iterator pG = m_GlyphItems.begin(), pGEnd = m_GlyphItems.end(); pG != pGEnd; ++pG ) for (GlyphVector::iterator pG = m_GlyphItems.begin();
pG != m_GlyphItems.end(); ++pG)
{ {
// only inject kashidas in RTL contexts // only inject kashidas in RTL contexts
if( !pG->IsRTLGlyph() ) if( !pG->IsRTLGlyph() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment