}
// Retrieves the glyph's color.
- const ColorIndex colorIndex = *( colorIndexBuffer + glyphIndex );
+ const ColorIndex colorIndex = useDefaultColor ? 0u : *( colorIndexBuffer + glyphIndex );
Vector4 color;
if ( style == Typesetter::STYLE_SHADOW )
{
fontClient.CreateBitmap( glyphInfo->fontId,
glyphInfo->index,
+ glyphInfo->softwareItalic,
+ glyphInfo->softwareBold,
glyphData.glyphBitmap,
outlineWidth );
}