Firefox curly quotes broken in Helvetica, but not most other fonts and not in other apps?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
In Firefox only (LibreOffice and Chromium work fine), and starting fairly recently, I've noticed Helvetica is rendering weirdly. Curly quotes are broken, but straight ones are not. Some further testing shows Times has the problem as well. (I have TrueType versions of these fonts).

Also Helvetica and Times do not appear to be using subpixel rendering, unlike the other fonts (and like they do in e.g., Chromium).
The test file I used was:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head><title>Test Fonts</title></head>
<body>
<p style="font-family: Helvetica; font-size: 12pt">âÂÂCurlyâ "Straight" Helvetica</p>
<p style="font-family: DejaVu Sans; font-size: 12pt">âÂÂCurlyâ "Straight" DejaVu Sans</p>
<p style="font-family: Times; font-size: 12pt">âÂÂCurlyâ "Straight" Times</p>
<p style="font-family: Times New Roman; font-size: 12pt">âÂÂCurlyâ "Straight" Times New Roman</p>
<p style="font-family: Helvetica; font-size: 24pt">âÂÂCurlyâ "Straight" Helvetica (Big)</p>
<p style="font-family: Helvetica; font-size: 9pt">âÂÂCurlyâ "Straight" Helvetica (Small)</p>
</body>
</html>
How can I at least get Firefox to stop displaying tiny quotes?
x11 firefox fonts fontconfig
add a comment |Â
up vote
1
down vote
favorite
In Firefox only (LibreOffice and Chromium work fine), and starting fairly recently, I've noticed Helvetica is rendering weirdly. Curly quotes are broken, but straight ones are not. Some further testing shows Times has the problem as well. (I have TrueType versions of these fonts).

Also Helvetica and Times do not appear to be using subpixel rendering, unlike the other fonts (and like they do in e.g., Chromium).
The test file I used was:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head><title>Test Fonts</title></head>
<body>
<p style="font-family: Helvetica; font-size: 12pt">âÂÂCurlyâ "Straight" Helvetica</p>
<p style="font-family: DejaVu Sans; font-size: 12pt">âÂÂCurlyâ "Straight" DejaVu Sans</p>
<p style="font-family: Times; font-size: 12pt">âÂÂCurlyâ "Straight" Times</p>
<p style="font-family: Times New Roman; font-size: 12pt">âÂÂCurlyâ "Straight" Times New Roman</p>
<p style="font-family: Helvetica; font-size: 24pt">âÂÂCurlyâ "Straight" Helvetica (Big)</p>
<p style="font-family: Helvetica; font-size: 9pt">âÂÂCurlyâ "Straight" Helvetica (Small)</p>
</body>
</html>
How can I at least get Firefox to stop displaying tiny quotes?
x11 firefox fonts fontconfig
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
In Firefox only (LibreOffice and Chromium work fine), and starting fairly recently, I've noticed Helvetica is rendering weirdly. Curly quotes are broken, but straight ones are not. Some further testing shows Times has the problem as well. (I have TrueType versions of these fonts).

Also Helvetica and Times do not appear to be using subpixel rendering, unlike the other fonts (and like they do in e.g., Chromium).
The test file I used was:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head><title>Test Fonts</title></head>
<body>
<p style="font-family: Helvetica; font-size: 12pt">âÂÂCurlyâ "Straight" Helvetica</p>
<p style="font-family: DejaVu Sans; font-size: 12pt">âÂÂCurlyâ "Straight" DejaVu Sans</p>
<p style="font-family: Times; font-size: 12pt">âÂÂCurlyâ "Straight" Times</p>
<p style="font-family: Times New Roman; font-size: 12pt">âÂÂCurlyâ "Straight" Times New Roman</p>
<p style="font-family: Helvetica; font-size: 24pt">âÂÂCurlyâ "Straight" Helvetica (Big)</p>
<p style="font-family: Helvetica; font-size: 9pt">âÂÂCurlyâ "Straight" Helvetica (Small)</p>
</body>
</html>
How can I at least get Firefox to stop displaying tiny quotes?
x11 firefox fonts fontconfig
In Firefox only (LibreOffice and Chromium work fine), and starting fairly recently, I've noticed Helvetica is rendering weirdly. Curly quotes are broken, but straight ones are not. Some further testing shows Times has the problem as well. (I have TrueType versions of these fonts).

