Fontforge Python module — is sue in drawing in character uni00B5
Dimitre Lima <[email protected]>
| Newsgroups | gmane.comp.fonts.fontforge.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm having issues lately with some extended characters using Fontforge Python extension.
I've reduced to the minimum code to reproduce the issue which is the following:
import fontforge
import random
font = fontforge.font()
font.encoding = "UnicodeBmp"
caracter = 'uni00B5'
font.createMappedChar(caracter).unicode
pen = font[caracter].glyphPen()
The result is the following error:
File "min.py", line 8, in <module>
pen = font[caracter].glyphPen()
TypeError: No such glyph
Any idea if is a Fontforge issue or if I have to use another encoding?
Thank you,
Dimitre
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk