Deprecated `afm`, `fontconfig_pattern`, and `type1font` by oscargus · Pull Request #22133 · matplotlib/matplotlib · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/api/next_api_changes/behavior/20715-JKS.rst
6 changes: 6 additions & 0 deletions doc/api/next_api_changes/deprecations/22133-OG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
``AFM``, ``configfont_pattern`` and ``Type1Font`` deprecated
------------------------------------------------------------

The modules ``matplotlib.AFM``, ``matplotlib.configfont_pattern``, and
``matplotlib.Type1Font`` are considered internal and public access is
deprecated.
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_0.91.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Changes for 0.91.0
pfa/pfb file, to get metrics and kerning information for a Type 1
font.

* The :class:`.AFM` class now supports querying CapHeight and stem
* The ``AFM`` class now supports querying CapHeight and stem
widths. The get_name_char method now has an isord kwarg like
get_width_char.

Expand Down
4 changes: 2 additions & 2 deletions doc/api/prev_api_changes/api_changes_0.98.x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Changes for 0.98.x
:meth:`matplotlib.axes.Axes.set_ylim` now return a copy of the
``viewlim`` array to avoid modify-in-place surprises.

* :meth:`matplotlib.afm.AFM.get_fullname` and
:meth:`matplotlib.afm.AFM.get_familyname` no longer raise an
* ``matplotlib.afm.AFM.get_fullname`` and
``matplotlib.afm.AFM.get_familyname`` no longer raise an
exception if the AFM file does not specify these optional
attributes, but returns a guess based on the required FontName
attribute.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/prev_api_changes/api_changes_3.5.0/behaviour.rst
Loading