Giter Site home page Giter Site logo

garamond-math's People

Contributors

stone-zeng avatar yuanshengzhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

garamond-math's Issues

Oldstyle Figures needed

Garamond-Math more than any other Math font needs Oldstyle Figures as an option. None other Math font fits so well numerous Renaissance typefaces, and each of those classical fonts simply demands Oldstyle Figures. They were used both in text and in Mathematical formulae.

Unicode-Math has a mechanism to substitute Figures in a Math font from another font. Unfortunately, Garamond-Math displays very visible kerning problems, for example subscript ₁ , when it is taken from the text font.

No curved partial in text mode with StylisticSet={2}

MNWE:

\documentclass{standalone}

\usepackage{unicode-math}
\setmathfont[StylisticSet={2}]{Garamond-Math.otf}

\begin{document}

Text: $\frac{\partial f}{\partial x}$.

Math:
$\displaystyle
    \frac{\partial f}{\partial x}
$

\end{document}

Output: test.pdf

Widetilde broken and tilde looks like an acute at small sizes

The command \widetilde produces, instead of the tilde, a superposed e (see below). No idea why.
screenshot_20181219180335

Tilde is less of an issue, more of a query, since I think it looks a bit too much like an acute accent at text sizes. Could it be changed slightly?
screenshot_20181219180402

Regression: commit d42b68b5c2e91132751339a3e0889ba180ffb09f "alg. impr:" breaks math operator spacing in the binary file.

The inter-character spacing for math operators became too wide since commit d42b68b "alg. impr:" . I'm not sure what change has caused that but the .otf binaries before that commit does not have that problem.

After the commit:
aftercommit

Before the commit:
beforecommit

edit: the CTAN version contains this bug

edit: in the commit you can also see that the spacing between "x" and the comma "," is broken. I think that was fixed in a later commit, but the spacing for math operators is still broken.

Feature request: larger operators variant

I’ve been using Garamond Math for some months now to my great pleasure. One thing I’ve found, however, is that operators and relations like ∪, +, = etc. are a little small with respect to other founts, and I think it makes equations a little bit harder to read. Would it be possible — if it’s not too much work — to have a stylistic set where these are a little larger?

Compare the images below: the first one has the same line first in Garamond Math then in Latin Modern Math. You’ll notice that ×, ∪ and = are ever so slightly larger in the second line. The symbols could even be a little larger, as in the second image taken from an XVIIIᵗʰ-century book.

Different rendering between XeTeX, LuaTeX and MS Word

The rendering of the three engines are different (Currently, the font is optimized for and tested on XeTeX with unicode-math).

  • LuaTeX ignores math kern (if there are any).
  • normal kern will be taken into account only in inline math of LuaTeX.
  • MS Word not add italic-correction to the width of glyphs in juxtaposition. This now makes the font unusable in Word (too cramped)

Poor kerning of V, f with subscript and preceeding text

Thanks for the math font!

Things like "text text $V_S$" have incorrect kerning. The "V" gets too close from the final "t" in text and way too far away from its subscript. Same goes using an "f" in place of the "V".

Behavior is possibly marginally better in XeLaTeX than in LuaLaTeX, but there is margin for improvement in both cases.

Equation accents issue

Word math equation accents not "active" (when entering a long expression, the accents are not covering the entire formula, unlike overbars). I've used the .otf file version.

Screenshot 2020-05-13 at 23 47 02

Screenshot 2020-05-13 at 23 43 40

Spacing/kerning issue with \sfrac and LuaLaTeX

Consider the following code:

\documentclass{standalone}

\usepackage{xfrac}
\usepackage{esdiff}
\usepackage{unicode-math}
\setmathfont{Garamond-Math.otf}

\begin{document}
$\sfrac{\partial S}{\partial r }$ soit $\sfrac{\partial S}{\partial r }$
\end{document}

Rendering is OK with XeLaTeX, but not with LuaLaTeX. Both work OK with other fonts.

Add the OTF:s?

Could you please add the otf's? I have experience with LuaLaTeX but not with FontForge and can't figure out how to generate the files necessary from the sfd's. Either add the generated otf's or extend the Readme with some pointers on how to go about using your work.

Wrong metadata?

Running

otfinfo -i Garamond-Math.otf

I obtain, among other info:

Preferred family: TeX Gyre Termes Math

In fact, opening the font on KDE's font viewer, it report the font name as TeX Gyre Termes Math. All other metadata seems OK (font version reported is 1.543, though).

TODO

  • new \mathcal bold
  • optical size (currently interpolation is used. Long time needed)
  • More weights
  • mathfrak (current glyphs are from TG Termes. No ideas yet)
  • Incorporate EauDeGaramond?

Update CTAN

They have been some significant changes in spacing since the last CTAN version, so I have to manually overwrite the file on each texlive update on my system. Is it possible to update the version available in CTAN? Thanks!

Spacing Problem, especially letter f. Eg. `(f)`, `\frac16f'''(w)`

\documentclass{article}

\usepackage{unicode-math}
\setmathfont{Garamond-Math}

\begin{document}
	\( (f) \quad \{f\} \quad [f] \quad \lvert f\rvert \)
	
	\( (y) \quad \{y\} \quad [y] \quad \lvert y\rvert \)
\end{document}

screenshot from 2018-05-08 09-36-29

I think those will need some treatment. I don't know what will be an appropriate approach however. I'm not sure kerning can solve the issue without making everything look asymmetric. In a text font this looks like maybe ligatures are needed, but this is perhaps not the correct thing to do for a math font. So maybe the glyphs of the letters need to be adjusted for the math font?

feature request: semibold variant

I really like what you are doing and I was wandering if it would be possible to integrate also semibold variants. As the visual weight of the Garamond font is light and this lightness together with the flow of the glyph curves represents a major part of Garamond's beauty, I find the included bold version too pronounced (too contrasting).

Why is there no \setminus in the font?

When I compile the following example:

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Garamond-Math.otf}[Path=./]

\begin{document}
$A\setminus B$
\end{document} 

I get no output between A and B (with LuaLaTeX, a questionmark box with XeLaTeX). As Garamond-Math does have a \backslash I wonder why there is no \setminus (⧵ (U+29F5)).

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.