Also Helvetica and Times do not appear to be using subpixel rendering, unlike the other fonts (and like they do in e.g., Chromium).
The test file I used was:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head><title>Test Fonts</title></head>
<body>
<p style="font-family: Helvetica; font-size: 12pt">âÂÂCurlyâ "Straight" Helvetica</p>
<p style="font-family: DejaVu Sans; font-size: 12pt">âÂÂCurlyâ "Straight" DejaVu Sans</p>
<p style="font-family: Times; font-size: 12pt">âÂÂCurlyâ "Straight" Times</p>
<p style="font-family: Times New Roman; font-size: 12pt">âÂÂCurlyâ "Straight" Times New Roman</p>
<p style="font-family: Helvetica; font-size: 24pt">âÂÂCurlyâ "Straight" Helvetica (Big)</p>
<p style="font-family: Helvetica; font-size: 9pt">âÂÂCurlyâ "Straight" Helvetica (Small)</p>
</body>
</html>
How can I at least get Firefox to stop displaying tiny quotes?
x11 firefox fonts fontconfig
x11 firefox fonts fontconfig
asked 8 mins ago
derobert
70k8151207
70k8151207
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Checking fc-match Helvetica, it was indeed giving me the TrueType font I expected. However, fc-list also pointed to a bunch of the ancient X11 bitmap fonts in /usr/share/fonts/X11/100dpi and /usr/share/fonts/X11/75dpi. I have bitmap fonts turned on in Fontconfig, mainly for Neep, but they're not supposed to be preferred. Under the hypothesis that Firefox was, for some reason, preferring them, then refusing to scale them, and then for some reason substituting a curly quote from a smaller one, I disabled them:
Put this in /etc/fonts/conf.d/75-local-no-old-x-fonts.conf:
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/X11/75dpi/*</glob>
<glob>/usr/share/fonts/X11/100dpi/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
Possibly that's over-aggressive, but it worked:

add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Checking fc-match Helvetica, it was indeed giving me the TrueType font I expected. However, fc-list also pointed to a bunch of the ancient X11 bitmap fonts in /usr/share/fonts/X11/100dpi and /usr/share/fonts/X11/75dpi. I have bitmap fonts turned on in Fontconfig, mainly for Neep, but they're not supposed to be preferred. Under the hypothesis that Firefox was, for some reason, preferring them, then refusing to scale them, and then for some reason substituting a curly quote from a smaller one, I disabled them:
Put this in /etc/fonts/conf.d/75-local-no-old-x-fonts.conf:
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/X11/75dpi/*</glob>
<glob>/usr/share/fonts/X11/100dpi/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
Possibly that's over-aggressive, but it worked:

add a comment |Â
up vote
1
down vote
Checking fc-match Helvetica, it was indeed giving me the TrueType font I expected. However, fc-list also pointed to a bunch of the ancient X11 bitmap fonts in /usr/share/fonts/X11/100dpi and /usr/share/fonts/X11/75dpi. I have bitmap fonts turned on in Fontconfig, mainly for Neep, but they're not supposed to be preferred. Under the hypothesis that Firefox was, for some reason, preferring them, then refusing to scale them, and then for some reason substituting a curly quote from a smaller one, I disabled them:
Put this in /etc/fonts/conf.d/75-local-no-old-x-fonts.conf:
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/X11/75dpi/*</glob>
<glob>/usr/share/fonts/X11/100dpi/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
Possibly that's over-aggressive, but it worked:

add a comment |Â
up vote
1
down vote
up vote
1
down vote
Checking fc-match Helvetica, it was indeed giving me the TrueType font I expected. However, fc-list also pointed to a bunch of the ancient X11 bitmap fonts in /usr/share/fonts/X11/100dpi and /usr/share/fonts/X11/75dpi. I have bitmap fonts turned on in Fontconfig, mainly for Neep, but they're not supposed to be preferred. Under the hypothesis that Firefox was, for some reason, preferring them, then refusing to scale them, and then for some reason substituting a curly quote from a smaller one, I disabled them:
Put this in /etc/fonts/conf.d/75-local-no-old-x-fonts.conf:
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/X11/75dpi/*</glob>
<glob>/usr/share/fonts/X11/100dpi/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
Possibly that's over-aggressive, but it worked:

Checking fc-match Helvetica, it was indeed giving me the TrueType font I expected. However, fc-list also pointed to a bunch of the ancient X11 bitmap fonts in /usr/share/fonts/X11/100dpi and /usr/share/fonts/X11/75dpi. I have bitmap fonts turned on in Fontconfig, mainly for Neep, but they're not supposed to be preferred. Under the hypothesis that Firefox was, for some reason, preferring them, then refusing to scale them, and then for some reason substituting a curly quote from a smaller one, I disabled them:
Put this in /etc/fonts/conf.d/75-local-no-old-x-fonts.conf:
<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<glob>/usr/share/fonts/X11/75dpi/*</glob>
<glob>/usr/share/fonts/X11/100dpi/*</glob>
</rejectfont>
</selectfont>
</fontconfig>
Possibly that's over-aggressive, but it worked:

answered 8 mins ago
derobert
70k8151207
70k8151207
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475874%2ffirefox-curly-quotes-broken-in-helvetica-but-not-most-other-fonts-and-not-in-ot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password