Rasmus Andersson
5c83e7d510
remove debug printing from misc/tools/lsstat.py
2023-06-15 13:18:21 -07:00
Rasmus Andersson
1bf738cec6
adds two debugging tools: lsfvar.py & lsstat.py
2023-06-15 13:17:45 -07:00
Rasmus Andersson
1920f75082
STAT table with format 1 & 2 records instead of format 3, re #577
2023-06-14 08:52:47 -07:00
Rasmus Andersson
fd99812ed0
use a v1.1 STAT table with format 1 & 3 records (instead of v1.2 with format 4) to make things work smoothly in Adobe InDesign. Re #577
2023-06-12 18:16:07 -07:00
Rasmus Andersson
582467fa8d
make sure fvar ps name for InterVariableItalic is not identical to ID 25. Re #577
2023-06-12 12:22:16 -07:00
Rasmus Andersson
7429e38d2e
use unique name ID 25 for variable fonts, re #577
2023-06-12 12:13:10 -07:00
Rasmus Andersson
c5359ee038
adds --no-labels option to misc/tools/lsname.py
2023-06-12 12:10:38 -07:00
Rasmus Andersson
2c652cfc9a
fixes OS/2 table usWeightClass entry in static fonts by rounding to nearest 100th. Closes #583
2023-06-11 16:18:40 -07:00
Rasmus Andersson
350dd70403
make sure "Italic" is excluded from familyName in UFO fontinfo, re #519
2023-06-11 16:01:13 -07:00
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