]> git.donarmstrong.com Git - lilypond.git/blob - buildscripts/make-font-dir.py
f81fe87baf9918e0d4b65f9dee8360a3c06103df
[lilypond.git] / buildscripts / make-font-dir.py
1 #!@PYTHON
2
3
4 ## make a fonts.scale file.
5
6 import re
7 import sys
8 import string
9 ls =  sys.stdin.readline ()
10 ls = string.split (ls)
11 print len(ls)
12 for fn in ls:
13     name = re.sub ('\.pf[ab]', '',fn)    
14     name = re.sub ('-', ' ',name)
15
16     print '%s -misc-%s-regular-r-normal--0-0-0-0-p-0-adobe-fontspecific' % (fn, name)
17     
18