Skip to content

Commit

Permalink
Document how to compact encoding from Python (fontforge#4441)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Sep 9, 2020
1 parent 0c68e45 commit 10192c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/sphinx/scripting/python/fontforge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3180,7 +3180,8 @@ This type may not be pickled.
.. attribute:: font.encoding

The name of the current encoding. Setting it will change the encoding used
for indexing
for indexing. To compact the encoding, first set it to your desired encoding
(e.g. ``UnicodeBMP``), then set it to ``compacted``.

.. attribute:: font.familyname

Expand Down

0 comments on commit 10192c8

Please sign in to comment.