How to remove Google Fonts

Permalink Browser Info Environment
Dear support Team,

is there any easy way to remove access to Google fonts? I am in trouble with this ...

Thanks for your help!

Michael

#
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/googlesans/v45/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPiIUvbQoi-Entw.woff2) format('woff2');
unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}
/* cyrillic */
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/googlesans/v45/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPjYUvbQoi-Entw.woff2) format('woff2');
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* devanagari */
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/googlesans/v45/4UasrENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RPjMUvbQoi-Entw.woff2) format('woff2');
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* georgian */

etc ....

Type: Ticket
Status: In Progress
fvideo
View Replies:
C5ThemeTeam replied on at Permalink Reply
C5ThemeTeam
To change the Google Fonts you'll need to edit three files.

header.php
typography.less
layout.less

Gleegoo & Montserrat are mentioned in these files. Just replace these as you need them for your fonts.
fvideo replied on at Permalink Reply
fvideo
Dear team,

i have to ask more precise.

Would it be possible for you to add a feature in your theme to self-host specific Google fonts, or even if you could provide a simple guide on how to configure it? It would be of great help!

Due to the GDPR restrictions and a recent court decision precisely about this point, I am asking. (self-hosting allowed, call the Google Fonts API not allowed).

Thank you very much ...

Michael

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.9
Version Installed - 8.5.9
Database Version - 20220319043123

# Database Information
Version: 10.1.48-MariaDB-0+deb9u2
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Cycle2 Slide Show (1.1), EU Cookie Law (1.1.2), Formidable (Full Version) (2.1.7.2), Gastro (2.2), Optimize Database Tables (1.0.0), PDF Flipping Book (1.0.3), PDF Viewer (1.0.1), Responsive Embed (1.0.1), Simple Gallery (1.0.9), Social Share Lite (2.1.6), Theme Styling Tool (1.0.1), Whale Responsive Tables (1.2.0)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.10.3

# Server API
fpm-fcgi

# PHP Version
7.4.30

# PHP Extensions
apc, apcu, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, FFI, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, imap, intl, json, libxml, mbstring, mcrypt, memcached, msgpack, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 12M
upload_max_filesize - 12M
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 150
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.