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

Skip to content

Commit 20c320b

Browse files
authored
Merge pull request #17438 from timhoffm/freetype-hinting
2 parents 1a6ef99 + 140058b commit 20c320b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/api/api_changes_3.3/behaviour.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,6 @@ larger GUIs, where Matplotlib may control the toolbar but not the status bar.
291291
:rc:`text.hinting` now supports the values "default", "no_autohint",
292292
"force_autohint", and "no_hinting", which directly map to the FreeType flags
293293
FT_LOAD_DEFAULT, etc. The old synonyms (respectively "either", "native",
294-
"auto", and "none") are still supported. To get normalized values, use
295-
`.backend_agg.get_hinting_flag`, which returns integer flag values.
294+
"auto", and "none") are still supported, but their use is discouraged. To get
295+
normalized values, use `.backend_agg.get_hinting_flag`, which returns integer
296+
flag values.

matplotlibrc.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@
299299
# Adobe Postscript (PSSNFS) font packages may also be
300300
# loaded, depending on your font settings.
301301

302-
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the following:
302+
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the
303+
## following (Proprietary Matplotlib-specific synonyms are given in parentheses,
304+
## but their use is discouraged):
303305
## - default: Use the font's native hinter if possible, else FreeType's auto-hinter.
304306
## ("either" is a synonym).
305307
## - no_autohint: Use the font's native hinter if possible, else don't hint.

0 commit comments

Comments
 (0)