distillpub / post--differentiable-parameterizations

A powerful, under-explored tool for neural network visualizations and art.
https://distill.pub/2018/differentiable-parameterizations
Creative Commons Attribution 4.0 International
26 stars 12 forks source link

Diagram font issue #63

Closed colah closed 6 years ago

colah commented 6 years ago

I think the SVGs for the diagrams are using a font that not all users have. In the fallback, bold vs normal fonts have different sizes, leaving a small gap:

image

ludwigschubert commented 6 years ago

Chris, you’re right of course—sorry I wasn’t tracking it. I had discussed the issue with Shan and decided I will just fix that diagram manually.

The underlying issue is that macOS uses two font variants for its system font (SF Pro Text vs SF Pro Display), and we don’t seem to have good control over which ones are used.

A real solution will require some reading on my side about how Apple resolves font names. A short term fix is fixing the location of those text boxes or removing the bolding of the terms.