Repository navigation
papercut:fonts:install saves the family's licence - #7
Open
serpentblade wants to merge 1 commit into
Open
serpentblade wants to merge 1 commit into
serpentblade wants to merge 1 commit into
Conversation
The command downloaded only the TrueType files, so an app that installed an OFL font shipped it without the licence the OFL asks to travel with it. It now fetches the family's OFL.txt, LICENSE.txt (Apache) or UFL.txt from Google's fonts repository and saves it beside the fonts. A licence that can't be fetched is a warning, not a failure; an existing copy is kept unless --force. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
papercut:fonts:installdownloaded only the TrueType files, so anyone installing an OFL font ended up without the licence the OFL asks to travel with the fonts. The command now saves the licence beside them.ofl/<family>/OFL.txt, thenapache/<family>/LICENSE.txt, thenufl/<family>/UFL.txt. The folder name is the family name lowercased with spaces removed.--force, as with the fonts.Checks
OFL.txt) and Roboto Slab (no OFL, so it got the ApacheLICENSE.txt).Docs: the Laravel README, the fonts guide and the CHANGELOG's Unreleased section are updated.
🤖 Generated with Claude Code