Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
194ea104bd
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      build/macosx/platform_specific_code/juce_mac_Fonts.cpp

+ 6
- 0
build/macosx/platform_specific_code/juce_mac_Fonts.cpp View File

@@ -398,6 +398,9 @@ void Typeface::initialiseTypefaceCharacteristics (const String& fontName,
bool italic,
bool addAllGlyphsToFont) throw()
{
// This method is only safe to be called from the normal UI thread..
jassert (MessageManager::getInstance()->isThisTheMessageThread());
ATSFontHelper* const helper = ATSFontHelperCache::getInstance()
->getFont (fontName, bold, italic);
@@ -419,6 +422,9 @@ void Typeface::initialiseTypefaceCharacteristics (const String& fontName,
bool Typeface::findAndAddSystemGlyph (juce_wchar character) throw()
{
// This method is only safe to be called from the normal UI thread..
jassert (MessageManager::getInstance()->isThisTheMessageThread());
ATSFontHelper* const helper = ATSFontHelperCache::getInstance()
->getFont (getName(), isBold(), isItalic());


Loading…
Cancel
Save