Python in FL5, Image and Trace.

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.9K Typeface Design
- 481 Type Design Critiques
- 558 Type Design Software
- 1.1K Type Design Technique & Theory
- 648 Type Business
- 841 Font Technology
- 29 Punchcutting
- 515 Typography
- 119 Type Education
- 320 Type History
- 76 Type Resources
- 110 Lettering and Calligraphy
- 31 Lettering Critiques
- 79 Lettering Technique & Theory
- 540 Announcements
- 88 Events
- 112 Job Postings
- 168 Type Releases
- 171 Miscellaneous News
- 275 About TypeDrawers
- 53 TypeDrawers Announcements
- 120 Suggestions and Bug Reports