diff options
Diffstat (limited to 'x11-fonts/mkfontalias/files/patch-aa')
| -rw-r--r-- | x11-fonts/mkfontalias/files/patch-aa | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/x11-fonts/mkfontalias/files/patch-aa b/x11-fonts/mkfontalias/files/patch-aa deleted file mode 100644 index 8e595501020f..000000000000 --- a/x11-fonts/mkfontalias/files/patch-aa +++ /dev/null @@ -1,41 +0,0 @@ ---- mkfontalias.py.orig Wed Sep 26 12:44:13 2001 -+++ mkfontalias.py Wed Sep 26 12:45:50 2001 -@@ -71,22 +71,25 @@ - - map = _font_map.get ( name, None ) - -- if map: -- # Create a bunch of aliases, for each size -- for size in _font_sizes: -- # Do the 'cheating' - fallback to size if not in the cheat map -- real_size = _cheat_map.get ( size, size ) -+ if not map: -+ sys.stderr.write( "Warning: unknown font with name '%s'\n" % name ) -+ map = name - -- name = string.join ( entries[:7] + [ str(real_size), -- str(real_size * 10) ] + -- entries[9:], '-' ) -+ # Create a bunch of aliases, for each size -+ for size in _font_sizes: -+ # Do the 'cheating' - fallback to size if not in the cheat map -+ real_size = _cheat_map.get ( size, size ) - -- alias = string.join ( entries[:2] + [map] + entries[3:7] + -- [ str(size), str(size * 10) ] + -- _res + entries[11:], '-' ) -+ name = string.join ( entries[:7] + [ str(real_size), -+ str(real_size * 10) ] + -+ entries[9:], '-' ) - -- # Add the entry to the aliases -- _aliases.append ( '"%s" "%s"' % (alias, name) ) -+ alias = string.join ( entries[:2] + [map] + entries[3:7] + -+ [ str(size), str(size * 10) ] + -+ _res + entries[11:], '-' ) -+ -+ # Add the entry to the aliases -+ _aliases.append ( '"%s" "%s"' % (alias, name) ) - - # Boast - print 'Created %s aliases' % len(_aliases) |
