WPIntell

Source evidence

Load google fonts local (gdpr)

Simple Floating Menu · support · 2021-04-14T14:26:00+00:00

complaintsentiment
mediumseverity
0.88relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 29 rows with source links

24.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
eisik unresolved
Hello, thank you for the great PlugIn. I like to have it in use. I am currently facing a problem with the fonts, which are only allowed to be loaded locally in the EU due to the GDPR. I have the same font “Roboto” already installed locally on my server. And the place where I have to change the path I have also found; in the file frontend.php, line: 109; if (isset($settings[‘tooltip_font’][‘family’])) { $font_family = $settings[‘tooltip_font’][‘family’]; if (!in_array($font_family, $standard_font_family)) { $font_array = sfm_search_key($google_font, ‘family’, $font_family); $variants_array = $font_array[‘0’][‘variants’]; $variants_keys = array_keys($variants_array); $variants = implode(‘,’, $variants_keys); $fonts = $font_family . ‘:’ . str_replace(‘italic’, ‘i’, $variants); $fonts_url = add_query_arg(array( ‘family’ => urlencode($fonts), ‘subset’ => urlencode($subsets), ), ‘ /googlefonts/roboto-v20-latin-regular.eot?#iefix ‘); <<– } } If I specify the absolute URL of the file here, then I get the 404 error message in the console for the path. Am I even correct in this file? and what exactly do I need to do so that the font is not loaded via Google fonts, but locally. Thanks a lot in advance. emre Translated with http://www.DeepL.com/Translator (free version)

Comments

0 shown

No comments were stored for this source.