Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build from source using fontmake #68

Open
alexmyczko opened this issue Nov 13, 2018 · 4 comments
Open

fails to build from source using fontmake #68

alexmyczko opened this issue Nov 13, 2018 · 4 comments

Comments

@alexmyczko
Copy link

alexmyczko commented Nov 13, 2018

would be great!

trying to use fontmake results in:

INFO:fontmake.font_project:Building master UFOs and designspace from Glyphs source
INFO:glyphsLib.classes:Parsing "overpass.glyphs" file into <GSFont>
Traceback (most recent call last):
  File "/usr/bin/fontmake", line 11, in <module>
    load_entry_point('fontmake==1.6.1', 'console_scripts', 'fontmake')()
  File "/usr/lib/python3/dist-packages/fontmake/__main__.py", line 248, in main
    project.run_from_glyphs(glyphs_path, **args)
  File "/usr/lib/python3/dist-packages/fontmake/font_project.py", line 547, in run_from_glyphs
    mti_source=mti_source)
  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 120, in build_master_ufos
    font, family_name=family_name, instance_dir=instance_dir)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/__init__.py", line 90, in to_designspace
    return builder.designspace
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/builders.py", line 201, in designspace
    ufos = list(self.masters)  # Make sure that the UFOs are built
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/builders.py", line 139, in masters
    self.to_ufo_font_attributes(self.family_name)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/font.py", line 84, in to_ufo_font_attributes
    self.to_ufo_custom_params(ufo, font)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/custom_params.py", line 619, in to_ufo_custom_params
    handler.to_ufo(glyphs_proxy, ufo_proxy)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/custom_params.py", line 205, in to_ufo
    glyphs_value = self._read_from_glyphs(glyphs)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/custom_params.py", line 218, in _read_from_glyphs
    small_name_value = getter(self.glyphs_name)
  File "/usr/lib/python3/dist-packages/glyphsLib/builder/custom_params.py", line 101, in get_custom_value
    raise RuntimeError('More than one value for this customParameter: {}'.format(key))
RuntimeError: More than one value for this customParameter: description
@alexmyczko alexmyczko changed the title makefile or short descriptiont how the font is built from source makefile or short description how the font is built from source Nov 14, 2018
@alexmyczko alexmyczko changed the title makefile or short description how the font is built from source fails to build from source using fontmake Nov 14, 2018
@alexmyczko
Copy link
Author

I also fail to build the sources of version 2.0 converting them with wine vfb2ufo.exe first...

@madig
Copy link

madig commented Nov 23, 2019

The problem is that there are two description custom parameters in the "Font" tab. I think in Glyphs, the last one wins, so I suggest you remove the first.

Bildschirmfoto 2019-11-23 um 12 36 46

@alexmyczko
Copy link
Author

alexmyczko commented Mar 3, 2023

same but not the same alternative fonts https://github.com/sammdot/roadgeek-fonts

3.0.5 still has the same problem:

$ fontmake -i -o otf -g overpass.glyphs
INFO:fontmake.font_project:Building master UFOs and designspace from Glyphs source
INFO:glyphsLib.classes:Parsing "overpass.glyphs" file into <GSFont>
WARNING:glyphsLib.builder.builders.UFOBuilder:Non-existent glyph class public.kern1.quotesingle found in kerning rules.
WARNING:glyphsLib.builder.builders.UFOBuilder:Non-existent glyph class public.kern1.quotesingle found in kerning rules.
WARNING:glyphsLib.builder.builders.UFOBuilder:Non-existent glyph class public.kern1.quotesingle found in kerning rules.
WARNING:glyphsLib.builder.builders.UFOBuilder:Non-existent glyph class public.kern1.quotesingle found in kerning rules.
INFO:fontmake.font_project:Interpolating master UFOs from designspace
INFO:fontmake.font_project:Generating instance UFO for "Overpass Thin"
INFO:fontmake.font_project:Generating instance UFO for "Overpass ExtraLight"
fontmake: Error: In 'overpass.glyphs' -> 'master_ufo/Overpass.designspace': Interpolating instance 'ExtraLight' failed.: Failed to generate instance of glyph 'paragraph': list index out of range. (Note: the most common cause for an error here is that the glyph outlines are not point-for-point compatible or have the same starting point or are in the same order in all masters.)

@madig
Copy link

madig commented Mar 3, 2023

I guess someone needs to fix the paragraph glyph?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants