robotools / fontParts

The replacement for RoboFab
MIT License
133 stars 44 forks source link

Implement OpenFonts. #651

Closed typesupply closed 2 years ago

typesupply commented 2 years ago

This addresses #545. I implemented it slightly differently than in the code I wrote for the issue. There is no need for the environment to define a function that only calls a standard function. Instead the environment registers its file extensions and those are used when no file extensions are given by the scripter.

codecov[bot] commented 2 years ago

Codecov Report

Merging #651 (91ab9d5) into master (19165a2) will increase coverage by 0.17%. The diff coverage is 61.53%.

@@            Coverage Diff             @@
##           master     #651      +/-   ##
==========================================
+ Coverage   77.73%   77.91%   +0.17%     
==========================================
  Files          41       41              
  Lines        6055     6081      +26     
  Branches     1055     1065      +10     
==========================================
+ Hits         4707     4738      +31     
+ Misses       1151     1142       -9     
- Partials      197      201       +4     
Impacted Files Coverage Δ
Lib/fontParts/world.py 67.87% <61.53%> (-0.74%) :arrow_down:
Lib/fontParts/base/font.py 56.73% <0.00%> (+0.40%) :arrow_up:
Lib/fontParts/ui.py 54.16% <0.00%> (+54.16%) :arrow_up: