const PointSize26Dot6 FontClient::DEFAULT_POINT_SIZE = 768u; // 12*64
FontClient::GlyphBufferData::GlyphBufferData()
-: buffer( NULL ),
+: buffer( nullptr ),
width( 0u ),
height( 0u ),
format( Pixel::A8 )
return GetImplementation(*this).GetGlyphMetrics( array, size, type, horizontal );
}
-void FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, GlyphBufferData& data, int outlineWidth )
+void FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, bool softwareItalic, bool softwareBold, GlyphBufferData& data, int outlineWidth )
{
- GetImplementation(*this).CreateBitmap( fontId, glyphIndex, data, outlineWidth );
+ GetImplementation(*this).CreateBitmap( fontId, glyphIndex, softwareItalic, softwareBold, data, outlineWidth );
}
PixelData FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, int outlineWidth )
return GetImplementation(*this).IsColorGlyph( fontId, glyphIndex );
}
+bool FontClient::AddCustomFontDirectory( const FontPath& path )
+{
+ return GetImplementation(*this).AddCustomFontDirectory( path );
+}
+
FontClient::FontClient( Internal::FontClient* internal )
: BaseHandle( internal )
{