Google Sans Flex is a geometric sans-serif typeface for use as the Google's corporate branding typeface. Originally based off of Google Sans, the Google Sans Flex design has been extended adding a broader design space of optical sizes and a wide range of styles.
The typeface currently supports weight, width, slant, optical size, grade, and roundness design axes.
The Google Sans Flex project is developed in a six axis design space with one '.glyphspackage` source.
wght: range 1 to 1000; default=400wdth: range 25 to 151; default=100slnt: range -10 to 0; default=0.opsz: range 6 to 144; default=18.GRAD: range 0 to 100; default=0ROND: range 0 to 100; default=0The sources are drawn with quadratic outlines despite living in a .glyphspackage, and are compiled with fontc.
Commits to the main branch are built & tested automatically.
To build from other branches, workflows can be manually run from the Actions tab of the repository.
bumpfontversion sets the font version in the sources based on the tag namescripts/prune_font_binary.py removes unused/unencoded glyphs from TTFsscripts/set-overlap-bits.py adjusts overlap flags in the GLYF tablemake build will produce font files.make test will run Shaperglot, opentype-sanitizer, file-size, and FontBakery.To release, head to GitHub's releases page for the repo (here). Then:
That's everything you need to do done. In particular, no need to change the
version number in either the design or UFO sources, as bumpfontversion will
take care of that.
A GitHub workflow will kick off in the background which will compile the font and attach a .zip file to the GitHub release once complete. You can track its progress here.
A set of VFs intended for use in Google Workspace will be generated by the release workflow. Check README_WORKSPACE.md for more information. That README_WORKSPACE.md file will be included in the Workspace release zip.
Please run make update to update dependencies. This uses uv to resolve them and write them into the requirements.txt file. The requirements are then installed by the build scripting without further dependency resolution.
A script used to find angles (between the incoming and outgoing handles or point of an on-curve point) that statistically deviate from the same angle in other masters. Use like this:
git clone https://github.com/BlackFoundryCom/fontra somewhere and set it up inside a venv as described in the Readme.fontra --launch filesystem ../googlesans-flex/sources/regular/make venv and then source venv/bin/activate).python scripts/find-problems.py ../googlesans-flex-fb-wip/sources/roman/GoogleSansFlex.designspace. The Designspace can be anywhere, but the script should be run from your venv.You can also inspect variable TTFs. Note that the locations might be slightly off then.
SIL Open Font License, without Reserved Font Names.
Python
67.0%
HTML
30.5%
Shell
1.2%
Makefile
1.1%
Google Sans Flex is a geometric sans-serif typeface for use as the Google's corporate branding typeface. Originally based off of Google Sans, the Google Sans Flex design has been extended adding a broader design space of optical sizes and a wide range of styles.
The typeface currently supports weight, width, slant, optical size, grade, and roundness design axes.
The Google Sans Flex project is developed in a six axis design space with one '.glyphspackage` source.
wght: range 1 to 1000; default=400wdth: range 25 to 151; default=100slnt: range -10 to 0; default=0.opsz: range 6 to 144; default=18.GRAD: range 0 to 100; default=0ROND: range 0 to 100; default=0The sources are drawn with quadratic outlines despite living in a .glyphspackage, and are compiled with fontc.
Commits to the main branch are built & tested automatically.
To build from other branches, workflows can be manually run from the Actions tab of the repository.
bumpfontversion sets the font version in the sources based on the tag namescripts/prune_font_binary.py removes unused/unencoded glyphs from TTFsscripts/set-overlap-bits.py adjusts overlap flags in the GLYF tablemake build will produce font files.make test will run Shaperglot, opentype-sanitizer, file-size, and FontBakery.To release, head to GitHub's releases page for the repo (here). Then:
That's everything you need to do done. In particular, no need to change the
version number in either the design or UFO sources, as bumpfontversion will
take care of that.
A GitHub workflow will kick off in the background which will compile the font and attach a .zip file to the GitHub release once complete. You can track its progress here.
A set of VFs intended for use in Google Workspace will be generated by the release workflow. Check README_WORKSPACE.md for more information. That README_WORKSPACE.md file will be included in the Workspace release zip.
Please run make update to update dependencies. This uses uv to resolve them and write them into the requirements.txt file. The requirements are then installed by the build scripting without further dependency resolution.
A script used to find angles (between the incoming and outgoing handles or point of an on-curve point) that statistically deviate from the same angle in other masters. Use like this:
git clone https://github.com/BlackFoundryCom/fontra somewhere and set it up inside a venv as described in the Readme.fontra --launch filesystem ../googlesans-flex/sources/regular/make venv and then source venv/bin/activate).python scripts/find-problems.py ../googlesans-flex-fb-wip/sources/roman/GoogleSansFlex.designspace. The Designspace can be anywhere, but the script should be run from your venv.You can also inspect variable TTFs. Note that the locations might be slightly off then.
SIL Open Font License, without Reserved Font Names.
Python
67.0%
HTML
30.5%
Shell
1.2%
Makefile
1.1%