Skip to content

Add GitHub Actions workflow to build Unifont BMP TTF #2

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

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Add GitHub Actions workflow to build Unifont BMP TTF #2

merged 2 commits into from
Sep 19, 2023

Conversation

AlexTMjugador
Copy link
Member

The Unifont project has decided to stop distributing precompiled TrueType fonts for the Unicode Basic Multilingual Plane (BMP) starting with version 15.1.01. The recommended migration path is to use OpenType fonts instead, but modifying software to accommodate this new format can be costly. So if we want to continue using TTF fonts for the foreseeable future, we need to build them ourselves from source, following the official instructions.

To make this process easy, reproducible, and convenient, this PR introduces a GitHub Actions workflow that can be manually triggered for this effect, requesting the Unifont version to be built. When the workflow completes, an artifact containing the built TTF file is uploaded.

The described workflow automatically verifies that the GPG signature of the Unifont source tarball checks up with the contents of unifoundry-keys.gpg, which can be downloaded from https://unifoundry.com/1A09227B1F435A33_public.asc, according to the official signature verification instructions.

The Unifont project has decided to stop distributing precompiled
TrueType fonts for the Unicode Basic Multilingual Plane (BMP) starting
with version 15.1.01. The recommended migration path is to use OpenType
fonts instead, but modifying software to accommodate this new format can
be costly. So if we want to continue using TTF fonts for the foreseeable
future, we need to build them ourselves from source, following the
official instructions.

To make this process easy, reproducible, and convenient, this PR
introduces a GitHub Actions workflow that can be manually triggered for
this effect, requesting the Unifont version to be built. When the
workflow completes, an artifact containing the built TTF file is
uploaded.

The described workflow automatically verifies that the GPG signature of
the Unifont source tarball checks up with the contents of
`unifoundry-keys.gpg`, which can be downloaded from
https://unifoundry.com/1A09227B1F435A33_public.asc, according to the
official signature verification instructions.
Copy link
Member

@botder botder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow file looks good, but the included GPG key includes too much. This one should suffice.

Paul Hardy_0x1F435A33_public.zip

@AlexTMjugador
Copy link
Member Author

Right, the bundled GPG keyring has a revoked key too, which is unnecessary. I replaced the file with the one you provided 👍

@botder botder merged commit 4140087 into multitheftauto:master Sep 19, 2023
@botder
Copy link
Member

botder commented Sep 19, 2023

Thank you for this pull request.

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

Successfully merging this pull request may close these issues.

2 participants