Updated the css workaround with correct font names, now works with all 
combinations of bold/italic, including test html below
@font-face {
        font-family: Helvetica;
        src: local('Noto Sans Regular');
        font-weight: normal;
        font-style: normal;
}
@font-face {
        font-family: Helvetica;
        src: local('Noto Sans Italic');
        font-weight: normal;
        font-style: italic;
}
@font-face {
        font-family: Helvetica;
        src: local('Noto Sans Bold');
        font-weight: bold;
        font-style: normal;
}
@font-face {
        font-family: Helvetica;
        src: local('Noto Sans Bold Italic');
        font-weight: bold;
        font-style: italic;
}
Test html page
<html>
        <head>
                <title>Test</title>
                <style>
                        * {
                                font-family: Helvetica;
                        }
                </style>
        </head>
        <body>
                <h1>Helvetica Test</h1>
                <p>Regular <i>Italic</i> <b>Bold <i>Bold Italic</i></b></p>
        </body>
</html>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874842

Title:
  Fonts installed using msttfcorefonts package (ttf-mscorefonts-
  installer) are not detected by some sites

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1874842/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to