|
From: Dave <da...@co...> - 2012-04-10 18:02:37
|
Thanks Khaled! I'm trying to use this python code but it doesn't seem to work: glyph = font.createChar(32) glyph.width = 200 However when it generates the fonts, there are no space characters. Am I doing something wrong? On Tue, Apr 10, 2012 at 1:56 PM, Khaled Hosny <kha...@eg...> wrote: > On Tue, Apr 10, 2012 at 12:37:02PM -0400, Dave wrote: > > Hi, > > > > I'm trying to create a new font based on SVG files. I've got a python > script > > that goes through, creates the characters / imports the outlines > properly. > > However, I am having trouble with the space character (unicode 32). If I > create > > it through the GUI it shows up in the otf file properly. However if I > export > > the character from the GUI into an SVG or EPS file and try to include it > in the > > script, I get this error: > > > > I'm sorry this file is too complex for me to understand (or is > erroneous, or is > > empty) > > Check the generated SVG or EPS file may be it is empty as the error > message says. Anyway, for space all you need is to set the glyph width > since it contains no outlines, you don't need to import anything into > it. > > Regards, > Khaled > -- Find me on Cowbird: http://cowbird.com/author/dave |