Skip to content

Commit 6c55db2

Browse files
committed
added the ams cm fonts
svn path=/trunk/matplotlib/; revision=304
1 parent 2d44b13 commit 6c55db2

File tree

8 files changed

+1262
-22
lines changed

8 files changed

+1262
-22
lines changed

INSTALL

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
matplotlib requires python 2.2+, and Numeric-22+ or numarray. The other
2-
requirements are backend dependent
3-
4-
If these requirements are satisfied, just do the usual thing:
5-
6-
> python setup.py install
7-
81
The latest install instructions can be found at
92
http://matplotlib.sourceforge.net/installing.html.
103

README

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ REQUIREMENTS:
3131

3232
INSTALL
3333

34-
If you have the requirements, just do 'python setup.py install'.
34+
The latest installation instructions can be found at
3535

36+
http://matplotlib.sourceforge.net/installing.html
3637

37-
Quick start install instructions can be found here -
38-
http://matplotlib.sourceforge.net/installing.html
38+
and for backend specific install information see
3939

40-
For backend specific install information see
41-
http://matplotlib.sourceforge.net/backends.html
40+
http://matplotlib.sourceforge.net/backends.html
4241

4342
If you want to use matplotlib interactively from the prompt, see
4443
http://matplotlib.sourceforge.net/interactive.html

TODO

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280

281281
-- rotated mathtext
282282

283-
-- fix mathtext sub and super layout
283+
-- DONE fix mathtext sub and super layout
284284

285285
-- DONE get a sf request to remove fonttools and ttfquery
286286

@@ -298,9 +298,9 @@
298298

299299
-- fix the parser for sqrt,
300300

301-
-- fix the parser for over/under subscripts
301+
-- DONE fix the parser for over/under subscripts
302302

303-
-- add \/ for TeX
303+
-- DONE add \/ for TeX
304304

305305
-- fix kerning for TeX
306306

@@ -310,7 +310,7 @@
310310

311311
-- DONE ps backend fails alignment test
312312

313-
-- ps backend is slow! Almost all of this is eaten by parsing afm
313+
-- DONE ps backend is slow! Almost all of this is eaten by parsing afm
314314
files
315315

316316
-- decreasing log axes needs fix
@@ -319,7 +319,7 @@
319319

320320
-- Check for empty quote data returns
321321

322-
-- toolbar not showing up in wx os x
322+
-- DONE toolbar not showing up in wx os x
323323

324324
-- fromstring examples need byte order in darwin
325325

@@ -329,9 +329,9 @@
329329

330330
-- get a standard way to show windows w/o entering mainloop
331331

332-
-- wx tooltips
332+
-- DONE wx tooltips
333333

334-
-- close wx return to interpreter
334+
-- DONE close wx return to interpreter
335335

336336
-- allow sharing of locators
337337

@@ -343,7 +343,7 @@
343343

344344
-- add agg and and image generic tostring methods
345345

346-
-- expose line set dashes
346+
-- DONE expose line set dashes
347347

348348
-- fix vertical layout in PS
349349

@@ -353,7 +353,7 @@
353353

354354
-- handle space in roman/font text
355355

356-
-- scatter demos whacked
356+
-- DONE scatter demos whacked
357357

358358
-- fix small artist bboxing problems
359359

@@ -368,4 +368,12 @@
368368

369369
-- Todd's nx stuff
370370

371-
-- fix object picker and eeg demo
371+
-- fix object picker and eeg demo
372+
373+
-- DONE axes bg color
374+
375+
-- check paint vs gd/agg tick locations
376+
377+
-- DONE PS text vert centering off
378+
379+
-- DONE - pcolor edge color

