Giter Site home page Giter Site logo

Screen Resolution about carota HOT 4 CLOSED

danielearwicker avatar danielearwicker commented on May 25, 2024
Screen Resolution

from carota.

Comments (4)

henrikbjorn avatar henrikbjorn commented on May 25, 2024

👍

from carota.

gertsonderby avatar gertsonderby commented on May 25, 2024

This might be fixable with using the device pixel ratio to set the resolution things are rendered with. I'd expect other DPR>1 devices (e.g. new cellphones, tablets, Chromebook Pixel, etc.) to show this same problem. Currently, devices seem to have topped at DPR=3 (circa 5" 1080p screen), but devices with DPR=1.25, 1.5, and 2 are common still. Devices with DPR<1 are rare by now, and were never very common.

from carota.

danielearwicker avatar danielearwicker commented on May 25, 2024

Thanks @gertsonderby, I will try that. Details appear to be here: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/HTML-canvas-guide/SettingUptheCanvas/SettingUptheCanvas.html

An issues with rendering speed on Linux have also been noted. It may be better if I separate the rendering from the layout/editing logic and allow different rendering mechanisms to be plugged in, so the integrator can choose from canvas, HTML, SVG, etc. whichever best suits the system they are integrating with.

from carota.

danielearwicker avatar danielearwicker commented on May 25, 2024

Only just got a new MBP so finally able to look at this. Have tested fix on Safari 7.0.4, Chrome 35 and Firefox 29.0.1.

from carota.

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.