1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-23 11:43:47 +03:00
Commit Graph

215 Commits

Author SHA1 Message Date
Rasmus Andersson
aa7ad2d7a0 fontbuild: remove use of fontmake, simplifying things. 2019-10-22 17:00:58 -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
bc8b267b01 Generate OTF (quads, not cff) for VF, rename upright to roman and add googlefonts makefile target 2019-10-22 07:55:36 -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
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
43fff858ff tooling: fixes bug in fallback-codepoint script 2019-08-07 18:11:54 -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
4785d2c0de Merge branch 'master' of github.com:rsms/inter 2019-08-04 19:55:10 -07:00
Tim
471b6dc3e8 dist: Updates install-win.txt with better instructions (#173) 2019-08-03 16:28:59 -07:00
Rasmus Andersson
08a06dcaab tooling: update kernsample.py to use defcon 2019-08-03 16:22:36 -07:00
Rasmus Andersson
d6098a44af Add font-display:swap to css file bundled with distribution package 2019-08-03 13:34:40 -07:00
Rasmus Andersson
862cd438ed tools: small updates to fontsample 2019-08-02 08:53:21 -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
6bbbe58884 Adds installation instructions for Linux. Closes #163 2019-05-27 14:33:24 -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
e3af7653ac tooling: Adds glyphs script which assigns private-use Unicode codepoint to glyphs which are not mapped to a codepoint 2019-05-26 16:39:24 -07:00
Rasmus Andersson
a7d65d5d5f tooling: Adds glyphs script for selecting empty glyphs 2019-05-26 16:38:36 -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
c130c691f5 misc documentation on variable font usage 2019-03-31 18:51:11 -07:00
Rasmus Andersson
1dbc8fd053 Change vertical metrics to make Apple ATS work properly. New ascender value: 2728, new descender value: -680
Includes alternate fix to @thundernixon's PR #146
2019-03-30 17:03:54 -07:00
Stephen Nixon
fb79b9ee89 Use vert metrics script to fix line heights issue #124 (#141) 2019-03-27 11:37:34 -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
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
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
034a240d75 fixes missing "-BETA" filename suffix in the demo CSS file included with dists 2019-02-10 09:16:29 -08: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
eb4608cb7a website/tooling: disable versionize for website inter.css files 2019-02-03 19:14:59 -08:00
Rasmus Andersson
184b3c0a45 fontbuild: upgrade glyphsLib, ufo2ft and fs 2019-02-03 12:17:56 -08:00
Rasmus Andersson
fa662b9e1d website: dynamic metrics update 2019-02-02 21:01:00 -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
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
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
c134b24a0a update docker build script and add convenience wrapper 2019-01-07 09:35:23 -08:00
Rasmus Andersson
dfe6b939c7 upgrade ufo2ft that includes fixed fonttools. This means we can also drop our temporary fonttools patch. Related to https://github.com/fonttools/fonttools/pull/1430 and https://github.com/googlei18n/ufo2ft/issues/306 2019-01-07 09:15:58 -08:00
Rasmus Andersson
4ded41f4a3 Adds docker toolchain for a simpler build setup 2019-01-05 16:20:22 -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
2b53ffc2fb tooling update 2019-01-01 21:47:16 -07:00
Rasmus Andersson
b9326c6f99 adds "-BETA" to end of filenames of thin-master derived font files 2019-01-01 19:48:37 -07:00
Rasmus Andersson
b82b74e544 more progress on light weight. currencies etc 2018-12-29 17:44:19 -07: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
0eb9bd892f scripts 2018-11-26 08:57:13 -08:00
Rasmus Andersson
30c1755165 Initial work on light weight master 2018-11-26 08:57:00 -08:00
Rasmus Andersson
9286128819 adds Glyphs script for fixing up variant glyphs 2018-11-23 15:05:45 -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
c10bbc8a18 Update CSS (variable font) 2018-10-11 10:28:06 -07: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
4262086bff tooling: Fix kerning extraction in gen-metrics-and-svgs.py 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
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
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
4652b1a05f misc 2018-10-10 23:37:58 -07:00
Rasmus Andersson
028c663c32 Adds Subscript feature and glyphs. 0-9, a-z, +, -, =, ( and ) 2018-10-10 23:37:58 -07:00
Rasmus Andersson
8a5f445dba Adds superscript (sups) feature and glyphs. 0-9, a-z, +, -, =, ( and ) 2018-10-10 23:37:58 -07:00
Rasmus Andersson
ea8e614517 Adds SemiBold and ExtraBold to CSS and README 2018-10-10 23:37:57 -07:00
Rasmus Andersson
10c2594e01 Adds list of fractions 2018-10-10 23:37:55 -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
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
Rasmus Andersson
561b61c320 misc/dist/variable.txt 2018-10-10 23:37:35 -07:00
Rasmus Andersson
ecafb6e8ca fontbuild: improved varfont compiler 2018-10-10 23:37:35 -07:00
Rasmus Andersson
da7be8bf1b update misc docs that goes into distributions 2018-09-09 13:02:56 -07:00
Rasmus Andersson
69530dadf5 fontbuild: adds compile-var subcommand for building variable TTF fonts 2018-09-09 12:29:33 -07:00
Rasmus Andersson
20065a9a0a use Skia's pathops instead of the impressively slow booleanOperations, speeding up builds by a large factor 2018-09-07 08:33:14 -07:00
Rasmus Andersson
fc1ac6b4e2 housekeeping of misc folder 2018-09-05 18:45:23 -07:00
Rasmus Andersson
b185868203 fontbuild: adjustments to name generation 2018-09-03 19:08:46 -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
4cba11837b fix bug in fontbuild that would set OT subfamily name to italic 2018-09-03 16:59:01 -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
c66641b76b mv misc/doc -> misc/dist 2018-09-03 14:19:11 -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
Rasmus Andersson
8c1a4c181e adds --cufo flag to ufocompile for compiling UFO files instead of OTF and TTF files 2018-09-01 12:59:27 -07:00
Rasmus Andersson
50ca3807f7 Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00
Rasmus Andersson
ca1cb8c942 tooling 2018-08-31 22:21:09 -07:00
Rasmus Andersson
b468331939 fontinfo 2018-08-31 22:00:46 -07:00
Rasmus Andersson
6070a471f1 fixes issue with recent numpy upgrade 2018-08-28 11:40:40 -07:00
Rasmus Andersson
ed08f44b42 fix for upgraded numpy 2018-08-28 10:20:37 -07:00
Rasmus Andersson
18ba0aee6a upgrade dependencies 2018-08-28 09:44:04 -07:00