{"id":2716,"date":"2024-04-10T06:46:46","date_gmt":"2024-04-10T06:46:46","guid":{"rendered":"https:\/\/docs.wpblockart.com\/blockart-blocks\/?post_type=docs&p=2716"},"modified":"2024-04-10T06:53:20","modified_gmt":"2024-04-10T06:53:20","slug":"how-to-load-google-fonts-locally","status":"publish","type":"docs","link":"https:\/\/docs.wpblockart.com\/blockart-blocks\/how-to-load-google-fonts-locally\/","title":{"rendered":"How to Load Google Fonts Locally?"},"content":{"rendered":"\n

GDPR (General Data Protection Regulation) Compliance and Google Fonts are different terms but closely related. The GDPR is a European Union regulation for data protection and privacy in the EU and European Economic Area.<\/p>\n\n\n\n

GDPR compliance while using the Google Font API is a hot topic worldwide, with various websites being fined with penalties. Explaining the scenario, Google Font is a web font service provided by Google. The Google Font collects the request from the user, fetches the file from its server, and delivers it to the user to produce the fonts. While doing the process, the Google server needs the user\u2019s IP address to deliver the file.<\/p>\n\n\n\n

The user\u2019s IP address is personal information that helps identify the user. Sharing such private details of the user without their concern with the third-party services leads to violating the GDPR laws. Thus, Google Fonts violates GDPR.<\/p>\n\n\n\n

How to Use the Google Font While Being the GDPR Compliant?<\/h3>\n\n\n\n

Although being GDPR compliant, you can use the Google Font along with the BlockArt Plugin. With the plugin, we have the option to load the Google font locally rather than from the server. Here are a few steps to follow:<\/p>\n\n\n\n