Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad ss01 at 12pt, 13pt, 13.5pt #34

Open
mirabilos opened this issue Oct 9, 2024 · 2 comments
Open

bad ss01 at 12pt, 13pt, 13.5pt #34

mirabilos opened this issue Oct 9, 2024 · 2 comments

Comments

@mirabilos
Copy link

screenshot, dark theme to not blind the reader

<html><head><title>test</title></head>
<body bgcolor="#000000" text="#AAAAAA" style="font-family:Gentium Plus;">
<p style="font-size:12pt;">test @ 12pt: mam mgm <b>mam mgm</b>
 <span style="font-feature-settings:'ss01';">mam mgm <b>mam mgm</b></span>
</p>
<p style="font-size:12.5pt;">test @ 12.5pt: mam mgm <b>mam mgm</b>
 <span style="font-feature-settings:'ss01';">mam mgm <b>mam mgm</b></span>
</p>
<p style="font-size:12pt;">test @ 13pt: mam mgm <b>mam mgm</b>
 <span style="font-feature-settings:'ss01';">mam mgm <b>mam mgm</b></span>
</p>
<p style="font-size:13.5pt;">test @ 13.5pt: mam mgm <b>mam mgm</b>
 <span style="font-feature-settings:'ss01';">mam mgm <b>mam mgm</b></span>
</p>
<p style="font-size:14pt;">test @ 14pt: mam mgm <b>mam mgm</b>
 <span style="font-feature-settings:'ss01';">mam mgm <b>mam mgm</b></span>
</p>
</body></html>
@jvgaultney
Copy link
Contributor

Could you tell us what problem you're seeing here? Is it the height of the single-story a and g? Please also tell us what OS, version, and app this is from. Is this the latest Gentium Plus (version 6.200)?

We use an autohinting tool - ttfautohint - to optimize the rendering of letters at small ppem (pixels per em) sizes. It generally does very well, and in each major release we work to improve the results, but we don't have the capacity to manually hint special cases. Once version 7 is released, please check this again in the same environment.

@mirabilos
Copy link
Author

Sure. It is indeed the a and g height. This is Firefox 115.15.0esr on Debian, with 6.200 installed system-wide but also provided as TTF and WOFF2 from the website.

Incidentally, this is how I noticed, because Debian bullseye ships 5.000 by default, which lacks the stylistic sets, but also the boldface, so before I had it installed system-wide (as texlive dependency) I got the webfont of 6.200, then I got 5.000 until I upgraded the fonts-sil-gentiumplus package. I wish there was a way in webfonts to require a specific minimum version for local(…) fonts…

But good to know ttfautohint is good; I need to have a look at that for the fixed-width font I’ll be improving when I have the time.

Unfortunately, 12 pt is the standard size for webpages, so any webpage that uses Gentium Plus and enables those stylistic sets, or uses the type-tuned versions, will exhibit this… and 12½ pt as workaround introduces slight problems with other fonts…

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

No branches or pull requests

2 participants