Giter Site home page Giter Site logo

memory problems about mdhtmllabel HOT 8 CLOSED

yestoall avatar yestoall commented on June 12, 2024
memory problems

from mdhtmllabel.

Comments (8)

mattdonnelly avatar mattdonnelly commented on June 12, 2024

I haven't encountered this myself, but if you send me a example project demonstrating the problem I'll be happy to look in to it

from mdhtmllabel.

yestoall avatar yestoall commented on June 12, 2024

now it works perfect... but i need to test more.

i'm using your code on a rubymotion project, and is a big one... difficult to share my testing problems.

great work.
thanks for your work.

from mdhtmllabel.

yestoall avatar yestoall commented on June 12, 2024

after more testing i detect that font inherit is not working

label.font = [UIFont fontWithName:"ComicSans" size:20]
label.htmlText = "hello world"

"world" is not in ComicSans

from mdhtmllabel.

mattdonnelly avatar mattdonnelly commented on June 12, 2024

Comic Sans is not installed on iOS: http://iosfonts.com

from mdhtmllabel.

yestoall avatar yestoall commented on June 12, 2024

it's only a funny example... try with another font

label.font = [UIFont fontWithName:"HelveticaNeue-Black" size:20]
label.htmlText = "hello world"

"hello" is HelveticaNeue-Black but "world" is default font

from mdhtmllabel.

mattdonnelly avatar mattdonnelly commented on June 12, 2024

I'm not actually able to recreate this for some reason. Any font I specify gets properly applied to the text. Could this be a problem with RubyMotion possibly?

from mdhtmllabel.

yestoall avatar yestoall commented on June 12, 2024

so, maybe is a rubymotion problem...

excellent work
with a lot of testing finished the memory problems are history :)

from mdhtmllabel.

mattdonnelly avatar mattdonnelly commented on June 12, 2024

Glad to hear it. I'll close this issue for now

from mdhtmllabel.

Related Issues (20)

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.