-
Fixed - loads great now: https://www.espruino.com/ide/emulator.html?gist=27711cd5003478d18f3c0dbea9e6cb61&upload
Wow, this is really nice. I was not really using vector font (even compiled it out from build to save space) becasue the output quality was not that great but this is very good. Thank you @NebbishHacker
Since it is vector based, can it be scaled in both dimensions? like g.setFont("Vector",14,16) so the height is 14 and width of largest letter 16 - i.e. to make it more fat? Or thin/condensed when I really want to fit more letters but still have the full height available?
Fixed - loads great now: https://www.espruino.com/ide/emulator.html?gist=27711cd5003478d18f3c0dbea9e6cb61&upload
Sorry - I was originally using your demo code and everything was ok, then for the most recent change I reconverted it and must have messed things up.
I also pushed my other change, which was to move fillPoly to using 16x fixed point numbers, which should make this stuff a lot smoother. @NebbishHacker I know you'd got some demo code that did rotation with your SVGs, and now you can just avoid doing
Math.round
on the coordinates you send in and they should move much more nicely.1 Attachment