From: hanwen Date: Sun, 19 Feb 2006 02:22:09 +0000 (+0000) Subject: (Char_metric.__init__): remove X-Git-Tag: release/2.7.38^2~105 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cd87155144a00700fe90a4cdff4601259665ed5f;p=lilypond.git (Char_metric.__init__): remove tfm_checksum stuff. --- diff --git a/ChangeLog b/ChangeLog index 9399aabdff..78d662f97a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-02-19 Han-Wen Nienhuys + * buildscripts/mf-to-table.py (Char_metric.__init__): remove + tfm_checksum stuff. + * lily/tie-formatting-problem.cc (from_lv_ties): add heads for common refpoint. diff --git a/buildscripts/mf-to-table.py b/buildscripts/mf-to-table.py index f675e98900..f2f9ef7841 100644 --- a/buildscripts/mf-to-table.py +++ b/buildscripts/mf-to-table.py @@ -13,9 +13,6 @@ import string import re import time - -postfixes = ['log', 'dvi', '2602gf', 'tfm'] - def read_log_file (fn): str = open (fn).read () str = re.sub ('\n', '', str) @@ -41,21 +38,6 @@ class Char_metric: def __init__ (self): pass - -def tfm_checksum (fn): - sys.stderr.write ("Reading checksum from `%s'\n" % fn) - s = open (fn).read () - s = s[ 12 * 2 : ] - cs_bytes = s[:4] - - shift = 24 - cs = 0 - for b in cs_bytes: - cs = cs + (long (ord (b)) << shift) - shift = shift - 8 - - return cs - font_family = 'feta' def parse_logfile (fn): @@ -258,7 +240,6 @@ base = re.sub ('.tex$', '', texfile_nm) for filenm in files: (g, m, deps) = parse_logfile (filenm) - cs = tfm_checksum (re.sub ('.log$', '.tfm', filenm)) write_tex_defs (open (texfile_nm, 'w'), g, m) enc_name = 'FetaEncoding'