-
Notifications
You must be signed in to change notification settings - Fork 479
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
Allow Open Contour Fonts? #459
Comments
Is the stroke width for these fonts defined by the |
I found some info in https://adobe-type-tools.github.io/font-tech-notes/pdfs/T1_SPEC.pdf that describes the different values for
opentype.js should be able to determine whether or not to add |
Hi @kevinbarabash, My |
Hey @HenrySkup did you ever find a solution to this. I have the same problem I'm trying to use a font from OneLineFonts to engrave text on a CNC machine with files generated through makerjs. The font has bezier and straight line versions but I get the same problem with both where it seems Opentype is closing the open paths causing duplicate lines in the output. Did you have any luck with the PaintType thing? If not could you help by pointing me in the right direction to experiment with the Z commands things as I can't see where that is? |
@kevinbarabash here's the specific font I'm using in case you are able to help at all, both the bezier and straight line versions attached |
@timdiacon for me the project has been on hold for some time, i will have to check on this. though i think in the end, i did the "remove the z command" route and baked that into the build flow... |
I think this should be fairly easy to implement, I'll have a look at it. |
Hi, I was wondering if there is a way to use single line fonts (like those listed here).
Expected Behavior
Current Behavior
Currently, open paths are automatically closed:
Possible Solution
I have been able to make it work by removing any "Z" command from the commands list. but this solution seems to be highly situationally dependent.
Context
I'm making a single-line font to use with a pen plotter. (Here is the trial font that I'm using (it only has a few glyphs, FYI).)
The goal is to use this font and easily insert the paths (extracted via opentype.js) into an SVG (or canvas if the need arises).
Your Environment
The text was updated successfully, but these errors were encountered: