1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Minor clean-ups.

This commit is contained in:
Julian Storer 2010-04-15 11:09:20 +01:00
parent e6237b5154
commit c76e500574
32 changed files with 329 additions and 357 deletions

View file

@ -413,16 +413,12 @@ public:
}
// Add a glyph to a font
bool addGlyphToFont (const uint32 character,
const tchar* fontName, bool bold, bool italic,
CustomTypeface& dest)
bool addGlyphToFont (const uint32 character, const String& fontName,
bool bold, bool italic, CustomTypeface& dest)
{
FT_Face face = createFT_Face (fontName, bold, italic);
if (face != 0)
return addGlyph (face, dest, character);
return false;
return face != 0 && addGlyph (face, dest, character);
}
//==============================================================================