1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed an error when JUCE_CORETEXT_AVAILABLE = 0

This commit is contained in:
jules 2014-02-24 09:09:29 +00:00
parent 80387e8cb5
commit 25fe7c8490

View file

@ -1230,7 +1230,12 @@ Typeface::Ptr Typeface::createSystemTypefaceFor (const Font& font)
Typeface::Ptr Typeface::createSystemTypefaceFor (const void* data, size_t dataSize)
{
#if JUCE_CORETEXT_AVAILABLE
return new OSXTypeface (data, dataSize);
#else
jassertfalse; // You need CoreText enabled to use this feature!
return nullptr;
#endif
}
void Typeface::scanFolderForFonts (const File&)