Skip to content

Use a patched version of the Latin Modern Math font - #247

Merged
tmke8 merged 1 commit into
mainfrom
patched-font
Sep 25, 2024
Merged

tmke8 merged 1 commit into
mainfrom
patched-font

Conversation

@tmke8

@tmke8 tmke8 commented Sep 25, 2024

Copy link
Copy Markdown
Owner

To produce this version, I did the following:

  1. Download Latin Modern Math from https://www.gust.org.pl/projects/e-foundry/lm-math
  2. Open the otf file in FontForge and replace the normal prime glyphs with the "script style" variants of the prime glyphs. (Simply by pressing ctrl+c on the variant glyph, then pressing ctrl+v on the glyph I want to replace). I did this for all prime glyphs: single prime, double prime, triple prime, quadruple prime, single back prime, double back prime, triple back prime.
  3. Export the result to otf, with FontForge. I got some warnings, but I didn't understand them and ignored them.
  4. Convert the resulting otf file to woff2 with the compress-font.py script from https://github.com/fred-wang/MathFonts

To produce this version, I did the following:

1. Download Latin Modern Math from
   https://www.gust.org.pl/projects/e-foundry/lm-math
2. Open the otf file in FontForge and replace the normal prime glyphs
   with the "script style" variants of the prime glyphs. (Simply by
   pressing ctrl+c on the variant glyph, then pressing ctrl+v on the
   glyph I want to replace). I did this for all prime glyphs: single
   prime, double prime, triple prime, quadruple prime, single back
   prime, double back prime, triple back prime.
3. Export the result to otf, with FontForge. I got some warnings, but I
   didn't understand them and ignored them.
4. Convert the resulting otf file to woff2 with the `compress-font.py`
   script from https://github.com/fred-wang/MathFonts
@tmke8
tmke8 merged commit 261fb63 into main Sep 25, 2024
@tmke8
tmke8 deleted the patched-font branch September 25, 2024 09:32
@tmke8 tmke8 mentioned this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant