SmartGrids is an application that allows you to easily configure and preview modular typography grids.
SmartGrids is a small application I wrote in Python and published on GitHub. It allows you to quickly create and preview different typographic rasters based on several inputs. While this was nothing impossible before, it automates and speeds up the non-creative math part tremendously.
This project not only allowed me to learn how to write standalone applications in Python but has also taught me a lot about how and where fonts get stored on the computer and how the actual font files are set up internally. The project also introduced me to the fonttools library that I used throughout the project to get information from the font files.
You can input several parameters like the page size, margins, font size, and leading, and SmartGrids will show you all the possible grid configurations. Unlike the built-in grid creation tools in Adobe InDesign, SmartGrids will automatically align the grid to your body copy. The gridlines can be aligned with the cap height, ascender, or x height of the text. It also allows for a baseline shift so that the gridlines don’t align with the baseline of the text but with its descenders.
Creating cap-height aligned grids in Adobe InDesign is not impossible either, but involves a lot of trial and error and manual measuring. This application allows you to skip the tedious guesswork and manual calculations. SmartGrids will show you all possible grid configurations and output all relevant values that you can then input into your layout software.
The grids follow the style proposed by Josef Müller-Brockamann in his influential 1981 book Grid Systems in Graphic Design.¹ Typographic grids help you structure your layouts in a meaningful and clean way. When working on larger editorial projects they can also speed up your workflow significantly.
Give it a try on GitHub, and feel free to give me all your feedback.
1 — If you are only somewhat interested in graphic design and/or typography this book is truly worth a read. Many graphic designers see it as one of the most influential publishings about Swiss graphic design.