Add Google Fonts processing script

This commit is contained in:
Nyall Dawson 2024-04-16 09:33:19 +10:00
parent b70fba6762
commit 5e85f29512
2 changed files with 1615 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -244,6 +244,7 @@ QgsFontDownloadDetails GoogleFontDetails( const QString &family, const QStringLi
QgsFontDownloadDetails QgsFontManager::detailsForFontDownload( const QString &family, QString &matchedFamily ) const
{
// this list is built using scripts/process_google_fonts.py
const thread_local std::vector< QgsFontDownloadDetails > sGoogleFonts
{
GoogleFontDetails( QStringLiteral( "ABeeZee" ), { QStringLiteral( "ofl/abeezee/ABeeZee-Regular.ttf" ), QStringLiteral( "ofl/abeezee/ABeeZee-Italic.ttf" ) }, QStringLiteral( "ofl/abeezee/OFL.txt" ) ),