[Bug 1874842] Re: Fonts installed using msttfcorefonts package (ttf-mscorefonts-installer) are not detected by some sites
Juozas Pocius
1874842 at bugs.launchpad.net
Sat Apr 25 15:06:25 UTC 2020
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 Mozilla
Bugs, which is subscribed to firefox in 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
More information about the Ubuntu-mozillateam-bugs
mailing list