Patent attributes
This disclosure describes methods, non-transitory computer readable storage media, and systems that utilize glyph sets from predefined instances of variable fonts to customize font bounding boxes for custom instances of the variable fonts. The disclosed system customizes digital text including a variable font via one or more adjustable design axes. In response to a request to set a custom value of a design axis, the disclosed system determines a first and second predefined instances of the digital text. For example, the disclosed system determines a Euclidean distance between the custom value and corresponding values for the predefined instances. The disclosed systems determine sets of glyphs that contribute to the font bounding boxes of the first predefined instance and the second predefined instance. The disclosed systems generate a custom font bounding box for the digital text at the custom value of the design axis based on the glyph sets.