Skip to content

Commit

Permalink
Opera 9.2 is now supported (down from 9.5). Closes #200. Thanks to Mo…
Browse files Browse the repository at this point in the history
…uvedia for bothering me enough to properly investigate this.
  • Loading branch information
sorccu committed Aug 2, 2011
1 parent f83674c commit 8f912eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/cufon.js
Expand Up @@ -1380,6 +1380,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 8f912eb

Please sign in to comment.