SP Page Builder - Google Font - GDPR - Forum | JoomShaper
Staff replied SP Page Builder

SP Page Builder - Google Font - GDPR

Asked by Roland Grillenberger 4 years ago Last activity 4 years ago

Hello,

in the file \components\comsppagebuilder\layouts\addon\selector.php starting at about line 34, there is the following code:

if(!in_array($font, $system)) {
$google_font = '//fonts.googleapis.com/css?family=' . str_replace(' ', '+', $option['font']) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&display=swap';
JFactory::getDocument()->addStylesheet($google_font);
}

Here, a font is loaded from the Google server. This contradicts the GDPR. I have to delete this code after each update. Is there no way to delete this code in the first place?

Thank you and best regards,

Roland

6 replies

Paul Frankowski Senior Staff

Hi Roland,

I remember this topic/request. Indeed, I have to talk with the developer again about this.
I know that in the EU we have be twice careful with all external services (links), especially from Google, FB etc.

marvays

Hello.
I also intercede.
I would like to be able to load Google Fonts and FontAwesome from my FTP.
Please. Please. Please.

Paul Frankowski Senior Staff

I think in the EU we should have our own Fonts library to reduce GDPR problems, don't you think. Why everything "good" must be only from the USA.


  1. But FontAwesome are loaded locally from template folder already, I guessyou forgot to check it.
  2. Google Fonts you can use from your server as well, just watch youtube tutorials. Quite Easy.
marvays

Thank you for the admonition :)

marvays

Font Awesome
I found two settings. One in SP Pagebuilder. The second in the Helix Ultimate settings. But I don't see an icon file anywhere on ftp. CSS only. I did not find any information in the documentation on how to upload Font Awesome to FTP.

Google Fonts
I can only enter the Google Font API in the helix ultimate> Advanced settings. In the helix ultimate> Typography settings I can only choose from two variants (system fonts and google fonts). Nowhere do I see a mention of the ability to load custom fonts from FTP. On FTP I see templates/shaper_helixultimate/webfonts but I can't find anywhere if I can and how I can use it :(

I suggest adding more options around this in the next update. I would like to load fonts from ftp and icons as well. You can also include the project https://icofont.com

Paul Frankowski Senior Staff
4 years ago · edited

About FontAwesome it's very easy to find & get access, just check those files and folders:

  1. templates\shaper_helixultimate\css\font-awesome.min.css
  2. templates\shaper_helixultimate\fonts (all FA files)

About Custom Font - we have text guide, but there is also my video on youtube.

Find "How to use a custom font(s)" here: https://www.joomshaper.com/documentation/helix-framework/helixultimate/faq-how-to-do

below this guide there is 2nd useful guide "How to use Google Fonts from my server"

Log in to reply.