danlin / danlin_modules Goto Github PK
View Code? Open in Web Editor NEWmy juce modules
License: MIT License
my juce modules
License: MIT License
Version in juce_module_info is 4.2, FontAwesome version is 4.3.
Also suggest adding your own versioning separately to the FontAwesome version, to show updates/improvements not to do with FontAwesome (such as the bug fix :))
A FontAwesome object is hitting the memory leak detection jassert at juce_LeakedObjectDetector.h:90
when I close my app via the window's title bar close button on MacOS. Haven't tested with Windows yet.
hi:
the DrawIcon function does not exist. Is the example usage in README not correct?
I've added the module to my JUCE project, but when I call DrawIcon
from a paint
method I get
Use of undeclared identifier 'DrawIcon'
Just to let you know, it seems that the FontAwesome module is causing a crash on Android. Took me a while to get a useful stack trace from the debugger but here it is for your info.
I've also sent this to the JUCE team to see if there is something they can fix on their side.
This is just from including the module in the project, not calling any methods.
0x55c483e0 in juce::CharPointer_UTF8::CharPointer_UTF8 (this=0x516a0490, other=...)
at ../../../../juce/modules/stk_module/../juce_core/text/juce_CharPointer_UTF8.h:48
48 inline CharPointer_UTF8 (const CharPointer_UTF8& other) noexcept
(gdb) info stack
#0 0x55c483e0 in juce::CharPointer_UTF8::CharPointer_UTF8 (this=0x516a0490, other=...)
at ../../../../juce/modules/stk_module/../juce_core/text/juce_CharPointer_UTF8.h:48
#1 0x55ea8184 in juce::String::~String (this=0x56549cfc <_ZL23FontAwesome_File_Text_O>, __in_chrg=<optimized out>)
at jni/../../../../../juce/modules/juce_core/text/juce_String.cpp:254
#2 0x401fdca2 in __cxa_finalize () from /Users/adamelemental/dev/juce_projects/JustTuner/Builds/Android/obj/local/armeabi-v7a/libc.so
#3 0x401d120a in exit () from /Users/adamelemental/dev/juce_projects/JustTuner/Builds/Android/obj/local/armeabi-v7a/libc.so
#4 0x55edd8f4 in juce::getEnv () at jni/../../../../../juce/modules/juce_core/native/juce_android_SystemStats.cpp:114
#5 0x55fcca24 in juce::AndroidTypeface::AndroidTypeface (this=0x516ae518, data=0x562c7700 <temp1>, size=122092)
at jni/../../../../../juce/modules/juce_graphics/native/juce_android_Fonts.cpp:170
#6 0x55fcd9a4 in juce::Typeface::createSystemTypefaceFor (data=0x562c7700 <temp1>, size=122092)
at jni/../../../../../juce/modules/juce_graphics/native/juce_android_Fonts.cpp:345
#7 0x55d553e0 in FontAwesomeHelper::FontAwesomeHelper (this=0x5654ac58 <FontAwesome>)
at jni/../../../../../juce_modules/danlin_modules/modules/danlin_fontawesome/src/FontAwesome.h:21
#8 0x55d631ec in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535)
at jni/../../../../../juce_modules/danlin_modules/modules/danlin_fontawesome/src/FontAwesome.cpp:80
#9 0x55d63404 in _GLOBAL__sub_I_danlin_fontawesome.cpp(void) ()
at jni/../../../../../juce_modules/danlin_modules/modules/danlin_fontawesome/src/FontAwesome.cpp:80
#10 0x40087cde in _start () from /Users/adamelemental/dev/juce_projects/JustTuner/Builds/Android/obj/local/armeabi-v7a/linker
#11 0x400892ee in ?? () from /Users/adamelemental/dev/juce_projects/JustTuner/Builds/Android/obj/local/armeabi-v7a/linker
#12 0x40086f28 in _start () from /Users/adamelemental/dev/juce_projects/JustTuner/Builds/Android/obj/local/armeabi-v7a/linker
#13 0x41a71614 in ?? ()
#14 0x41a71614 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)```
Hey,
I get the attached error once I close my Juce application, when having the module implemented in my paint callback like this:
FontAwesome::drawAt(g, FontAwesome_BarChartO, size, colour, x, y);
Everything works fine up until I close the app, then this error, from which I can't read anything occurs. Any ideas what's happening here? It doesn't happen once I comment out the drawAt()
line from my paint function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.