Description of problem: On a fresh installed system, logging in to admin interface, the browser console shows errors: downloadable font: kern: Too large subtable (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Regular-webfont.woff2 downloadable font: Table discarded (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Regular-webfont.woff2 downloadable font: kern: Too large subtable (font-family: "Open Sans" style:normal weight:600 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Semibold-webfont.woff2 downloadable font: Table discarded (font-family: "Open Sans" style:normal weight:600 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Semibold-webfont.woff2 downloadable font: kern: Too large subtable (font-family: "Open Sans" style:normal weight:700 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Bold-webfont.woff2 downloadable font: Table discarded (font-family: "Open Sans" style:normal weight:700 stretch:100 src index:3) source: https://engine.lab/ovirt-engine/webadmin/theme/00-ovirt.brand/bundled/patternfly/fonts/OpenSans-Bold-webfont.woff2 Version-Release number of selected component (if applicable): ovirt-engine-4.5.0
This is reproduced for both Admin portal and VM portal.
Logs above are triggered because OpenSans fonts bundled with PatternFly 3 have too large kerning table. As per [1] this is non-critical problem with the given font version. In VM Portal this should be solved once migration to PatternFly 4 is complete. In Web Admin it's possible to replace the orignal fonts with the newest available version (requires manual compression and repackaging) [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1185685
This is an old issue exists since oVirt 4.3 or even earlier. Since we are not going to upgrade webadmin to use PF4 (except ui-extensions dialogs), then I assume that replacing the original font might be nice to have to get rid of those error messages. The question is if by doing that we might encounter other issues of inconsistency/font sizes issues/patternfly 3 css conflicts etc. If it's a smoothly action then why not doing that? We do update other bundled packages so we can also handle this.
> The question is if by doing that we might encounter other issues of inconsistency/font sizes issues/patternfly 3 css conflicts etc. > Replacing original fonts with newer version should not impact the layout. > If it's a smoothly action then why not doing that? > First, this is a minor inconvenience. The errors should be actually logged as warnings as they are not critical. Second, it's clearly a fix that should be released by PF3. Beside that, I see no technical problems with fixing that.
Steps: 1) check errors in the console going through webadmin and vm portal Results: No errors, except for the PF3 components as mentioned in Comment 2. Verified in: ovirt-engine-4.5.1.2-0.11.el8ev.noarch