groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small error in install-font from Peter Schaffter


From: Wim Stockman
Subject: Small error in install-font from Peter Schaffter
Date: Sun, 11 Dec 2022 00:09:54 +0100

I found a small error in the install-font script of Peter Schaffter from
the mom macros
Link: https://www.schaffter.ca/mom/bin/install-font.sh

The generated internalname is missing a "-" between font family and
font-style

For instance, for the font FreeSerifBoldOblique.otf
FreeSerifBI
the internalname is wrong.
The script generates as internalname FreeSerifBoldItalic
and it should be: FreeSerif-BoldItalic.
There needs to be a little "-" between font family name and the font style
name.
if you embed the font in your pdf you will not notice it.
But if you don't embed them , they will be randomly substituted by pdf
viewers even if you have the font installed in linux because it doesn't
find the right one.

Kind regards,
Wim Stockman


reply via email to

[Prev in Thread] Current Thread [Next in Thread]