{
FontClient::FontClient()
-: mPlugin( NULL ),
+: mPlugin( nullptr ),
mDpiHorizontal( 0 ),
mDpiVertical( 0 )
{
return mPlugin->GetGlyphMetrics( array, size, type, horizontal );
}
-void FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, Dali::TextAbstraction::FontClient::GlyphBufferData& data, int outlineWidth )
+void FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, bool softwareItalic, bool softwareBold, Dali::TextAbstraction::FontClient::GlyphBufferData& data, int outlineWidth )
{
CreatePlugin();
- mPlugin->CreateBitmap( fontId, glyphIndex, data, outlineWidth );
+ mPlugin->CreateBitmap( fontId, glyphIndex, softwareItalic, softwareBold, data, outlineWidth );
}
PixelData FontClient::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, int outlineWidth )
return mPlugin->IsColorGlyph( fontId, glyphIndex );
}
+FT_FaceRec_* FontClient::GetFreetypeFace( FontId fontId )
+{
+ CreatePlugin();
+
+ return mPlugin->GetFreetypeFace( fontId );
+}
+
bool FontClient::AddCustomFontDirectory( const FontPath& path )
{
CreatePlugin();