-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for quad curves in font writing #84
Comments
Hi, Thanks for the bug report. The error shows that quad curves are currently not supported. A workaround is to use only fonts with bézier curves – that is, fonts that use I'll add support for quad curves soon. |
Thank you for your work, I'm looking forward to this feature! |
from https://raw.githubusercontent.com/DmitryBaranovskiy/raphael/master/raphael.js q2c = function (x1, y1, ax, ay, x2, y2) {
var _13 = 1 / 3,
_23 = 2 / 3;
return [
_13 * x1 + _23 * ax,
_13 * y1 + _23 * ay,
_13 * x2 + _23 * ax,
_13 * y2 + _23 * ay,
x2,
y2
];
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
trueType use
toBuffer ()
anddownload ()
method error.BUG DEMO:
http://aui.github.io/demo/opentype.js/readwrite-ttf.html
The text was updated successfully, but these errors were encountered: