diff --git a/doc/sphinx/scripting/python/fontforge.rst b/doc/sphinx/scripting/python/fontforge.rst index bff2b1abea..d4509e4669 100644 --- a/doc/sphinx/scripting/python/fontforge.rst +++ b/doc/sphinx/scripting/python/fontforge.rst @@ -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