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

302 Commits

Author SHA1 Message Date
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
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
Rasmus Andersson
a49675b3ca Adds script for showing changes between branches (e.g. what glyphs has changed since last release) 2017-11-28 17:12:29 -08:00
Rasmus Andersson
1f684610cd Adds script for verifying font files 2017-11-28 17:11:48 -08:00
Rasmus Andersson
51aed9fbfe kernsample: prefix option 2017-11-26 20:25:36 -08:00
Rasmus Andersson
b57ca872d0 build: minor performance optimization of fontbuild 2017-11-26 14:50:06 -08:00
Rasmus Andersson
7277f62ba0 Fix italic style in ufocompile 2017-10-23 21:59:39 -07:00
Rasmus Andersson
bbd1ddc0c3 Remove debug print statement from fontinfo 2017-10-23 21:59:15 -07:00
Rasmus Andersson
dff0d33c59 Fix bug in misc/kernsample.py 2017-10-21 14:29:14 -07:00
Rasmus Andersson
450ebd64f0 Change name of italic style subfamily from "Regular Italic" to "Italic". Most sensible font managers and apps should match the old name to the new seamlessly 2017-10-21 14:29:07 -07:00
Rasmus Andersson
fa8ff3b4ed Improvements to misc/fontinfo.py 2017-10-13 09:39:14 -07:00
Rasmus Andersson
c489e7ba49 ufocompile: Adjust stem width hint for oblique generation 2017-10-06 08:40:17 -07:00
Rasmus Andersson
93eb2ca2ec Use explicit names table properties for bold and bold italic. Closes #34 2017-10-05 09:00:39 -07:00
Rasmus Andersson
cd00b6e8e4 Fixes misc/gen-glyphorder.py 2017-10-04 23:38:19 -07:00
Rasmus Andersson
855258147e fontbuild: optimize glyphorder data per font and check for duplicates 2017-10-04 23:38:06 -07:00
Rasmus Andersson
8918907041 Fix bug in rmglyph where the last codepoint in a range would not be removed 2017-09-30 09:46:18 -07:00
Rasmus Andersson
b0b2ac9796 Remove unused anchor pairs from fontbuild 2017-09-25 10:38:09 -07:00
Rasmus Andersson
b47572cc05 Improve misc/gen-glyphinfo.py and gen-metrics-and-svgs.py by ignoring glyphs listed in "delete" of fontbuild.cfg 2017-09-24 19:38:30 -07:00
Rasmus Andersson
d96bba86f1 Improvements to misc/rmglyph.py 2017-09-24 19:19:39 -07:00
Rasmus Andersson
686bb6ad33 Improvements to misc/rmglyph.py 2017-09-24 18:08:47 -07:00
Rasmus Andersson
96b440aafc Fix args to misc/cleanup_kerning.py 2017-09-24 17:39:42 -07:00
Rasmus Andersson
cc4f1db396 Improves misc/rmglyph.py 2017-09-24 16:36:12 -07:00
Rasmus Andersson
d525f12f4b Support for included files in fixup-features script 2017-09-24 13:07:42 -07:00
Rasmus Andersson
989a5e2e61 Adds misc/rmglyph.py for safe and complete removal of glyphs 2017-09-24 13:07:13 -07:00
Rasmus Andersson
84dfab8f06 Move away from using hinted fonts by default 2017-09-23 10:14:17 -07:00
Rasmus Andersson
d457ac8e05 Fix download count script. Note that it only counts after the projects was renamed to "Inter" 2017-09-23 10:12:51 -07:00
Rasmus Andersson
9209081fe9 Adds misc/kernsample.py 2017-09-19 10:54:02 -07:00
Rasmus Andersson
4fdb4c927e Rename family from "Interface" to "Inter UI" 2017-09-18 15:58:34 -07:00
Rasmus Andersson
bb390dd2ae website etc 2017-09-12 23:33:08 -07:00
Rasmus Andersson
c77a0f8492 Remove debug printing from fontinfo script 2017-09-11 22:43:18 -07:00
Rasmus Andersson
5e639ba7f1 Adds script for retrieveing download counts from github 2017-09-10 12:44:24 -07:00
Rasmus Andersson
9950357a6b Renames Bold master to Black and introduces a new weight "Black" which is practically the same as "bold" prior to this change. "Bold" is now an interpolated, slightly lighter version of "Black" 2017-09-05 11:06:04 -04:00
Rasmus Andersson
8234b62ab7 Speeds up font compilation by around 200%
Cython is used to compile some hot paths into native Python extensions.
These hot paths were identified through running ufocompile with the hotshot
profiler and then converting file by file to Cython, starting with the "hottest"
paths and continuing until returns were deminishing. This means that only a few
Python files were converted to Cython.

Closes #23
Closes #20 (really this time)
2017-09-04 11:12:34 -04:00
Rasmus Andersson
7e52b008d0 Improves glyphorder generation 2017-08-31 08:16:38 -07:00
Rasmus Andersson
da49fd5536 Add missing woff2 patch. Closes #20 2017-08-31 07:43:09 -07:00
Rasmus Andersson
65a7e98c76 Fixes broken italic (oblique) styles. The issue was that component decomposition did not happen in the correct order for some glyphs 2017-08-30 19:35:06 -07:00
Rasmus Andersson
b116f9abdd Website 2017-08-28 11:31:42 -07:00
Rasmus Andersson
ca5fe60c99 Various improvements 2017-08-28 02:36:40 -07:00
Rasmus Andersson
e77a1a132c tnum, zero, ss01, latin1-extended, etc
- Tabular numbers feature
- Slashed zero feature
- Stylistic set 1 feature (open numbers)
- Combination glyphs for the above feature intersections
- Improved Latin-1 extended glyph set
- Kerning improvements for numbers
- Lots of anchor improvements
- Fixes "Medium seems to be same as Regular" issue on Windows
2017-08-24 18:27:00 -07:00
Rasmus Andersson
35b6655728 adjust misc/gen-tnum.py 2017-08-24 18:23:54 -07:00
Rasmus Andersson
3835e299be Adds tabular numbers. Closes #10 2017-08-24 00:43:12 -07:00
Rasmus Andersson
c97111a594 Include version in CSS so that HTTP caches are not pointing to old versions 2017-08-22 13:11:06 -07:00
Rasmus Andersson
eda835f2f2 release v1.1 2017-08-22 12:47:55 -07:00
Rasmus Andersson
3b1fffade1 Initial public commit 2017-08-22 02:23:08 -07:00