Rasmus Andersson
0e23d14f6c
improvements to misc/tools/lsname.py
2023-06-11 15:49:48 -07:00
Rasmus Andersson
f64f0618a3
adds tool lsname.py for listing name table entries of fonts
2023-06-11 15:22:57 -07:00
Rasmus Andersson
d88ab4204a
fixes name table entries for static files, re issue #519
2023-06-08 10:10:47 -07:00
Rasmus Andersson
6e73e79950
attempt at fixing names for Windows, re issue #519
2023-06-07 18:03:53 -07:00
Rasmus Andersson
063ece5e2f
tooling: always include name ID in name table in misc/tools/fontinfo.py
2023-06-07 10:10:27 -07:00
Rasmus Andersson
abe9bc638c
tooling: minor cleanup
2023-06-05 13:14:51 -07:00
Rasmus Andersson
3be775a4eb
changes style names to remove spaces, i.e. "Extra Bold" -> "ExtraBold". This should improve life on MS Windows
2023-06-04 16:57:11 -07:00
Rasmus Andersson
eb40739b9e
use prefix "InterVariable-" in fvar table instead of "Inter" to avoid any collision with static fonts on systems which may use ps style names as keys in a global namespace
2023-06-04 15:57:38 -07:00
Rasmus Andersson
5eb51269f2
fix accidental incorrect naming of variable font ("Inter Display", should be "Inter Variable")
2023-06-04 14:50:26 -07:00
Rasmus Andersson
7c6ad9f1b9
use "Italic" suffix for variable styles in STAT table, re #577
2023-06-04 12:34:21 -07:00
Rasmus Andersson
48f11a2f15
build STAT table (version 4) manually for variable fonts, re #577
2023-06-04 12:30:42 -07:00
Rasmus Andersson
e5a7c7c8c1
tooling: nit: do not crash if certain lib props do not exist in gen-var-designspace.py
2023-06-01 13:22:56 -07:00
Rasmus Andersson
566bd745d0
tooling: disable log message in misc/tools/rename.py
2023-05-30 15:08:03 -07:00
Rasmus Andersson
bd33b4148b
tooling: fixes issue with missing "text" sources in designspace
2023-05-30 15:03:22 -07:00
Rasmus Andersson
dd2f374bfd
tooling: fixes for variable font metadata
2023-05-30 13:56:24 -07:00
Rasmus Andersson
9ebede5a55
tooling: make postprocess-designspace.py infer opsz range instead of using hard-coded values
2023-05-30 13:55:37 -07:00
Rasmus Andersson
e12027c4c1
Remove "Display" named-instances from variable font
...
A lot of software gets confused when there are named instances that differ
only by opsz. This change removes all "Display" instances from the fvar table
and makes opsz=32 the default, so that software without automatic opsz-to-size
mapping displays the "Display" styles instead of the text styles by default.
This is the same approach taken by Apple San Francisco Pro.
Closes #519
2023-05-29 10:05:51 -07:00
Rasmus Andersson
b4d529e2d1
attempt to fix static font name linking metadata stuff, re #519 and #515
2023-04-21 17:45:54 -07:00
Rasmus Andersson
0e3f6d91ab
tooling: improve misc/tools/rename.py to support fonts with different wws family name
2023-04-21 17:36:58 -07:00
Rasmus Andersson
0bd24386ca
tooling: improved anchor copying in postprocess-designspace.py (disabled)
2023-04-21 13:12:11 -07:00
Rasmus Andersson
c89c16e314
tooling: disable mark anchor workaround copy_component_anchors in postprocess-designspace.py
2023-04-21 10:14:17 -07:00
Rasmus Andersson
2c6c82317c
fixes mkmk issues with some marks like /acutecomb by copying anchors from components into instances which does not have any anchors, as is common for comb accents, e.g. /acute has a _top anchor and /acutecomb is just an instance of /acute
2023-04-20 13:46:24 -07:00
Rasmus Andersson
ebf599d51d
tooling: fix decomposition detection by looking at all glyphs in all masters, not just one, since a cn might have a non-trivial transformation in just one design
2023-04-15 10:48:24 -07:00
Rasmus Andersson
1412d3efc1
fix to float detection in postprocess_instance_ufo.py
2022-10-15 17:10:13 -07:00
Rasmus Andersson
ce3d561fcd
make postprocess_instance_ufo.py ~20% faster by only setting a defcon property when the value is different
2022-10-15 16:40:23 -07:00
Rasmus Andersson
9d9bfc3eec
workaround for bug in defcon
2022-10-15 16:34:57 -07:00
Rasmus Andersson
adf3654b33
workaround for bug in glyphslib/fontmake that generates UFO glyphs with fractional widths. Closes #508
2022-10-15 16:23:56 -07:00
Rasmus Andersson
71fc6bbb69
fix github actions by making gen-instance-ufo.sh use bash explicitly
2022-10-07 17:45:32 -07:00
Rasmus Andersson
7cc0ab62e6
patch UFO files with WWS entries and simplify UFO generation
...
Patches UFO files to contain WWS entries.
Also simplify UFO generation by moving the hard-coded make rules from the makefile into a shell script.
Related to #498 and https://github.com/googlefonts/glyphsLib/issues/820
2022-10-07 17:39:22 -07:00
Rasmus Andersson
487396be21
adds Axis Location entries to all glyphspackage masters and removes the UFO patch that was a workaround for missing weight. Related to fontmake/issues/943
2022-10-07 16:00:31 -07:00
Rasmus Andersson
c79709096b
Workaround for bug in fontmake causing bad weight metadata
...
Workaround for bug in fontmake which caused incorrect weight metadata in static fonts.
See https://github.com/googlefonts/fontmake/issues/943
Related to #498
2022-10-05 10:11:16 -07:00
Rasmus Andersson
3f174fcef6
Remove slnt/ital VF axis
...
This removes the slant/italic variable axis and breaks up the font in two: roman and italic. This change will allow diverging designs for italic (for example single-storey a). It also addresses the fact that most software, including web browsers, doesn't handle VFs with slnt or ital well.
2022-09-26 17:09:36 -07:00
Rasmus Andersson
82b1a2ac6c
adds --style option to misc/tools/rename.py
2022-06-08 15:59:26 -07:00
Rasmus Andersson
143b917365
fix _get_vf_type bug in postprocess-single-axis-vfs.py that prevented single-axis VFs from building
2022-06-03 13:12:47 -07:00
Rasmus Andersson
585f56cee5
toolchain: drop old Makefile and init.sh script along with git hooks and slim down Python requirements.txt to just what we need
2022-06-03 10:28:41 -07:00
Rasmus Andersson
b8c2a3000a
reduce opsz range from 16-72 to 16-32
2022-06-01 11:54:19 -07:00
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
310a73bad9
v3.18
2021-03-31 19:09:32 -07:00
Rasmus Andersson
637d0eb186
web: Disable subset fonts as it turns out pyftsubset does not correctly handle substitution features causing subs like ccmp to break
2021-03-29 12:30:03 -07:00
Rasmus Andersson
c9dac4c440
tooling: fixes glyphinfo generator script. Some 3rd party library changed, causing output to no longer contain glyphs not explicitly ordered. Yay, dependencies.
2021-03-29 09:14:46 -07:00
Rasmus Andersson
3d7a7d0f98
add missing subset font files
2021-03-28 15:26:26 -07:00
Rasmus Andersson
5e0d7cbfda
fix python3 issue
2021-03-28 15:21:24 -07:00
Rasmus Andersson
7ef6ee2cc6
tooling: improve output data of misc/tools/fontinfo.py utility
2021-03-28 11:23:46 -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
ac063a796e
fontinfo: fix smol py3 syntax issue
2021-03-23 17:08:14 -07:00
Rasmus Andersson
4eee1377a7
tooling: adds a program that create subset web font files and accompanying CSS
2020-08-21 16:05:08 -07:00
Rasmus Andersson
d86c864152
misc: update misc/tools/download-count.py
2020-08-20 13:10:13 -07:00
Rasmus Andersson
b7435015ca
web: update version in resource urls
2020-08-20 11:18:18 -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
717605c5cd
tooling: Remove dockermake and fix a mkdir issue in init.sh. Closes #277
2020-05-18 08:47:33 -07:00