Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08c4ed7

Browse filesBrowse files
committed
Deprecated type1font
1 parent 0548b11 commit 08c4ed7
Copy full SHA for 08c4ed7

20 files changed

+1668
-1647
lines changed
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
``Type1Font`` objects include more properties
22
---------------------------------------------
33

4-
The `.type1font.Type1Font.prop` dictionary now includes more keys, such
5-
as ``CharStrings`` and ``Subrs``. The value of the ``Encoding`` key is
4+
The ``matplotlib._type1font.Type1Font.prop`` dictionary now includes more keys,
5+
such as ``CharStrings`` and ``Subrs``. The value of the ``Encoding`` key is
66
now a dictionary mapping codes to glyph names. The
7-
`.type1font.Type1Font.transform` method now correctly removes
7+
``matplotlib._type1font.Type1Font.transform`` method now correctly removes
88
``UniqueID`` properties from the font.
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
``AFM``, ``configfont_pattern`` and ``Type1Font`` deprecated
2+
------------------------------------------------------------
3+
4+
The modules ``matplotlib.AFM``, ``matplotlib.configfont_pattern``, and
5+
``matplotlib.Type1Font`` are considered internal and public access is
6+
deprecated.

‎doc/api/prev_api_changes/api_changes_0.91.0.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_0.91.0.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Changes for 0.91.0
3636
pfa/pfb file, to get metrics and kerning information for a Type 1
3737
font.
3838

39-
* The :class:`.AFM` class now supports querying CapHeight and stem
39+
* The ``AFM`` class now supports querying CapHeight and stem
4040
widths. The get_name_char method now has an isord kwarg like
4141
get_width_char.
4242

‎doc/api/prev_api_changes/api_changes_0.98.x.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_0.98.x.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Changes for 0.98.x
6363
:meth:`matplotlib.axes.Axes.set_ylim` now return a copy of the
6464
``viewlim`` array to avoid modify-in-place surprises.
6565

66-
* :meth:`matplotlib.afm.AFM.get_fullname` and
67-
:meth:`matplotlib.afm.AFM.get_familyname` no longer raise an
66+
* ``matplotlib.afm.AFM.get_fullname`` and
67+
``matplotlib.afm.AFM.get_familyname`` no longer raise an
6868
exception if the AFM file does not specify these optional
6969
attributes, but returns a guess based on the required FontName
7070
attribute.

‎doc/api/prev_api_changes/api_changes_3.5.0/behaviour.rst

Copy file name to clipboardExpand all lines: doc/api/prev_api_changes/api_changes_3.5.0/behaviour.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ defaults to *False*.
229229

230230
Type 1 fonts have a large part of their code encrypted as an obsolete
231231
copy-protection measure. This part is now available decrypted as the
232-
``decrypted`` attribute of `~.type1font.Type1Font`. This decrypted data is not
233-
yet parsed, but this is a prerequisite for implementing subsetting.
232+
``decrypted`` attribute of ``matplotlib.type1font.Type1Font``. This decrypted
233+
data is not yet parsed, but this is a prerequisite for implementing subsetting.
234234

235235
3D contourf polygons placed between levels
236236
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.