fonts/afm/cmex10.afm

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
StartFontMetrics 2.0
2+
Comment Creation Date: Thu Jun 21 22:23:20 1990
3+
Comment UniqueID 5000774
4+
FontName CMEX10
5+
EncodingScheme FontSpecific
6+
FullName CMEX10
7+
FamilyName Computer Modern
8+
Weight Medium
9+
ItalicAngle 0
10+
IsFixedPitch false
11+
Version 1.00
12+
Notice Copyright (c) 1997 American Mathematical Society. All Rights Reserved.
13+
Comment Computer Modern fonts were designed by Donald E. Knuth
14+
FontBBox -24 -2960 1454 772
15+
XHeight 430.556
16+
Comment CapHeight 0
17+
Ascender 750
18+
Comment Descender -1760
19+
Descender -2960
20+
Comment FontID CMEX
21+
Comment DesignSize 10 (pts)
22+
Comment CharacterCodingScheme TeX math extension
23+
Comment Space 0 0 0
24+
Comment ExtraSpace 0
25+
Comment Quad 1000
26+
Comment DefaultRuleThickness 40
27+
Comment BigOpSpacing 111.111 166.667 200 600 100
28+
Comment Ascendible characters (74) % macro - PS charname
29+
Comment Ascending 0, 16, 18, 32, 48 % ( - parenleft
30+
Comment Ascending 1, 17, 19, 33, 49 % ) - parenright
31+
Comment Ascending 2, 104, 20, 34, 50 % [ - bracketleft
32+
Comment Ascending 3, 105, 21, 35, 51 % ] - bracketright
33+
Comment Ascending 4, 106, 22, 36, 52 % lfloor - floorleft
34+
Comment Ascending 5, 107, 23, 37, 53 % rfloor - floorright
35+
Comment Ascending 6, 108, 24, 38, 54 % lceil - ceilingleft
36+
Comment Ascending 7, 109, 25, 39, 55 % rceil - ceilingright
37+
Comment Ascending 8, 110, 26, 40, 56 % { - braceleft
38+
Comment Ascending 9, 111, 27, 41, 57 % } - braceright
39+
Comment Ascending 10, 68, 28, 42 % < - anglebracketleft
40+
Comment Ascending 11, 69, 29, 43 % > - anglebracketright
41+
Comment Ascending 14, 46, 30, 44 % / - slash
42+
Comment Ascending 15, 47, 31, 45 % \ - backslash
43+
Comment Ascending 70, 71 % bigsqcup - unionsq
44+
Comment Ascending 72, 73 % oint - contintegral
45+
Comment Ascending 74, 75 % bigodot - circledot
46+
Comment Ascending 76, 77 % bigoplus - circleplus
47+
Comment Ascending 78, 79 % bigotimes - circlemultiply
48+
Comment Ascending 80, 88 % sum - summation
49+
Comment Ascending 81, 89 % prod - product
50+
Comment Ascending 82, 90 % int - integral
51+
Comment Ascending 83, 91 % bigcup - union
52+
Comment Ascending 84, 92 % bigcap - intersection
53+
Comment Ascending 85, 93 % biguplus - unionmulti
54+
Comment Ascending 86, 94 % bigwedge - logicaland
55+
Comment Ascending 87, 95 % bigvee - logicalor
56+
Comment Ascending 96, 97 % coprod - coproduct
57+
Comment Ascending 98, 99, 100 % widehat - hatwide
58+
Comment Ascending 101, 102, 103 % widetilde - tildewide
59+
Comment Ascending 112, 113, 114, 115, 116 % radical - sqrt
60+
Comment Extensible characters (28)
61+
Comment Extensible 12 top 0 mid 0 bot 0 rep 12 % vert - thin bar
62+
Comment Extensible 13 top 0 mid 0 bot 0 rep 13 % Vert - thin double bar
63+
Comment Extensible 48 top 48 mid 0 bot 64 rep 66 % ( - parenleft
64+
Comment Extensible 49 top 49 mid 0 bot 65 rep 67 % ) - parenright
65+
Comment Extensible 50 top 50 mid 0 bot 52 rep 54 % [ - bracketleft
66+
Comment Extensible 51 top 51 mid 0 bot 53 rep 55 % ] - bracketright
67+
Comment Extensible 52 top 0 mid 0 bot 52 rep 54 % lfloor - floorleft
68+
Comment Extensible 53 top 0 mid 0 bot 53 rep 55 % rfloor - floorright
69+
Comment Extensible 54 top 50 mid 0 bot 0 rep 54 % lceil - ceilingleft
70+
Comment Extensible 55 top 51 mid 0 bot 0 rep 55 % rceil - ceilingright
71+
Comment Extensible 56 top 56 mid 60 bot 58 rep 62 % { - braceleft
72+
Comment Extensible 57 top 57 mid 61 bot 59 rep 62 % } - braceright
73+
Comment Extensible 58 top 56 mid 0 bot 58 rep 62 % lgroup
74+
Comment Extensible 59 top 57 mid 0 bot 59 rep 62 % rgroup
75+
Comment Extensible 60 top 0 mid 0 bot 0 rep 63 % arrowvert
76+
Comment Extensible 61 top 0 mid 0 bot 0 rep 119 % Arrowvert
77+
Comment Extensible 62 top 0 mid 0 bot 0 rep 62 % bracevert
78+
Comment Extensible 63 top 120 mid 0 bot 121 rep 63 % updownarrow
79+
Comment Extensible 64 top 56 mid 0 bot 59 rep 62 % lmoustache
80+
Comment Extensible 65 top 57 mid 0 bot 58 rep 62 % rmoustache
81+
Comment Extensible 66 top 0 mid 0 bot 0 rep 66 % parenleftexten
82+
Comment Extensible 67 top 0 mid 0 bot 0 rep 67 % parenrightexten
83+
Comment Extensible 116 top 118 mid 0 bot 116 rep 117 % radical
84+
Comment Extensible 119 top 126 mid 0 bot 127 rep 119 % Updownarrow
85+
Comment Extensible 120 top 120 mid 0 bot 0 rep 63 % uparrow
86+
Comment Extensible 121 top 0 mid 0 bot 121 rep 63 % downarrow
87+
Comment Extensible 126 top 126 mid 0 bot 0 rep 119 % Uparrow
88+
Comment Extensible 127 top 0 mid 0 bot 127 rep 119 % Downarrow
89+
StartCharMetrics 129
90+
C 0 ; WX 458.333 ; N parenleftbig ; B 152 -1159 413 40 ;
91+
C 1 ; WX 458.333 ; N parenrightbig ; B 44 -1159 305 40 ;
92+
C 2 ; WX 416.667 ; N bracketleftbig ; B 202 -1159 394 40 ;
93+
C 3 ; WX 416.667 ; N bracketrightbig ; B 22 -1159 214 40 ;
94+
C 4 ; WX 472.222 ; N floorleftbig ; B 202 -1159 449 40 ;
95+
C 5 ; WX 472.222 ; N floorrightbig ; B 22 -1159 269 40 ;
96+
C 6 ; WX 472.222 ; N ceilingleftbig ; B 202 -1159 449 40 ;
97+
C 7 ; WX 472.222 ; N ceilingrightbig ; B 22 -1159 269 40 ;
98+
C 8 ; WX 583.333 ; N braceleftbig ; B 113 -1159 469 40 ;
99+
C 9 ; WX 583.333 ; N bracerightbig ; B 113 -1159 469 40 ;
100+
C 10 ; WX 472.222 ; N angbracketleftbig ; B 98 -1160 393 40 ;
101+
C 11 ; WX 472.222 ; N angbracketrightbig ; B 78 -1160 373 40 ;
102+
C 12 ; WX 333.333 ; N vextendsingle ; B 145 -621 188 21 ;
103+
C 13 ; WX 555.556 ; N vextenddouble ; B 145 -621 410 21 ;
104+
C 14 ; WX 577.778 ; N slashbig ; B 56 -1159 521 40 ;
105+
C 15 ; WX 577.778 ; N backslashbig ; B 56 -1159 521 40 ;
106+
C 16 ; WX 597.222 ; N parenleftBig ; B 180 -1759 560 40 ;
107+
C 17 ; WX 597.222 ; N parenrightBig ; B 36 -1759 416 40 ;
108+
C 18 ; WX 736.111 ; N parenleftbigg ; B 208 -2359 700 40 ;
109+
C 19 ; WX 736.111 ; N parenrightbigg ; B 35 -2359 527 40 ;
110+
C 20 ; WX 527.778 ; N bracketleftbigg ; B 250 -2359 513 40 ;
111+
C 21 ; WX 527.778 ; N bracketrightbigg ; B 14 -2359 277 40 ;
112+
C 22 ; WX 583.333 ; N floorleftbigg ; B 250 -2359 568 40 ;
113+
C 23 ; WX 583.333 ; N floorrightbigg ; B 14 -2359 332 40 ;
114+
C 24 ; WX 583.333 ; N ceilingleftbigg ; B 250 -2359 568 40 ;
115+
C 25 ; WX 583.333 ; N ceilingrightbigg ; B 14 -2359 332 40 ;
116+
C 26 ; WX 750 ; N braceleftbigg ; B 131 -2359 618 40 ;
117+
C 27 ; WX 750 ; N bracerightbigg ; B 131 -2359 618 40 ;
118+
C 28 ; WX 750 ; N angbracketleftbigg ; B 125 -2359 652 40 ;
119+
C 29 ; WX 750 ; N angbracketrightbigg ; B 97 -2359 624 40 ;
120+
C 30 ; WX 1044.44 ; N slashbigg ; B 56 -2359 987 40 ;
121+
C 31 ; WX 1044.44 ; N backslashbigg ; B 56 -2359 987 40 ;
122+
C 32 ; WX 791.667 ; N parenleftBigg ; B 236 -2959 757 40 ;
123+
C 33 ; WX 791.667 ; N parenrightBigg ; B 34 -2959 555 40 ;
124+
C 34 ; WX 583.333 ; N bracketleftBigg ; B 275 -2959 571 40 ;
125+
C 35 ; WX 583.333 ; N bracketrightBigg ; B 11 -2959 307 40 ;
126+
C 36 ; WX 638.889 ; N floorleftBigg ; B 275 -2959 627 40 ;
127+
C 37 ; WX 638.889 ; N floorrightBigg ; B 11 -2959 363 40 ;
128+
C 38 ; WX 638.889 ; N ceilingleftBigg ; B 275 -2959 627 40 ;
129+
C 39 ; WX 638.889 ; N ceilingrightBigg ; B 11 -2959 363 40 ;
130+
C 40 ; WX 805.556 ; N braceleftBigg ; B 144 -2959 661 40 ;
131+
C 41 ; WX 805.556 ; N bracerightBigg ; B 144 -2959 661 40 ;
132+
C 42 ; WX 805.556 ; N angbracketleftBigg ; B 139 -2960 697 40 ;
133+
C 43 ; WX 805.556 ; N angbracketrightBigg ; B 108 -2960 666 40 ;
134+
C 44 ; WX 1277.78 ; N slashBigg ; B 56 -2959 1221 40 ;
135+
C 45 ; WX 1277.78 ; N backslashBigg ; B 56 -2959 1221 40 ;
136+
C 46 ; WX 811.111 ; N slashBig ; B 56 -1759 754 40 ;
137+
C 47 ; WX 811.111 ; N backslashBig ; B 56 -1759 754 40 ;
138+
C 48 ; WX 875 ; N parenlefttp ; B 291 -1770 842 39 ;
139+
C 49 ; WX 875 ; N parenrighttp ; B 32 -1770 583 39 ;
140+
C 50 ; WX 666.667 ; N bracketlefttp ; B 326 -1760 659 39 ;
141+
C 51 ; WX 666.667 ; N bracketrighttp ; B 7 -1760 340 39 ;
142+
C 52 ; WX 666.667 ; N bracketleftbt ; B 326 -1759 659 40 ;
143+
C 53 ; WX 666.667 ; N bracketrightbt ; B 7 -1759 340 40 ;
144+
C 54 ; WX 666.667 ; N bracketleftex ; B 326 -601 395 1 ;
145+
C 55 ; WX 666.667 ; N bracketrightex ; B 271 -601 340 1 ;
146+
C 56 ; WX 888.889 ; N bracelefttp ; B 384 -910 718 -1 ;
147+
C 57 ; WX 888.889 ; N bracerighttp ; B 170 -910 504 -1 ;
148+
C 58 ; WX 888.889 ; N braceleftbt ; B 384 -899 718 10 ;
149+
C 59 ; WX 888.889 ; N bracerightbt ; B 170 -899 504 10 ;
150+
C 60 ; WX 888.889 ; N braceleftmid ; B 170 -1810 504 10 ;
151+
C 61 ; WX 888.889 ; N bracerightmid ; B 384 -1810 718 10 ;
152+
C 62 ; WX 888.889 ; N braceex ; B 384 -310 504 10 ;
153+
C 63 ; WX 666.667 ; N arrowvertex ; B 312 -601 355 1 ;
154+
C 64 ; WX 875 ; N parenleftbt ; B 291 -1759 842 50 ;
155+
C 65 ; WX 875 ; N parenrightbt ; B 32 -1759 583 50 ;
156+
C 66 ; WX 875 ; N parenleftex ; B 291 -610 402 10 ;
157+
C 67 ; WX 875 ; N parenrightex ; B 472 -610 583 10 ;
158+
C 68 ; WX 611.111 ; N angbracketleftBig ; B 112 -1759 522 40 ;
159+
C 69 ; WX 611.111 ; N angbracketrightBig ; B 88 -1759 498 40 ;
160+
C 70 ; WX 833.333 ; N unionsqtext ; B 56 -1000 776 0 ;
161+
C 71 ; WX 1111.11 ; N unionsqdisplay ; B 56 -1400 1054 0 ;
162+
C 72 ; WX 472.222 ; N contintegraltext ; B 56 -1111 609 0 ;
163+
C 73 ; WX 555.556 ; N contintegraldisplay ; B 56 -2222 943 0 ;
164+
C 74 ; WX 1111.11 ; N circledottext ; B 56 -1000 1054 0 ;
165+
C 75 ; WX 1511.11 ; N circledotdisplay ; B 56 -1400 1454 0 ;
166+
C 76 ; WX 1111.11 ; N circleplustext ; B 56 -1000 1054 0 ;
167+
C 77 ; WX 1511.11 ; N circleplusdisplay ; B 56 -1400 1454 0 ;
168+
C 78 ; WX 1111.11 ; N circlemultiplytext ; B 56 -1000 1054 0 ;
169+
C 79 ; WX 1511.11 ; N circlemultiplydisplay ; B 56 -1400 1454 0 ;
170+
C 80 ; WX 1055.56 ; N summationtext ; B 56 -1000 999 0 ;
171+
C 81 ; WX 944.444 ; N producttext ; B 56 -1000 887 0 ;
172+
C 82 ; WX 472.222 ; N integraltext ; B 56 -1111 609 0 ;
173+
C 83 ; WX 833.333 ; N uniontext ; B 56 -1000 776 0 ;
174+
C 84 ; WX 833.333 ; N intersectiontext ; B 56 -1000 776 0 ;
175+
C 85 ; WX 833.333 ; N unionmultitext ; B 56 -1000 776 0 ;
176+
C 86 ; WX 833.333 ; N logicalandtext ; B 56 -1000 776 0 ;
177+
C 87 ; WX 833.333 ; N logicalortext ; B 56 -1000 776 0 ;
178+
C 88 ; WX 1444.44 ; N summationdisplay ; B 56 -1400 1387 0 ;
179+
C 89 ; WX 1277.78 ; N productdisplay ; B 56 -1400 1221 0 ;
180+
C 90 ; WX 555.556 ; N integraldisplay ; B 56 -2222 943 0 ;
181+
C 91 ; WX 1111.11 ; N uniondisplay ; B 56 -1400 1054 0 ;
182+
C 92 ; WX 1111.11 ; N intersectiondisplay ; B 56 -1400 1054 0 ;
183+
C 93 ; WX 1111.11 ; N unionmultidisplay ; B 56 -1400 1054 0 ;
184+
C 94 ; WX 1111.11 ; N logicalanddisplay ; B 56 -1400 1054 0 ;
185+
C 95 ; WX 1111.11 ; N logicalordisplay ; B 56 -1400 1054 0 ;
186+
C 96 ; WX 944.444 ; N coproducttext ; B 56 -1000 887 0 ;
187+
C 97 ; WX 1277.78 ; N coproductdisplay ; B 56 -1400 1221 0 ;
188+
C 98 ; WX 555.556 ; N hatwide ; B -5 562 561 744 ;
189+
C 99 ; WX 1000 ; N hatwider ; B -4 575 1003 772 ;
190+
C 100 ; WX 1444.44 ; N hatwidest ; B -3 575 1446 772 ;
191+
C 101 ; WX 555.556 ; N tildewide ; B 0 608 555 722 ;
192+
C 102 ; WX 1000 ; N tildewider ; B 0 624 999 750 ;
193+
C 103 ; WX 1444.44 ; N tildewidest ; B 0 623 1443 750 ;
194+
C 104 ; WX 472.222 ; N bracketleftBig ; B 226 -1759 453 40 ;
195+
C 105 ; WX 472.222 ; N bracketrightBig ; B 18 -1759 245 40 ;
196+
C 106 ; WX 527.778 ; N floorleftBig ; B 226 -1759 509 40 ;
197+
C 107 ; WX 527.778 ; N floorrightBig ; B 18 -1759 301 40 ;
198+
C 108 ; WX 527.778 ; N ceilingleftBig ; B 226 -1759 509 40 ;
199+
C 109 ; WX 527.778 ; N ceilingrightBig ; B 18 -1759 301 40 ;
200+
C 110 ; WX 666.667 ; N braceleftBig ; B 119 -1759 547 40 ;
201+
C 111 ; WX 666.667 ; N bracerightBig ; B 119 -1759 547 40 ;
202+
C 112 ; WX 1000 ; N radicalbig ; B 110 -1160 1020 40 ;
203+
C 113 ; WX 1000 ; N radicalBig ; B 110 -1760 1020 40 ;
204+
C 114 ; WX 1000 ; N radicalbigg ; B 111 -2360 1020 40 ;
205+
C 115 ; WX 1000 ; N radicalBigg ; B 111 -2960 1020 40 ;
206+
C 116 ; WX 1055.56 ; N radicalbt ; B 111 -1800 742 20 ;
207+
C 117 ; WX 1055.56 ; N radicalvertex ; B 702 -620 742 20 ;
208+
C 118 ; WX 1055.56 ; N radicaltp ; B 702 -580 1076 40 ;
209+
C 119 ; WX 777.778 ; N arrowvertexdbl ; B 257 -601 521 1 ;
210+
C 120 ; WX 666.667 ; N arrowtp ; B 111 -600 556 0 ;
211+
C 121 ; WX 666.667 ; N arrowbt ; B 111 -600 556 0 ;
212+
C 122 ; WX 450 ; N bracehtipdownleft ; B -24 -214 460 120 ;
213+
C 123 ; WX 450 ; N bracehtipdownright ; B -10 -214 474 120 ;
214+
C 124 ; WX 450 ; N bracehtipupleft ; B -24 0 460 334 ;
215+
C 125 ; WX 450 ; N bracehtipupright ; B -10 0 474 334 ;
216+
C 126 ; WX 777.778 ; N arrowdbltp ; B 56 -600 722 -1 ;
217+
C 127 ; WX 777.778 ; N arrowdblbt ; B 56 -599 722 0 ;
218+
C -1 ; WX 333.333 ; N space ; B 0 0 0 0 ;
219+
EndCharMetrics
220+
EndFontMetrics

0 commit comments

Comments
 (0)