Closed GoogleCodeExporter closed 9 years ago
You must download and unpack the latest version of font-helpers
(http://code.google.com/p/font-helpers/ ) into the directory containing the
font sources. Svn version of font-helpers is preferable.
Original comment by andrej.panov
on 17 Feb 2011 at 12:40
Unfortunately, that does not work
+ cp -p /usr/share/font-helpers/add_accented.ff
/usr/share/font-helpers/add_accented_sc.ff
/usr/share/font-helpers/add_anchor_ext.ff
/usr/share/font-helpers/add_anchor_med.ff /usr/shar
e/font-helpers/add_anchor_y.ff /usr/share/font-helpers/add_fracs.ff
/usr/share/font-helpers/add_ipa.ff /usr/share/font-helpers/add_private.ff
/usr/share/font-helpers/add_subfigs.ff /us
r/share/font-helpers/add_supnum.ff /usr/share/font-helpers/alt_sub.ff
/usr/share/font-helpers/anchors.ff /usr/share/font-helpers/anchors_sc.ff
/usr/share/font-helpers/case_sub.ff /usr/
share/font-helpers/clean_empty_kerns.py /usr/share/font-helpers/combining.ff
/usr/share/font-helpers/combining_mono.ff
/usr/share/font-helpers/combining_sc.ff /usr/share/font-helpers/c
op_glyph.ff /usr/share/font-helpers/cop_kern.ff
/usr/share/font-helpers/cop_kern_acc.ff
/usr/share/font-helpers/cop_kern_left.ff
/usr/share/font-helpers/cop_kern_mult.ff /usr/share/fon
t-helpers/cop_kern_right.ff /usr/share/font-helpers/copy_anchors_acc.ff
/usr/share/font-helpers/dub_aligned.ff /usr/share/font-helpers/dub_glyph.ff
/usr/share/font-helpers/dub_glyph_ch
.ff /usr/share/font-helpers/dup_glyph_vertshift.ff
/usr/share/font-helpers/failkern.py /usr/share/font-helpers/getcvt.ff
/usr/share/font-helpers/hflip_glyph.ff /usr/share/font-helpers/
inst_acc.py /usr/share/font-helpers/liga_sub.ff
/usr/share/font-helpers/make_bottomaccent.ff
/usr/share/font-helpers/make_cap_accent.ff /usr/share/font-helpers/make_comb.ff
/usr/share/font-helpers/make_digraph.ff /usr/share/font-helpers/make_double.ff
/usr/share/font-helpers/make_dup_rot.ff
/usr/share/font-helpers/make_dup_vertshift.ff
/usr/share/font-helpers/make_frac.ff /usr/share/font-helpers/make_kern.ff
/usr/share/font-helpers/make_kern_sc.ff
/usr/share/font-helpers/make_superscript.ff
/usr/share/font-helpers/mergekern.ff /usr/share/font-helpers/new_glyph.ff
/usr/share/font-helpers/same_cyr_it.ff /usr/share/font-helpers/same_cyr_rm.ff
/usr/share/font-helpers/same_cyrext.ff
/usr/share/font-helpers/same_cyrext_sc.ff /usr/share/font-helpers/same_kern.ff
/usr/share/font-helpers/same_kern_sc.ff /usr/share/font-helpers/sc_sub.ff
/usr/share/font-helpers/scsmall_sub.ff /usr/share/font-helpers/serbsubs.ff
/usr/share/font-helpers/spaces_dashes.ff /usr/share/font-helpers/sub_onum.ff
/usr/share/font-helpers/tab_sub.ff /usr/share/font-helpers/vflip_glyph.ff .
+ make -j2
fontforge -lang=ff -script process.ff Heuristica-Regular UTRG__
fontforge -lang=ff -script process.ff Heuristica-Italic UTI___
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011.
Library based on sources from 13:48 GMT 22-Feb-2011.
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011.
Library based on sources from 13:48 GMT 22-Feb-2011.
fontforge -lang=py -script clean_empty_kerns.py -f -i Heuristica-Italic_.sfd
-o Heuristica-Italic_.sfd
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011.
Library based on sources from 13:48 GMT 22-Feb-2011.
Traceback (most recent call last):
File "clean_empty_kerns.py", line 70, in <module>
failkerns += (uni2name(b), uni2name(c)),
File "clean_empty_kerns.py", line 31, in uni2name
return font[font.findEncodingSlot(ord(unichar))].glyphname
TypeError: No such glyph
make: *** [Heuristica-Italic.otf] Error 1
make: *** Waiting for unfinished jobs....
font-helpers 1.1
fontforge 20110222
xgridfit 20100725cvs
python 2.7.1
PS : would it be possible to clean-up font-helpers so a few entry-points can be
installed in /usr/bin and the rest in /usr/share/font-helpers so it can be used
without copying all this stuff in the working dir every time ?
Original comment by nicolas....@gmail.com
on 4 Apr 2011 at 8:01
Try svn version of font-helpers, it should fix the issue.
>would it be possible to clean-up font-helpers so a few entry-points can be
installed in /usr/bin and the rest in /usr/share/font-helpers so it can be used
without copying all this stuff in the working dir every time
It will require major changes in installing font-helpers since fontforge
scripting language does not support "library" directories like
/usr/share/font-helpers. Some scripts have nesting calls to another ones. These
scripts seem to have very limited usage to be installed system-wide.
Original comment by andrej.panov
on 5 Apr 2011 at 2:15
Original issue reported on code.google.com by
ak...@tagoh.org
on 15 Feb 2011 at 6:11