Python in FL5, Image and Trace.
Jeremy Dooley
Posts: 68
I'm having difficulty with adding an image to the background layer. I can create the image no problem with g.Rasterize(imagexyz), but I don't see anything about adding it to the glyph again.
I'm doing some stuff with PIL, but I can't even get that far until I can add the image to the glyph to trace it.
Trace(imagexyz) does not work. It appears there is a bug with Trace.
relevant documentation:
Any help is appreciated. Thank you,
Jdooley
Jdooley
0
Comments
-
Here's the way:
imagexyz.Trace(g)
0 -
Yeah, so this works, but the traced image gets put at (0,0)I thought about adding a pixel to fix the sidebearings, but glyphs with descenders get put in at 0,0 as well. Any ideas on how to fix this?Manually tracing a background image works fine and inserts the trace results exactly where they should go.0
Categories
- All Categories
- 47 Introductions
- 4K Typeface Design
- 495 Type Design Critiques
- 577 Type Design Software
- 1.1K Type Design Technique & Theory
- 670 Type Business
- 885 Font Technology
- 29 Punchcutting
- 538 Typography
- 125 Type Education
- 332 Type History
- 81 Type Resources
- 113 Lettering and Calligraphy
- 33 Lettering Critiques
- 80 Lettering Technique & Theory
- 569 Announcements
- 100 Events
- 116 Job Postings
- 170 Type Releases
- 182 Miscellaneous News
- 270 About TypeDrawers
- 54 TypeDrawers Announcements
- 114 Suggestions and Bug Reports