1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-12 15:22:36 +03:00
Commit Graph

57 Commits

Author SHA1 Message Date
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
6462e5b7a3 tooling: adjust include? filter for glyphs, after upgrading 3rd party libraries which changed behavior 2021-03-31 18:29:34 -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
7d70535c01 Fixes an issue with rendering on Windows with ClearType by decomposing any components which use non-trivial transformations like rotation or shear. This increases font size a bit but not to any worrying degree. Closes #251 2020-08-19 13:54:30 -07:00
Rasmus Andersson
206f684bfa tooling: include anchors in final font files. This does not seem to have real-world practial effects beyond increasing the file size, but more testing is needed. Sharing the work first. Easy to revert. 2020-08-19 11:54:07 -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
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
e95089f58b fontbuild: fix bug where if g.lib did not have com.schriftgestaltung.Glyphs.lastChange the program would crash 2020-04-04 11:00:35 -07:00
Rasmus Andersson
b8de6487c8 fixes merge issue with fontbuild 2020-03-24 10:51:46 -07:00
Rasmus Andersson
0224325743 import Inter and fontbuild from master 2020-03-22 19:46:59 -07:00
Rasmus Andersson
a99473b591 Initial version of Display family 2020-01-31 23:51:58 -08:00
Rasmus Andersson
0ea8167779 change fontbuild rename command to apply Google Fonts standard style names with --google-style flag (replaces flag --compact-style) 2019-10-23 18:44:33 -07:00
Rasmus Andersson
aa7ad2d7a0 fontbuild: remove use of fontmake, simplifying things. 2019-10-22 17:00:58 -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
d7b599659c misc/fontbuild adds --compact-style-names which collapses whitespace in style names. E.g. "Semi Bold Italic" becomes "SemiBoldItalic". Related to https://github.com/google/fonts/pull/1908 2019-09-03 20:36:58 -07:00
Rasmus Andersson
806452ab7f upgrade fonttools and fontmake 2019-09-03 19:35:42 -07:00
Rasmus Andersson
0977151206 fontbuild: Fixes a bug that would cause certain instance styles to be incorrectly flagged as "italic". This was an effect from negating the slant angle. 2019-08-06 19:28:53 -07:00
Rasmus Andersson
a96f0d50f2 fontbuild: remove component condition in composedGlyphIsNonTrivial 2019-07-18 14:04:29 -07:00
Stephen Nixon
b2b8c14660 only decompose glyphs with reflected components 2019-07-12 18:29:47 -04:00
Rasmus Andersson
8ef6dd8b9f tooling: better handling of unexported glyphs 2019-05-27 11:32:39 -07:00
Stephen Nixon
3488601548 Adds 'Version ' prefix to nameID 5 version string, per MS OT spec (#140) 2019-03-27 11:30:58 -07:00
Rasmus Andersson
35a23627a5 Adds --name option to "fontbuild compile-var" for customizing family name, useful for producing variable font files with a different name than the constant files so they can be installed alongside each other. Closes #144 2019-03-27 11:08:49 -07:00
Rasmus Andersson
20aaab681d Change version encoding in font files to match common zero-padded version to allow FontBakery to be happy. Closes #138 2019-03-17 06:52:25 -07:00
Rasmus Andersson
36084ac6fd Changes the name of the variable font to "Inter Variable" in order to allow the variable version to be installed in parallel with the constant font files 2019-03-12 11:21:32 -07:00
Rasmus Andersson
a99328bcda Upgrade toolchain. glyphsLib 3.2.0b2 -> 3.2.0; fontmake 1.8.0 -> 1.9.1 2019-02-09 15:59:14 -08:00
Rasmus Andersson
a2a3ebff13 fontbuild: append " BETA" to style name of light weights 2019-02-03 19:45:20 -08:00
Rasmus Andersson
184b3c0a45 fontbuild: upgrade glyphsLib, ufo2ft and fs 2019-02-03 12:17:56 -08:00
Rasmus Andersson
5a5be63d6e The Great Rename to "Inter" 2019-02-02 14:29:56 -08:00
Rasmus Andersson
61ad1d05c1 fontbuild: document post-processing directives 2019-02-02 10:20:04 -08:00
Rasmus Andersson
5984c5e5d4 fontbuild: document post-processing directives 2019-02-02 10:18:24 -08:00
Rasmus Andersson
718930e07f patch fonttools instead of ufo2ft 2019-01-05 12:00:00 -08:00
Rasmus Andersson
dee86b504c patches ufo2ft and drops python 2 env for OTF compilation 2019-01-05 11:41:37 -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
2b20e67cae adds extra light weight to build system 2018-12-27 18:44:26 -07:00
Rasmus Andersson
2ac5b2d9ff Upgrade toolchain to Python 3, fontmake 1.8.0 and numpy 1.15.4 2018-11-28 10:56:35 -08:00
Rasmus Andersson
30c1755165 Initial work on light weight master 2018-11-26 08:57:00 -08:00
Rasmus Andersson
a8fc89d01f fontbuild: adds support for post-processing directives on a per-glyph basis. Add "!post:DIRECTIVE" in glyph notes. Only supported directive is "removeoverlaps" 2018-11-23 12:52:50 -08:00
Rasmus Andersson
5194e4f474 fontbuild: now generating three variable fonts: complete family with two axes, italic version with weight axis and upright version with weight axis. This allows supporting browsers like MS Edge which do not correctly map italic and oblique font style properties to slnt and ital axes. 2018-10-10 23:38:31 -07:00
Rasmus Andersson
b095e094dc fontbuild: write constant version info to generated UFOs to minimize git thrash 2018-10-10 23:38:31 -07:00
Rasmus Andersson
5aa42117e9 fontbuild: automatically patch version and timestamps when compiling. Helps avoid lock-step annoyance with git checkins and builds 2018-10-10 23:38:26 -07:00
Rasmus Andersson
83a462bc65 fontbuild: add disabled code as reference for performing overlap elimination as a separate step 2018-10-10 23:38:25 -07:00
Rasmus Andersson
f8d9bd31b0 fontbuild: fix issue with variable font where italic glyphs using components offset at the Y-axis would be incorrectly transformed. Also speeds up the glyphsync command 2018-10-10 23:38:25 -07:00
Rasmus Andersson
4a0bb41312 fontbuild: remove axes edit 2018-10-10 23:38:24 -07:00
Rasmus Andersson
746d527b8f fontbuild: strip non-primary layers when generating UFOs 2018-10-10 23:38:23 -07:00
Rasmus Andersson
0400372ecb fontbuild: fixes issue with incorrect metadata for the Bold Italic master UFO 2018-10-10 23:38:22 -07:00
Rasmus Andersson
b966f9c96b fontbuild: Strip com.schriftgestaltung.Glyphs.lastChange from generated UFO masters 2018-10-10 23:38:19 -07:00
Rasmus Andersson
fef07785c6 makefile blackitalic 2018-10-10 23:37:43 -07:00
Rasmus Andersson
bac3fc4648 fontbuild: increase logging level to WARNING 2018-10-10 23:37:37 -07:00
Rasmus Andersson
bbefc90d4b fontbuild: Clear anchors in generated UFOs and rename italic UFO 2018-10-10 23:37:37 -07:00
Rasmus Andersson
98ca6bb9f0 fontbuild: fix issue where building in parallel could cause some builds to fail because of a file system race condition 2018-10-10 23:37:35 -07:00