components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(Typography): Possible GDPR Violation

Open BenjaminHofstetter opened this issue 3 years ago • 1 comments

Documentation Feedback

The Typography Guide suggest this

<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">

Isn't that violating the GDPR according to ... German Court Rules Websites Embedding Google Fonts Violates GDPR

Maybe we should add an information or bundle fonts with the app and serve it locally. What do you think ?

Affected documentation page

https://material.angular.io/guide/typography

BenjaminHofstetter avatar Aug 17 '22 12:08 BenjaminHofstetter

Might be worth referencing the Angular build optimization config, for inlining fonts:

https://angular.io/guide/workspace-config#optimization-configuration

jimdrury avatar Aug 31 '22 17:08 jimdrury

The Angular CLI inlines the font face definition, but you'd still need to fetch the font from a Google CDN. You can check how to use self-hosted font definition here.

To learn more about what using the Google Fonts API means for the privacy of users, please see the Google Fonts FAQs. Inquiries about Google Fonts can be sent to [email protected].

mgechev avatar Oct 24 '22 14:10 mgechev

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.