- // The given font has not been validated.
- int validCharacterIndex = fontClient.GetGlyphIndex(cachedDefaultFontId, character );
-
- if( isValidCachedDefaultFont && validCharacterIndex != 0u )
- {
- // Use the cached default font for the script if there is one.
- fontId = cachedDefaultFontId;
- }
- else
- {
- // There is no valid cached default font for the script.
-
- DefaultFonts* defaultFontsPerScript = NULL;
+ // Use the cached default font for the script if there is one.
+ fontId = cachedDefaultFontId;
+ }
+ else
+ {
+ // There is no valid cached default font for the script.