Coder Social home page Coder Social logo

danlin_modules's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

danlin_modules's Issues

Reflect version in juce_module_info

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 :))

Memory leak on close app

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.

DrawIcon not exists

hi:
the DrawIcon function does not exist. Is the example usage in README not correct?

Crash on Android

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)``` 

Crash on application close

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);

fontawesome_error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.