-
- Downloads
[REF] website: make the google font "Roboto" the default website font
Before this commit, the default font for the website was the bootstrap one, which is a series of many fonts which should at least contain one which is present on every user system. The problem is that commit https://github.com/odoo/odoo/commit/ed18095127b20da516fa5ada943b2dd6d5c84652 added the definition of a Roboto font, available in all assets... and Roboto is part of the bootstrap font. This added a new font loading on page load and that loading is not optimized at the moment. This thus broke our work to improve google pagespeed ratings. This commit replaces the bootstrap font with a forced Roboto font whose loading is handled by an optimized loading of the related google font. This also improves the very default font of the website by making it more stable accross different browser (we will always use the loaded Roboto font instead of relying on the user system fonts). Part of https://github.com/odoo/odoo/pull/37293
Please register or sign in to comment