[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#900778: fontmake: fails to build fonts-comicneue from its ufo sources



Package: fontmake
Version: 1.4.0-2
Severity: normal

Hi again,

now fontmake fails to rebuild fonts-comicneue from its UFO sources
(which can be found here https://github.com/crozynski/comicneue):

$ fontmake -u UFO/*
INFO:fontmake.font_project:Building OTFs
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-BoldOblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-Bold
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-LightOblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-Light
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-Oblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeueAngular-Normal
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-BoldOblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-Bold
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-LightOblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-Light
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-Oblique
INFO:fontmake.font_project:Decomposing glyphs for ComicNeue-Normal
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-BoldOblique
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-Bold
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-LightOblique
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-Light
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-Oblique
INFO:fontmake.font_project:Removing overlaps for ComicNeueAngular-Normal
INFO:fontmake.font_project:Removing overlaps for ComicNeue-BoldOblique
INFO:fontmake.font_project:Removing overlaps for ComicNeue-Bold
INFO:fontmake.font_project:Removing overlaps for ComicNeue-LightOblique
INFO:fontmake.font_project:Removing overlaps for ComicNeue-Light
INFO:fontmake.font_project:Removing overlaps for ComicNeue-Oblique
INFO:fontmake.font_project:Removing overlaps for ComicNeue-Normal
INFO:fontmake.font_project:Saving OTF for ComicNeueAngular-BoldOblique
ERROR:ufo2ft.featureCompiler:Compilation failed! Inspect temporary file: '/tmp/tmpdfv9qlau'
Traceback (most recent call last):
  File "/usr/bin/fontmake", line 11, in <module>
    load_entry_point('fontmake==1.4.0', 'console_scripts', 'fontmake')()
  File "/usr/lib/python3/dist-packages/fontmake/__main__.py", line 199, in main
    ufo_paths, is_instance=args.pop('masters_as_instances'), **args)
  File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 476, in run_from_ufos
    ufos, remove_overlaps, **kwargs)
  File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 169, in build_otfs
    self.save_otfs(ufos, **kwargs)
  File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 286, in save_otfs
    font = compileOTF(ufo, optimizeCFF=subroutinize, **compiler_options)
  File "/usr/lib/python3/dist-packages/ufo2ft/__init__.py", line 69, in compileOTF
    featureCompiler.compile()
  File "/usr/lib/python3/dist-packages/ufo2ft/featureCompiler.py", line 56, in compile
    self.setupFile_featureTables()
  File "/usr/lib/python3/dist-packages/ufo2ft/featureCompiler.py", line 143, in setupFile_featureTables
    filename=feapath)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/builder.py", line 25, in addOpenTypeFeaturesFromString
    addOpenTypeFeatures(font, featurefile)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/builder.py", line 16, in addOpenTypeFeatures
    builder.build()
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/builder.py", line 79, in build
    self.parseTree.build(self)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/ast.py", line 190, in build
    s.build(builder)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/ast.py", line 251, in build
    Block.build(self, builder)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/ast.py", line 190, in build
    s.build(builder)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/ast.py", line 851, in build
    self.glyphs2.glyph, self.valuerecord2)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/builder.py", line 921, in add_specific_pair_pos
    lookup.addGlyphPair(location, glyph1, value1, glyph2, value2)
  File "/usr/lib/python3/dist-packages/fontTools/feaLib/builder.py", line 1431, in addGlyphPair
    location)
fontTools.feaLib.error.FeatureLibError: UFO/ComicNeue-Angular_Bold_Oblique.ufo/features.fea:113:5: Already defined position for pair T quotedblbase at UFO/ComicNeue-Angular_Bold_Oblique.ufo/features.fea:112:5

Thanks!

Cheers,

 - Fabian


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fontmake depends on:
ii  python3           3.6.5-3
ii  python3-fontmake  1.4.0-2

fontmake recommends no packages.

fontmake suggests no packages.

-- no debconf information


Reply to: