Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be a few reasons why custom fonts could fail to load after transitioning from Angular 7 to 8:

  1. You may have moved the fonts directory and not updated the font path in your CSS. Make sure the path to the font files is correct.

  2. Angular 8 may have added a new feature to disable loading of cross-origin fonts, which could cause issues with loading custom fonts. You can try adding a "crossorigin" attribute to your font link or investigate changes to your Angular configuration.

  3. Make sure the Font file types are supported in Angular 8. Some font file types may have been added or removed from Angular 7 to 8.

  4. Clear the browser cache as it could be an issue with the cache file.

Double check these areas to ensure that the custom fonts are being loaded correctly.