[cantarell-fonts] Import newest instantiator.py from upstream
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [cantarell-fonts] Import newest instantiator.py from upstream
- Date: Thu, 26 Aug 2021 08:46:50 +0000 (UTC)
commit d0034c3b6090f2caa04285dc2ec53f2da71d1fd1
Author: Nikolaus Waxweiler <madigens gmail com>
Date:   Thu Aug 26 09:46:44 2021 +0100
    Import newest instantiator.py from upstream
    
    No functional changes.
 scripts/instantiator.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/scripts/instantiator.py b/scripts/instantiator.py
index 1e2e0d74..a7eb8a39 100644
--- a/scripts/instantiator.py
+++ b/scripts/instantiator.py
@@ -42,7 +42,6 @@ import fontTools.designspaceLib as designspaceLib
 import fontTools.misc.fixedTools
 import fontTools.varLib as varLib
 import ufoLib2
-import ufoLib2.objects
 
 logger = logging.getLogger(__name__)
 
@@ -647,7 +646,7 @@ def swap_glyph_names(font: ufoLib2.Font, name_old: str, name_new: str):
     width, component references, kerning references, group membership).
 
     The idea behind swapping instead of overwriting is explained in
-    https://github.com/fonttools/fonttools/tree/master/Doc/source/designspaceLib#ufo-instances.
+    https://github.com/fonttools/fonttools/tree/main/Doc/source/designspaceLib#ufo-instances.
     We need to keep the old glyph around in case any other glyph references
     it; glyphs that are not explicitly substituted by rules should not be
     affected by the rule application.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]