Commit graph

48 commits

Author SHA1 Message Date
Rasmus Andersson
c79709096b Workaround for bug in fontmake causing bad weight metadata
Workaround for bug in fontmake which caused incorrect weight metadata in static fonts.

See https://github.com/googlefonts/fontmake/issues/943

Related to #498
2022-10-05 10:11:16 -07:00
Rasmus Andersson
3f174fcef6 Remove slnt/ital VF axis
This removes the slant/italic variable axis and breaks up the font in two: roman and italic. This change will allow diverging designs for italic (for example single-storey a). It also addresses the fact that most software, including web browsers, doesn't handle VFs with slnt or ital well.
2022-09-26 17:09:36 -07:00
Rasmus Andersson
82b1a2ac6c adds --style option to misc/tools/rename.py 2022-06-08 15:59:26 -07:00
Rasmus Andersson
143b917365 fix _get_vf_type bug in postprocess-single-axis-vfs.py that prevented single-axis VFs from building 2022-06-03 13:12:47 -07:00
Rasmus Andersson
585f56cee5 toolchain: drop old Makefile and init.sh script along with git hooks and slim down Python requirements.txt to just what we need 2022-06-03 10:28:41 -07:00
Rasmus Andersson
b8c2a3000a reduce opsz range from 16-72 to 16-32 2022-06-01 11:54:19 -07:00
Rasmus
0796076659
UPM 2048 and opsz axis (#462)
- UPM is adjusted to 2048
- Additional opsz VF axis (multi master) added which will eventually replace the separate Display family
- New tooling that uses fontmake instead of Inter's own fontbuild toolchain. (The old toolchain is still supported, i.e. `make -f Makefile_v1.make ...`)
2022-05-26 11:20:06 -07:00
Rasmus Andersson
310a73bad9 v3.18 2021-03-31 19:09:32 -07:00
Rasmus Andersson
637d0eb186 web: Disable subset fonts as it turns out pyftsubset does not correctly handle substitution features causing subs like ccmp to break 2021-03-29 12:30:03 -07:00
Rasmus Andersson
c9dac4c440 tooling: fixes glyphinfo generator script. Some 3rd party library changed, causing output to no longer contain glyphs not explicitly ordered. Yay, dependencies. 2021-03-29 09:14:46 -07:00
Rasmus Andersson
3d7a7d0f98 add missing subset font files 2021-03-28 15:26:26 -07:00
Rasmus Andersson
5e0d7cbfda fix python3 issue 2021-03-28 15:21:24 -07:00
Rasmus Andersson
7ef6ee2cc6 tooling: improve output data of misc/tools/fontinfo.py utility 2021-03-28 11:23:46 -07:00
Rasmus Andersson
56cba2d659 tooling: adds a --profile=<file> option to fontbuild for profiling runs and adds misc/tools/fmtprofile.py for printing and inspecting profile results 2021-03-25 10:49:12 -07:00
Rasmus Andersson
ac063a796e fontinfo: fix smol py3 syntax issue 2021-03-23 17:08:14 -07:00
Rasmus Andersson
4eee1377a7 tooling: adds a program that create subset web font files and accompanying CSS 2020-08-21 16:05:08 -07:00
Rasmus Andersson
d86c864152 misc: update misc/tools/download-count.py 2020-08-20 13:10:13 -07:00
Rasmus Andersson
b7435015ca web: update version in resource urls 2020-08-20 11:18:18 -07:00
Rasmus Andersson
d76268cf8d tooling: upgrade libs, rename VF fext otf -> ttf, add STAT table patch
- upgrades 3rd party libraries used by the toolchain
- upgrades fontbuild code to adjust changes to library APIs
- renames VF font filename extensions to .ttf
- adds better STAT table patch to improve metadata on Windows
2020-08-18 17:57:25 -07:00
Rasmus Andersson
717605c5cd tooling: Remove dockermake and fix a mkdir issue in init.sh. Closes #277 2020-05-18 08:47:33 -07:00
Rasmus Andersson
9890b2508d display: round all kerning values to integers 2020-04-08 20:04:59 -07:00
Rasmus Andersson
cd4e4bca3a Fixes an issue with missing git hash in version metadata of built fonts. Closes #234 2020-04-04 13:05:03 -07:00
Rasmus Andersson
ba71122abf updates to distribution 2019-10-22 12:34:20 -07:00
Rasmus Andersson
0ba7c2b42f New version of fontbuild which addresses several issues
Fixes for things that stopped working when we updated fontmake:
- restore glyph decomposition for VF
- restore glyph overlap removal for VF
- restore version metadata writing for VF

Improvements for VF
- fix "full name" name table entry to say "Inter" instead of "Inter Regular"

New and changed:
- "rename" command for renaming metadata like family and style, optionally
  saving a separate file. Used to produce new "Inter V" family.
- The "build" command no longer performs "style name compactation" for
  Google fonts. Instead, the new "rename" command is used.

Closes #198
Closes #202
2019-10-22 12:31:20 -07:00
Rasmus Andersson
456025b11d tooling: change comment and remove unused code of misc/tools/fix-vf-meta.py 2019-09-07 11:35:20 -07:00
Rasmus Andersson
08a06dcaab tooling: update kernsample.py to use defcon 2019-08-03 16:22:36 -07:00
Rasmus Andersson
862cd438ed tools: small updates to fontsample 2019-08-02 08:53:21 -07:00
Rasmus Andersson
8ef6dd8b9f tooling: better handling of unexported glyphs 2019-05-27 11:32:39 -07:00
Rasmus Andersson
850e4df74b tooling: fixes a bug in gen-metrics-and-svgs.py where the very first glyph would not get recognized in the kerning lookup table, causing no kerning information to appear on the website 2019-05-26 17:08:05 -07:00
Rasmus Andersson
e1bcfbfde2 tooling: new version of gen-glyphinfo.py 2019-05-26 16:38:03 -07:00
Rasmus Andersson
b5153bc828 fix issue with misc/tools/fontinfo.py caused by the wonky FontBakery-enforced version format 2019-03-31 19:38:23 -07:00
Rasmus Andersson
70f3df7882 Fixup STAT tables of single-axis variable fonts to aid desktop apps (style linking). Related to #142 2019-03-27 11:17:29 -07:00
Rasmus Andersson
eb4608cb7a website/tooling: disable versionize for website inter.css files 2019-02-03 19:14:59 -08:00
Rasmus Andersson
5d3b973ddb misc: name change 2019-02-02 16:29:35 -08:00
Rasmus Andersson
5a5be63d6e The Great Rename to "Inter" 2019-02-02 14:29:56 -08:00
Rasmus Andersson
0ab4a4cb3b website: preload vf files. Additionally, update misc/tools/versionize to also patch docs/_includes/preload-font-files.html 2019-01-26 15:39:10 -08:00
Rasmus Andersson
4ded41f4a3 Adds docker toolchain for a simpler build setup 2019-01-05 16:20:22 -08:00
Rasmus Andersson
799472b3f4 Workaround for Python 3 bug in ufo2ft which caused invalid OTF files to be generated. Closes #110 2019-01-03 15:10:08 -08:00
Rasmus Andersson
2b53ffc2fb tooling update 2019-01-01 21:47:16 -07:00
Rasmus Andersson
4262086bff tooling: Fix kerning extraction in gen-metrics-and-svgs.py 2018-10-10 23:38:31 -07:00
Rasmus Andersson
72a93ebd23 tools/gen-glyphinfo: print warning instead of crash when a glyph is in glyphOrder but not in the font 2018-10-10 23:38:26 -07:00
Rasmus Andersson
c163658d67 tooling: decompose and remove overlaps of SVG glyphs generated for the website 2018-10-10 23:37:53 -07:00
Rasmus Andersson
fc1ac6b4e2 housekeeping of misc folder 2018-09-05 18:45:23 -07:00
Rasmus Andersson
3099bc6495 upgrade misc/tools/gen-metrics-and-svgs.py to new toolchain 2018-09-03 16:59:55 -07:00
Rasmus Andersson
11435926ba upgrade misc/tools/fontinfo.py 2018-09-03 16:59:23 -07:00
Rasmus Andersson
4ab36d3e3b update glyphinfo 2018-09-03 16:06:04 -07:00
Rasmus Andersson
fa601adc31 minor tooling refactor 2018-09-03 14:19:38 -07:00
Rasmus Andersson
c833e252c9 Major overhaul, moving from UFO2 to Glyphs and UFO3, plus a brand new and much simpler fontbuild 2018-09-03 12:55:49 -07:00