Kaydet (Commit) 63039fc6 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: fix up merge

üst aecaf186
...@@ -416,14 +416,14 @@ namespace cairocanvas ...@@ -416,14 +416,14 @@ namespace cairocanvas
typedef std::pair<SystemFontData,int> FontLevel; typedef std::pair<SystemFontData,int> FontLevel;
typedef std::vector<FontLevel> FontLevelVector; typedef std::vector<FontLevel> FontLevelVector;
FontLevelVector aFontData; FontLevelVector aFontData;
SystemGlyphDataVector::const_iterator aIter=aSysLayoutData.rGlyphData.begin(); SystemGlyphDataVector::const_iterator aGlyphIter=aSysLayoutData.rGlyphData.begin();
const SystemGlyphDataVector::const_iterator aEnd=aSysLayoutData.rGlyphData.end(); const SystemGlyphDataVector::const_iterator aGlyphEnd=aSysLayoutData.rGlyphData.end();
for( ; aIter != aEnd; ++aIter ) for( ; aGlyphIter != aGlyphEnd; ++aGlyphIter )
{ {
if( aFontData.empty() || aIter->fallbacklevel != aFontData.back().second ) if( aFontData.empty() || aGlyphIter->fallbacklevel != aFontData.back().second )
{ {
aFontData.push_back(FontLevel(rOutDev.GetSysFontData(aIter->fallbacklevel), aFontData.push_back(FontLevel(rOutDev.GetSysFontData(aGlyphIter->fallbacklevel),
aIter->fallbacklevel)); aGlyphIter->fallbacklevel));
if( !isCairoRenderable(aFontData.back().first) ) if( !isCairoRenderable(aFontData.back().first) )
{ {
bCairoRenderable = false; bCairoRenderable = false;
...@@ -476,11 +476,10 @@ namespace cairocanvas ...@@ -476,11 +476,10 @@ namespace cairocanvas
std::vector<cairo_glyph_t> cairo_glyphs; std::vector<cairo_glyph_t> cairo_glyphs;
cairo_glyphs.reserve( 256 ); cairo_glyphs.reserve( 256 );
SystemGlyphDataVector::const_iterator aIter=aSysLayoutData.rGlyphData.begin(); aGlyphIter=aSysLayoutData.rGlyphData.begin();
const SystemGlyphDataVector::const_iterator aEnd=aSysLayoutData.rGlyphData.end(); for( ; aGlyphIter != aGlyphEnd; ++aGlyphIter )
for( ; aIter != aEnd; ++aIter )
{ {
SystemGlyphData systemGlyph = *aIter; SystemGlyphData systemGlyph = *aGlyphIter;
if( systemGlyph.fallbacklevel != aFontDataIter->second ) if( systemGlyph.fallbacklevel != aFontDataIter->second )
continue; continue;
......
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