|
From: <md...@us...> - 2008-06-17 19:01:43
|
Revision: 5584
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5584&view=rev
Author: mdboom
Date: 2008-06-17 12:01:38 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
Make mathtext slightly smaller.
Modified Paths:
--------------
trunk/matplotlib/doc/sphinxext/mathpng.py
Modified: trunk/matplotlib/doc/sphinxext/mathpng.py
===================================================================
--- trunk/matplotlib/doc/sphinxext/mathpng.py 2008-06-17 18:02:08 UTC (rev 5583)
+++ trunk/matplotlib/doc/sphinxext/mathpng.py 2008-06-17 19:01:38 UTC (rev 5584)
@@ -117,11 +117,11 @@
orig_fontset = rcParams['mathtext.fontset']
rcParams['mathtext.fontset'] = fontset
if os.path.exists(filename):
- depth = mathtext_parser.get_depth(latex, dpi=120)
+ depth = mathtext_parser.get_depth(latex, dpi=100)
else:
print latex.encode("ascii", "backslashreplace")
try:
- depth = mathtext_parser.to_png(filename, latex, dpi=120)
+ depth = mathtext_parser.to_png(filename, latex, dpi=100)
except:
warnings.warn("Could not render math expression %s" % latex,
Warning)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|