๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.dtp.tex.gust
Article #27608

[gust-l] Latin Modern OS/2 & hhea metrics

#27608
From: Alexis King
Date: Sun, 19 Dec 2021 13:18
30 lines
2561 bytes
Hello,

Iโ€™d like to start by thanking GUST for its work on Latin Modern and the
other TeX Gyre fontsโ€”I am currently tinkering with a new implementation of
an OpenType math layout engine, and the GUST fonts have already proven
enormously helpful.

Onto my actual subject: I have discovered that the metrics for the Latin
Modern text fonts differ from the metrics for the other fonts (including LM
Math) in two respects:

   1. In the OS/2 table, the USE_TYPO_METRICS bit of the fsSelection field
   is not set.
   2. The metrics in the hhea table differ (significantly) from the metrics
   in the OS/2 table.

This seems unintentional to me, as the hhea metrics do not seem correct.
Unfortunately, I have discovered that Harfbuzz uses the hhea metrics if the
USE_TYPO_METRICS bit is not set, which results in the incorrect metrics
being used in my renderer (and a visible discrepancy between LM and LM
Math).

I am not sure how actively maintained these fonts are, but seeing as there
was a new LM release as recently as this year, I figured Iโ€™d at least
attempt to let you know. For now, I will patch the fonts to adjust the
metrics myself, but it would be wonderful if they could be updated in the
distribution.

Many thanks,
Alexis
Technical Details
Message-ID: <CAA8dsac7E_VsgmP4MkWo4EO8rVgYBH7qoLWPLgoNiEOCA6JSwQ@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <CAA8dsacGLf3VW19ufNX1xNM7unTxRjHLM7amqXW9FtgYp=1GZQ@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Sun, 19 Dec 2021 05:18:22 -0800
From: Alexis King <lexi.lambda@gmail.com>
To: gust-l@man.torun.pl
Subject: [gust-l] Latin Modern OS/2 & hhea metrics
Organization: Polish Association GUST
Message-ID: <CAA8dsac7E_VsgmP4MkWo4EO8rVgYBH7qoLWPLgoNiEOCA6JSwQ@mail.gmail.com>
References: <CAA8dsacGLf3VW19ufNX1xNM7unTxRjHLM7amqXW9FtgYp=1GZQ@mail.gmail.com>
In-Reply-To: <CAA8dsacGLf3VW19ufNX1xNM7unTxRjHLM7amqXW9FtgYp=1GZQ@mail.gmail.com>
MIME-Version: 1.0
Newsgroups: pl.comp.dtp.tex.gust
Reply-To: gust-l@man.torun.pl
Approved: mjsz@umk.pl
Lines: 32
NNTP-Posting-Host: 158.75.33.82
X-Trace: 1639931510 unt-rea-a-01.news.neostrada.pl 513 158.75.33.82:58740
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 2283
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit