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
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