Git Product home page Git Product logo

garamond-math's Introduction

Garamond-Math Ver. 2019-08-16

Garamond-Math is an open type math font matching the EB Garamond (Octavio Pardo) and EB Garamond (Georg Mayr-Duffner). Many mathematical symbols are derived from other fonts, others are made from scratch.

Notes

  • Referred fonts: XITS Math, Libertinus Math, Computer Modern, Asana Math, Noto Sans Math.

  • Stylistic sets: (StylisticSet={#1,#2,...} in unicode-math package)

    • 1 → XITS Blackboard \mathbb.
    • 2 → Curved \partial.
    • 3 → CM \mathcal (no lowercase)
    • 4 → Use semi-bold for \symbf
    • 5 → Use extra-bold for \symbf
    • 6 → horizontal "bar" for \hbar
    • 7\int variant
    • 8 → A \mathcal variant (experimental, no boldface)
    • 9\tilde variant
    • 10 → out-bending italic h
    • 11 → larger operators
  • Part of TeX files are from FiraMath repository.

  • Issues, bug reports, forks and other contributions are very welcome.

Known Issue

  • Various spacing problems. Though math fonts technically should not be kerned, some pairs looks very ugly (Ex. VA); sometimes sub/superscript may also have same problem.
  • Fake optical size. EB Garamond does not contain a complete set of glyphs (normal + bold + optical size of both weights). The "optical size ssty" is made by interpolating different weights at the present (without this, the double script is too thin to be readable).

How to Build from Source

  • The sfdir here is NOT ready to build!
  • To build the font from source, please install FontForge and Python 3.
  • Open ./scripts/MetricGen.ipynb, run all the codes before “codes for generating metrics”. For usage in MS Word, set build4word=True in the last cell to be run.
  • On Windows, this should all work out, on other system, the .bat does not work, you should generate font from the generated sfdir with FontForge manually.
  • Only when there is a major improvement will the otf file in the repository will be updated. And the file is built with build4word=False, so it may not be suitable to use in MS Word.

Sample

sample

License

This Font Software is licensed under the SIL Open Font License, Version 1.1.

garamond-math's People

Contributors

yuanshengzhao avatar stone-zeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.