[Koha-bugs] [Bug 22983] The Koha copy of NotoSans font (in the new OPAC) lacks glyphs for (some) Roman letters with diacritics
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 24 20:34:58 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22983
--- Comment #2 from Janusz Kaczmarek <januszop at gmail.com> ---
Thank you, Owen, for checking this. I can confirm: the rendering of the fonts
is (almost) OK in FF 67.0 (almost = in my case the non-bold paragraphs show the
problem mentioned).
After having investigated more deeply: it seems that FF and Edge use some local
copy of the font: Removing the part "local("Noto Sans *")," from each
@font-face definition (e.g. with the developer tool of FF) causes the problem
occur in FF and in Edge for every variant (regular and bold) as it is in
Chrome.
I have also used the following html file to test the issue fully locally (and
had the Koha version of the font locally downloaded):
<!DOCTYPE html>
<html lang="en">
<head>
<title>Zażółć gęślą jaźń</title>
<meta charset="UTF-8" >
<meta name="description" content="Zażółć gęślą jaźń" >
</head>
<body>
<style>
@charset "UTF-8";
@font-face {
font-family:NotoSans;
font-style:normal;
font-weight:400;
src:local("Noto Sans Regular"),
url(NotoSans-Regular-webfont.woff2) format("woff2"),
url(NotoSans-Regular-webfont.woff) format("woff")
}
@font-face {
font-family:NotoSans;
font-style:bold;
font-weight:700;
src:local("Noto Sans Bold"),
url(NotoSans-Bold-webfont.woff2) format("woff2"),
url(NotoSans-Bold-webfont.woff) format("woff")
}
body {
font-family:"NotoSans";
}
</style>
<h1>Zażółć gęślą jaźń</h1>
<h2>Zażółć gęślą jaźń</h2>
<h3>Zażółć gęślą jaźń</h3>
<p>Zażółć gęślą jaźń</p>
<p><b>Zażółć gęślą jaźń</b></p>
</body>
</html>
BTW, after inserting the line:
@import url('https://fonts.googleapis.com/css?family=Noto+Sans&display=swap');
in <style> and changing the font-family for body in "Noto Sans" (with space) =
using the Google API version, the rendering is OK (also with no 'local' part in
declaration).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list