GwtMaterialDesign / gwt-material

A Google Material Design wrapper for GWT
https://gwtmaterialdesign.github.io/gmd-core-demo/
Apache License 2.0
410 stars 124 forks source link

MaterialIcons-Regular.woff2 and MaterialIcons-Regular.woff not found. #1025

Closed dieterblancke closed 1 year ago

dieterblancke commented 1 year ago

Both the woff2 and woff versions of the material icons font give a 404.

When looking into it, it seems like neither is present in the resources: https://github.com/GwtMaterialDesign/gwt-material/tree/master/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons

Yet both are mentioned / used in the material-icons.css file as can be seen here: https://github.com/GwtMaterialDesign/gwt-material/blob/master/gwt-material/src/main/resources/gwt/material/design/public/css/material-icons.css#L8-L9

Should we just manually include these files then or is this a mistake?

kevzlou7979 commented 1 year ago

The new update includes Manually adding the fonts , as Google recommend to import the fonts manually as it reduces only the needs you want for fonts.