ftroop
03-28-2005, 10:14 PM
My fonts broke! The fonts in 2.2.1 looked so nice. I want 'em back. I understand that the 2 beta uses system defaults for fonts now (though I don't understand why?). I tried to override this using the following:
<canvas width="1000" height="532" bgcolor="gray">
<font name="default" src="verity/verityplus11.ttf"/>
</canvas>
But regardless of the font I specify, I still get the same crappy looking font. The release notes claim:
"The compiler uses the correct font when "default" font is redefined and canvas font is *not* redefined.
<canvas>
<font src="helmetr.ttf" name="default" />
<text>helmet</text>
</canvas>
Works as expected."
What exactly does this mean? Perhaps I did something incorrectly? I am not specifying a font anywhere except immediately following the canvas tag.
Is there a way I can get the nice 2.2.1 fonts back using the 3.0b2 framework?
TIA.
<canvas width="1000" height="532" bgcolor="gray">
<font name="default" src="verity/verityplus11.ttf"/>
</canvas>
But regardless of the font I specify, I still get the same crappy looking font. The release notes claim:
"The compiler uses the correct font when "default" font is redefined and canvas font is *not* redefined.
<canvas>
<font src="helmetr.ttf" name="default" />
<text>helmet</text>
</canvas>
Works as expected."
What exactly does this mean? Perhaps I did something incorrectly? I am not specifying a font anywhere except immediately following the canvas tag.
Is there a way I can get the nice 2.2.1 fonts back using the 3.0b2 framework?
TIA.