Python in FL5, Image and Trace.
Options

Jeremy Dooley
Posts: 67
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
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 556 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 110 Lettering and Calligraphy
- 31 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports