Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Opera 9.2 is now supported (down from 9.5). Closes sorccu#200. Thanks…
… to Mouvedia for bothering me enough to properly investigate this.
  • Loading branch information
sorccu committed Aug 2, 2011
1 parent 87045f4 commit 6c3ad9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/cufon.js
Expand Up @@ -1406,6 +1406,10 @@ Cufon.registerEngine('canvas', (function() {
if (!glyph) continue;
if (glyph.d) {
g.beginPath();
// the following moveTo is for Opera 9.2. if we don't
// do this, it won't forget the previous path which
// results in garbled text.
g.moveTo(0, 0);
if (glyph.code) interpret(glyph.code, g);
else glyph.code = generateFromVML('m' + glyph.d, g);
g.fill();
Expand Down

0 comments on commit 6c3ad9e

Please sign in to comment.