LEFT | RIGHT |
(no file at all) | |
1 #!@PYTHON@ | 1 #!@PYTHON@ |
2 import sys | 2 import sys |
3 import getopt | 3 import getopt |
4 import re | 4 import re |
5 import os | 5 import os |
6 | 6 |
7 (options, files) = \ | 7 (options, files) = \ |
8 getopt.getopt (sys.argv[1:], | 8 getopt.getopt (sys.argv[1:], |
9 '', | 9 '', |
10 ['dir=']) | 10 ['dir=']) |
(...skipping 26 matching lines...) Expand all Loading... |
37 notice += "this font, and embed this font or unaltered portions of this "; | 37 notice += "this font, and embed this font or unaltered portions of this "; |
38 notice += "font into the document, this font does not by itself cause the "; | 38 notice += "font into the document, this font does not by itself cause the "; |
39 notice += "resulting document to be covered by the GNU General Public License.";
; | 39 notice += "resulting document to be covered by the GNU General Public License.";
; |
40 | 40 |
41 SetFontNames("%(name)s-%(design_size)d", "%(name)s-%(design_size)d", "%(name)s-%
(design_size)d", "", notice, "@TOPLEVEL_VERSION@"); | 41 SetFontNames("%(name)s-%(design_size)d", "%(name)s-%(design_size)d", "%(name)s-%
(design_size)d", "", notice, "@TOPLEVEL_VERSION@"); |
42 | 42 |
43 MergeFonts("feta%(design_size)d.pfb"); | 43 MergeFonts("feta%(design_size)d.pfb"); |
44 MergeFonts("feta-noteheads%(design_size)d.pfb"); | 44 MergeFonts("feta-noteheads%(design_size)d.pfb"); |
45 MergeFonts("feta-flags%(design_size)d.pfb"); | 45 MergeFonts("feta-flags%(design_size)d.pfb"); |
46 MergeFonts("parmesan%(design_size)d.pfb"); | 46 MergeFonts("parmesan%(design_size)d.pfb"); |
| 47 MergeFonts("parmesan-noteheads%(design_size)d.pfb"); |
47 | 48 |
48 # load nummer/din after setting PUA. | 49 # load nummer/din after setting PUA. |
49 i = 0; | 50 i = 0; |
50 while (i < CharCnt()) | 51 while (i < CharCnt()) |
51 Select(i); | 52 Select(i); |
52 # crashes fontforge, use PUA for now -- jcn | 53 # crashes fontforge, use PUA for now -- jcn |
53 # SetUnicodeValue(i + 0xF0000, 0); | 54 # SetUnicodeValue(i + 0xF0000, 0); |
54 /* | 55 /* |
55 PRIVATE AREA | 56 PRIVATE AREA |
56 In the BMP, the range 0xe000 to 0xf8ff will never be assigned to any | 57 In the BMP, the range 0xe000 to 0xf8ff will never be assigned to any |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 path = os.path.join (outdir, '%s-%d.dep' % (filename, design_size)) | 99 path = os.path.join (outdir, '%s-%d.dep' % (filename, design_size)) |
99 | 100 |
100 deps = r'''%(filename)s-%(design_size)d.otf: $(outdir)/feta%(design_size)d.p
fa \ | 101 deps = r'''%(filename)s-%(design_size)d.otf: $(outdir)/feta%(design_size)d.p
fa \ |
101 $(outdir)/parmesan%(design_size)d.pfa \ | 102 $(outdir)/parmesan%(design_size)d.pfa \ |
102 $(outdir)/feta-alphabet%(design_size)d.pfa feta%(design_size)d.otf-table \ | 103 $(outdir)/feta-alphabet%(design_size)d.pfa feta%(design_size)d.otf-table \ |
103 $(outdir)/feta-alphabet%(design_size)d.pfa feta%(design_size)d.otf-gtable | 104 $(outdir)/feta-alphabet%(design_size)d.pfa feta%(design_size)d.otf-gtable |
104 ''' % vars() | 105 ''' % vars() |
105 open (path, 'w').write (deps) | 106 open (path, 'w').write (deps) |
106 | 107 |
107 open (os.path.join (outdir, basename + '.fontname'), 'w').write ("%s-%d" % (
name, design_size)) | 108 open (os.path.join (outdir, basename + '.fontname'), 'w').write ("%s-%d" % (
name, design_size)) |
LEFT | RIGHT |