- Length widthIndex = 0u;
- Length slantIndex = 0u;
- Length sizeIndex = 0u;
-
- // Traverse all the characters.
- const CharacterIndex lastCharacterPlusOne = startIndex + numberOfCharacters;
- for( CharacterIndex index = startIndex; index < lastCharacterPlusOne; ++index )
+ Length widthIndex = 0u;
+ Length slantIndex = 0u;
+ Length sizeIndex = 0u;
+
+ bool familyOverriden = false;
+ bool weightOverriden = false;
+ bool widthOverriden = false;
+ bool slantOverriden = false;
+ bool sizeOverriden = false;
+
+ // Traverse all the font descriptions.
+ const FontDescriptionRun* const fontDescriptionsBuffer = fontDescriptions.Begin();
+ for(Vector<FontDescriptionRun>::ConstIterator it = fontDescriptionsBuffer,
+ endIt = fontDescriptions.End();
+ it != endIt;
+ ++it, ++runIndex)