Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89ce4fb

Browse files
authored
Merge pull request #20365 from anntzer/trc
Reorganize a bit text-related rcs in matplotlibrc.
2 parents a1327cd + 03aa31f commit 89ce4fb

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

lib/matplotlib/mpl-data/matplotlibrc

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,27 @@
276276
## for more information on text properties
277277
#text.color: black
278278

279+
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the
280+
## following (Proprietary Matplotlib-specific synonyms are given in parentheses,
281+
## but their use is discouraged):
282+
## - default: Use the font's native hinter if possible, else FreeType's auto-hinter.
283+
## ("either" is a synonym).
284+
## - no_autohint: Use the font's native hinter if possible, else don't hint.
285+
## ("native" is a synonym.)
286+
## - force_autohint: Use FreeType's auto-hinter. ("auto" is a synonym.)
287+
## - no_hinting: Disable hinting. ("none" is a synonym.)
288+
#text.hinting: force_autohint
289+
290+
#text.hinting_factor: 8 # Specifies the amount of softness for hinting in the
291+
# horizontal direction. A value of 1 will hint to full
292+
# pixels. A value of 2 will hint to half pixels etc.
293+
#text.kerning_factor: 0 # Specifies the scaling factor for kerning values. This
294+
# is provided solely to allow old test images to remain
295+
# unchanged. Set to 6 to obtain previous behavior.
296+
# Values other than 0 or 6 have no defined meaning.
297+
#text.antialiased: True # If True (default), the text will be antialiased.
298+
# This only affects raster outputs.
299+
279300

280301
## ***************************************************************************
281302
## * LaTeX *
@@ -288,9 +309,6 @@
288309
# zapf chancery, charter, serif, sans-serif, helvetica,
289310
# avant garde, courier, monospace, computer modern roman,
290311
# computer modern sans serif, computer modern typewriter
291-
# If another font is desired which can loaded using the
292-
# LaTeX \usepackage command, please inquire at the
293-
# Matplotlib mailing list
294312
#text.latex.preamble: # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
295313
# AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
296314
# IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
@@ -307,27 +325,6 @@
307325
# Adobe Postscript (PSSNFS) font packages may also be
308326
# loaded, depending on your font settings.
309327

310-
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the
311-
## following (Proprietary Matplotlib-specific synonyms are given in parentheses,
312-
## but their use is discouraged):
313-
## - default: Use the font's native hinter if possible, else FreeType's auto-hinter.
314-
## ("either" is a synonym).
315-
## - no_autohint: Use the font's native hinter if possible, else don't hint.
316-
## ("native" is a synonym.)
317-
## - force_autohint: Use FreeType's auto-hinter. ("auto" is a synonym.)
318-
## - no_hinting: Disable hinting. ("none" is a synonym.)
319-
#text.hinting: force_autohint
320-
321-
#text.hinting_factor: 8 # Specifies the amount of softness for hinting in the
322-
# horizontal direction. A value of 1 will hint to full
323-
# pixels. A value of 2 will hint to half pixels etc.
324-
#text.kerning_factor: 0 # Specifies the scaling factor for kerning values. This
325-
# is provided solely to allow old test images to remain
326-
# unchanged. Set to 6 to obtain previous behavior.
327-
# Values other than 0 or 6 have no defined meaning.
328-
#text.antialiased: True # If True (default), the text will be antialiased.
329-
# This only affects raster outputs.
330-
331328
## The following settings allow you to select the fonts in math mode.
332329
#mathtext.fontset: dejavusans # Should be 'dejavusans' (default),
333330
# 'dejavuserif', 'cm' (Computer Modern), 'stix',

0 commit comments

Comments
 (0)