Skip to content

Commit 86ba2b3

Browse files
committed
Turn svg.embed_char_paths on by default.
svn path=/trunk/matplotlib/; revision=3812
1 parent 23592a8 commit 86ba2b3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/matplotlib/config/mplconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class pdf(TConfig):
101101
class svg(TConfig):
102102
image_inline = T.true
103103
image_noscale = T.false
104-
embed_chars = T.false
104+
embed_chars = T.true
105105

106106
class lines(TConfig):
107107
linewidth = T.Float(1.0)

lib/matplotlib/config/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def __call__(self, s):
466466
'pdf.fonttype' : [3, validate_fonttype], # 3 (Type3) or 42 (Truetype)
467467
'svg.image_inline' : [True, validate_bool], # write raster image data directly into the svg file
468468
'svg.image_noscale' : [False, validate_bool], # suppress scaling of raster data embedded in SVG
469-
'svg.embed_char_paths' : [False, validate_bool], # True to save all characters as paths in the SVG
469+
'svg.embed_char_paths' : [True, validate_bool], # True to save all characters as paths in the SVG
470470
'plugins.directory' : ['.matplotlib_plugins', str], # where plugin directory is locate
471471

472472
}

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def __call__(self, s):
466466
'pdf.fonttype' : [3, validate_fonttype], # 3 (Type3) or 42 (Truetype)
467467
'svg.image_inline' : [True, validate_bool], # write raster image data directly into the svg file
468468
'svg.image_noscale' : [False, validate_bool], # suppress scaling of raster data embedded in SVG
469-
'svg.embed_char_paths' : [False, validate_bool], # True to save all characters as paths in the SVG
469+
'svg.embed_char_paths' : [True, validate_bool], # True to save all characters as paths in the SVG
470470
'plugins.directory' : ['.matplotlib_plugins', str], # where plugin directory is locate
471471

472472
}

matplotlibrc.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ numerix : %(numerix)s # numpy, Numeric or numarray
292292
# svg backend params
293293
#svg.image_inline : True # write raster image data directly into the svg file
294294
#svg.image_noscale : False # suppress scaling of raster data embedded in SVG
295-
#svg.embed_chars : False # embed character outlines in the SVG file
295+
#svg.embed_chars : True # embed character outlines in the SVG file
296296

297297
# Set the verbose flags. This controls how much information
298298
# matplotlib gives you at runtime and where it goes. The verbosity

0 commit comments

Comments
 (0)