Browse Source

Fix for Android font creation

tags/2021-05-28
jules 9 years ago
parent
commit
09867e15d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_graphics/native/juce_android_Fonts.cpp

+ 1
- 1
modules/juce_graphics/native/juce_android_Fonts.cpp View File

@@ -165,7 +165,7 @@ public:
}
AndroidTypeface (const void* data, size_t size)
: Typeface (String(), String())
: Typeface (String (static_cast<uint64> (reinterpret_cast<uintptr_t> (data))), String())
{
JNIEnv* const env = getEnv();


Loading…
Cancel
Save