mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Add Google Fonts processing script
This commit is contained in:
parent
b70fba6762
commit
5e85f29512
1614
scripts/process_google_fonts.py
Normal file
1614
scripts/process_google_fonts.py
Normal file
File diff suppressed because it is too large
Load Diff
@ -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" ) ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user