Git Product home page Git Product logo

Comments (5)

pensan avatar pensan commented on July 23, 2024

same problem here (opera 11.01 mac)

from easeljs.

sernst avatar sernst commented on July 23, 2024

Seeing the same issue in Opera 11.50.

from easeljs.

Mithrandir0x avatar Mithrandir0x commented on July 23, 2024

Using EaselJS 0.4.0, I have the same problem with Chrome v17.0.963.26 beta-m. Although I am not totally sure if it is related to the fact I am using the Beta Channel, or something that has been changed in v17.

I tried with versions v16.0.912.75 (both on Mac and Windows 7), and the text objects where rendered correctly.

With EaselJS 0.3.2 happens the same.

from easeljs.

vasilpavlov avatar vasilpavlov commented on July 23, 2024

Hi,
I'm playing around with Easel as well. I had the same problem. I have found that if the text has maxWidth property seted it is rendered ok on Chrome 17.0.9 (Mac). If the text doesn't have maxWidth it isn't rendered in Chrome. On Firefox 6.0 the text is rendered in the both cases. I think that it has to do with the ctx.fillText(text, 0, y, this.maxWidth), last parameter default value. May be in the Text class we could calculate some default maxWidth for browser consistency.
Either way for now you just have to give all your texts a maxWidth value. I hope this helps.

from easeljs.

gskinner avatar gskinner commented on July 23, 2024

This has been resolved.

from easeljs.

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.