vextab icon indicating copy to clipboard operation
vextab copied to clipboard

The notation looks a little blurry on my Macbook Pro with Retina display

Open walnutpedia opened this issue 9 years ago • 9 comments

still readable but a little blurry.

walnutpedia avatar Jul 15 '15 07:07 walnutpedia

hav you tried to use svg rendering?

See https://github.com/0xfe/vextab#quick-start

for SVG include RaphaelJS in a script tag before vextab-div.js

Xiphe avatar Aug 11 '15 08:08 Xiphe

@Xiphe Including RaphaelJS doesn't help. Still blurry. Any ideas why?

kostia avatar Dec 15 '15 13:12 kostia

sorry, have not worked with this project in a long time. i just remembered that svg worked fine for me when i played around with this.

Xiphe avatar Dec 15 '15 17:12 Xiphe

@Xiphe Why, its a amasing project

solody avatar Dec 16 '15 02:12 solody

@kostia The Raphael backend is deprecated. Use the VexFlow SVG backend instead. It will render without blur on retina machines.

0xfe avatar Dec 16 '15 02:12 0xfe

@0xfe Tried Vex.Flow.Renderer.Backends.CANVAS, but unfortunately it still looks a little bit blurry: bildschirmfoto 2015-12-16 um 20 21 26

kostia avatar Dec 16 '15 19:12 kostia

You need to use Render.Backends.SVG not CANVAS.

0xfe avatar Dec 16 '15 19:12 0xfe

Is there an example on how to use the SVG backend? Tried new Vex.Flow.Renderer(output.get(0), Vex.Flow.Renderer.Backends.CANVAS), but getting an error Uncaught RuntimeError: No support for backend: 3 from https://github.com/0xfe/vextab/blob/master/releases/vextab-div.js#L22203-L22205.

kostia avatar Dec 16 '15 20:12 kostia

You'll need to build vextab using a recent vexflow version.

On Wed, Dec 16, 2015 at 3:46 PM, Kostiantyn Kahanskyi < [email protected]> wrote:

Is there an example on how to use the SVG backend? Tried new Vex.Flow.Renderer(output.get(0), Vex.Flow.Renderer.Backends.CANVAS), but getting an error Uncaught RuntimeError: No support for backend: 3 from https://github.com/0xfe/vextab/blob/master/releases/vextab-div.js#L22203-L22205 .

— Reply to this email directly or view it on GitHub https://github.com/0xfe/vextab/issues/63#issuecomment-165234016.

Mohit Muthanna [mohit (at) muthanna (uhuh) com]

0xfe avatar Dec 16 '15 20:12 0xfe