1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-24 05:30:41 +03:00
Commit Graph

192 Commits

Author SHA1 Message Date
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
Rasmus Andersson
9f367901ef website: major update 2018-02-20 01:38:51 -08:00
Rasmus Andersson
360916d1ec Release v2.5 2018-02-18 00:28:23 -08:00
Rasmus Andersson
2b01dfbdd3 ufocompile: change magic italicMeanYCenter from -825 to -600 that in tests yields a better glyph box adjustment for all weights (slightly shifts glyphs to the right) 2018-02-17 20:18:43 -08:00
Rasmus Andersson
34a5d1b31f minor change to fontbuild 2018-02-17 20:17:55 -08:00
Rasmus Andersson
a95c991daa Adjust italic angle from 10 to 12 and change spacing delta to -8 2018-02-17 19:53:57 -08:00
Rasmus Andersson
7200f09834 AdjustWidth.py rf script 2018-02-17 18:14:27 -08:00
Rasmus Andersson
ded5391359 Add option ignoreGlyphsWithoutContours to AdjustWidth.py RF script 2018-02-16 22:44:20 -08:00
Rasmus Andersson
f5859654a9 improved kernsample.py 2018-02-16 22:43:19 -08:00
Rasmus Andersson
ec3dcaaca3 widen regular weight by 24 UPM (12 on each side; 24 UPM == 0.0085em) 2018-02-15 09:47:53 -08:00
Rasmus Andersson
57238c6c82 Fixes an issue where some overlapping contours would not be flattened during compilation. This increases build time by about 50% (29s -> 43s on my machine for regular) and increases the size of the unhinted regular OTF file by about 20 kB 2018-01-23 19:13:38 -08:00
Rasmus Andersson
0d7d370104 booleanOperations library: remove unreachable break and add exception instead of assertion, as done in upstream 2018-01-23 19:05:54 -08:00
Rasmus Andersson
f7868ac620 Fix minor bug in fontbuild where certain glyphs composed of multiple shapes would not be expanded & flattened 2018-01-18 22:47:59 -08:00
Rasmus Andersson
7636ef712e Change composition of version record of the name table to include build (when available) 2018-01-16 09:34:43 -08:00
Rasmus Andersson
826e00c4a0 Mix Medium weight at a slight increase in bias toward regular, making medium lighter (by a very small amount). Also changes mix of Bold weight at a slight increase in bias toward the black weight, meaning bold is now heavery (by a small amount) 2018-01-13 18:44:18 -08:00
Rasmus Andersson
093cc3047c misc/rf-scripts/AdjustWidth.py 2018-01-13 18:42:32 -08:00
Rasmus Andersson
c203f51290 misc/rf-scripts/AdjustWidth.py 2018-01-13 17:54:45 -08:00
Rasmus Andersson
310bbf85d8 misc/rf-scripts/AdjustWidth.py 2018-01-13 13:57:57 -08:00
Rasmus Andersson
c026473d55 misc/show-changes.py: handle removed glyphs 2018-01-13 13:52:47 -08:00
Rasmus Andersson
be09786c7b spelling mistake in misc/rmglyph.py 2018-01-10 09:17:16 -08:00
Rasmus Andersson
095627c513 Adjustments to loops + panose 2018-01-09 20:38:30 -08:00
Rasmus Andersson
76f983adae Fixes to font metadata, including addition of some OS/2 panose information 2018-01-08 10:26:09 -08:00
Rasmus Andersson
de4c7d9f5d fontbuild: convert curveFitPen (used for obliques) to cython 2017-11-29 19:00:41 -08:00
Rasmus Andersson
89c57cb6c3 fontbuild: fixes a minor issue with curveFitPen where != was used to check for None 2017-11-29 18:37:03 -08:00