Browse Source

Linux + android font stuff.

tags/2021-05-28
jules 14 years ago
parent
commit
7d7d8ff781
3 changed files with 11 additions and 1 deletions
  1. +1
    -1
      modules/juce_graphics/juce_graphics.h
  2. +5
    -0
      modules/juce_graphics/native/juce_android_Fonts.cpp
  3. +5
    -0
      modules/juce_graphics/native/juce_linux_Fonts.cpp

+ 1
- 1
modules/juce_graphics/juce_graphics.h View File

@@ -46,7 +46,7 @@
management and layout.
*/
#ifndef JUCE_USE_DIRECTWRITE
#define JUCE_USE_DIRECTWRITE 1
#define JUCE_USE_DIRECTWRITE 0
#endif
#ifndef JUCE_INCLUDE_PNGLIB_CODE


+ 5
- 0
modules/juce_graphics/native/juce_android_Fonts.cpp View File

@@ -218,3 +218,8 @@ Typeface::Ptr Typeface::createSystemTypefaceFor (const Font& font)
{
return new AndroidTypeface (font);
}
bool GlyphLayout::createNativeLayout (const AttributedString&)
{
return false;
}

+ 5
- 0
modules/juce_graphics/native/juce_linux_Fonts.cpp View File

@@ -542,3 +542,8 @@ Typeface::Ptr Font::getDefaultTypefaceForFont (const Font& font)
f.setTypefaceName (faceName);
return Typeface::createSystemTypefaceFor (f);
}
bool GlyphLayout::createNativeLayout (const AttributedString&)
{
return false;
}

Loading…
Cancel
Save