googlefonts / science-gothic

Science Gothic, a libre variable font
Other
142 stars 4 forks source link

Adjust width/sidebearings for three math glyphs #337

Closed tphinney closed 2 months ago

tphinney commented 2 months ago

This is only a Warn and we could possibly ignore it (or only do it for /multiply)

Check math signs have the same width. Check ID: <FontBakeryCheck:com.google.fonts/check/math_signs_width> It is a common practice to have math signs sharing the same width (preferably the same width as tabular figures accross the entire font family).

This probably comes from the will to avoid additional tabular math signs knowing that their design can easily share the same width.

Original proposal: https://github.com/fonttools/fontbakery/issues/3832 ⚠️ ScienceGothic[YOPQ,slnt,wdth,wght].ttf ⚠️ WARN The most common width is 1438 among a set of 11 math glyphs. The following math glyphs have a different width, though:

Width = 1274: multiply

Width = 1218: approxequal, uni223C

[code: width-outliers]

kateliev commented 2 months ago

Same as #324

kateliev commented 2 months ago

Done. Set the widths of: /asciitilde/approxequal/uni223C/multiply/uni2052/equal/logicalnot/plus/uni2212/divide/plusminus/less/greater/notequal/lessequal/greaterequal

As calculated in the below attached document: Math_Widths_Tabular.xlsx

Set using Python with script that automatically calculates median across layers: scripts/FontLab/sg-toolbox/SG-Metrics-Tabular-Advance.py