question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Port all fontforge checks to fontbakery native checks

See original GitHub issue

So… fontforge is peculiar because it ships with just a Python 2 module. You could use ctypes to load the DLL directly, but that fails on Windows with a 64 bit Python interpreter because the Windows release is 32 bits only.

Maybe FF’s scripting language can be used directly? Anybody got more experience with that or better ideas?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:15 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
anthrotypecommented, Oct 17, 2018

ok then, just forget about a cross-platform fontforge wheel. Better to rewrite the checks that you care about as pure python.

0reactions
anthrotypecommented, Oct 17, 2018

yes, on FF’s appveyor setup, they use mingw-w64 to build for windows. In order to run python scripts from within FF, they embed the python library built for mingw32 or mingw64

https://github.com/fontforge/fontforgebuilds/blob/1b643ce3c481278dcc54b81774eb1e9fc80fbacc/strip-python.sh#L3

FontForge essentially ships with its own version of Python

Read more comments on GitHub >

github_iconTop Results From Across the Web

Map the checking routines performed by third-party tools and how/if ...
I feel the new Font Validator covers these checks better, ... Port all fontforge checks to fontbakery native checks #1814. Open. Remove check...
Read more >
10. Checking and generating a font - FontForge
FontForge has a command, Element->Find Problems which is designed to find many common problems. Simply select all the glyphs in the font and...
Read more >
Font Bakery Command Line Usage - Read the Docs
fontbakery check -googlefonts --json report.json *.ttf. Run hand picked checks for all fonts in the google/fonts repository: $ fontbakery check-googlefonts ...
Read more >
[Work Log] Organising Google fonts/build chain - Google Groups
Analyse all the issues present in https://github.com/google/fonts/issues and see if any can ... Are these things that Font Bakery is not yet checking...
Read more >
Fonts | Everything I know - My Knowledge Wiki
Font Bakery - Command-line tool for checking the quality of font projects. Typelab - Type design service offering design software and bespoke type...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found