How to make Firefox honour my configuration to disable font hinting for a single font?
Clash Royale CLAN TAG#URR8PPP
I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox. Firefox still uses full hinting for Liberation Serif. However, Liberation Serif is correctly shown as non‐hinted in other programs (I checked in Gucharmap, Leafpad and LibreOffice Writer).
How can I disable hinting for all serif fonts or just Liberation Serif in Firefox?
I have hinting set to full with the customizer that comes with LXDE and the following code in ~/.config/fontconfig/fonts.conf
and ~/.fonts.conf
(the later is a symbolic links to the former):
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
</fontconfig>
Thanks.
x11 firefox fonts fontconfig
add a comment |
I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox. Firefox still uses full hinting for Liberation Serif. However, Liberation Serif is correctly shown as non‐hinted in other programs (I checked in Gucharmap, Leafpad and LibreOffice Writer).
How can I disable hinting for all serif fonts or just Liberation Serif in Firefox?
I have hinting set to full with the customizer that comes with LXDE and the following code in ~/.config/fontconfig/fonts.conf
and ~/.fonts.conf
(the later is a symbolic links to the former):
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
</fontconfig>
Thanks.
x11 firefox fonts fontconfig
add a comment |
I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox. Firefox still uses full hinting for Liberation Serif. However, Liberation Serif is correctly shown as non‐hinted in other programs (I checked in Gucharmap, Leafpad and LibreOffice Writer).
How can I disable hinting for all serif fonts or just Liberation Serif in Firefox?
I have hinting set to full with the customizer that comes with LXDE and the following code in ~/.config/fontconfig/fonts.conf
and ~/.fonts.conf
(the later is a symbolic links to the former):
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
</fontconfig>
Thanks.
x11 firefox fonts fontconfig
I am using Debian GNU/Linux version 8 with LXDE. Regarding fonts, I have my system configured to use anti‐aliasing, subpixel rendering, and full hinting. However, I want to disable hinting for Liberation Serif, but it does not work in Firefox. Firefox still uses full hinting for Liberation Serif. However, Liberation Serif is correctly shown as non‐hinted in other programs (I checked in Gucharmap, Leafpad and LibreOffice Writer).
How can I disable hinting for all serif fonts or just Liberation Serif in Firefox?
I have hinting set to full with the customizer that comes with LXDE and the following code in ~/.config/fontconfig/fonts.conf
and ~/.fonts.conf
(the later is a symbolic links to the former):
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
</fontconfig>
Thanks.
x11 firefox fonts fontconfig
x11 firefox fonts fontconfig
edited Mar 30 '18 at 0:00
Yurij Goncharuk
2,3232522
2,3232522
asked Mar 30 '17 at 16:11
Eustaquio Díaz VillaEustaquio Díaz Villa
563
563
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Go to about:config
Find the preference gfx.font_rendering.cleartype_params.rendering_mode
Change its value (probably -1) to 1
1 turns anti-aliasing off.
You might also want to try 2 and 3.
4 and 5 are not your friends, they involve anti-aliasing.
That turns off both anti-aliasing, and font-hinting.
OR You Can Try Belows
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
add a comment |
Maybe you could explore options from Firefox advanced config.
Type about:config
on address text bar and hit Enter. You will be warned that changes from there are dangerous for Firefox stability. There's nothing wrong with that unless you change something critical. Accept the risk, and try some changes (once at a time). Search "font_rendering" or "font" options. Maybe you could do something from there.
I also have to say I've never had this problem or wanted to work this way.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354877%2fhow-to-make-firefox-honour-my-configuration-to-disable-font-hinting-for-a-single%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Go to about:config
Find the preference gfx.font_rendering.cleartype_params.rendering_mode
Change its value (probably -1) to 1
1 turns anti-aliasing off.
You might also want to try 2 and 3.
4 and 5 are not your friends, they involve anti-aliasing.
That turns off both anti-aliasing, and font-hinting.
OR You Can Try Belows
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
add a comment |
Go to about:config
Find the preference gfx.font_rendering.cleartype_params.rendering_mode
Change its value (probably -1) to 1
1 turns anti-aliasing off.
You might also want to try 2 and 3.
4 and 5 are not your friends, they involve anti-aliasing.
That turns off both anti-aliasing, and font-hinting.
OR You Can Try Belows
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
add a comment |
Go to about:config
Find the preference gfx.font_rendering.cleartype_params.rendering_mode
Change its value (probably -1) to 1
1 turns anti-aliasing off.
You might also want to try 2 and 3.
4 and 5 are not your friends, they involve anti-aliasing.
That turns off both anti-aliasing, and font-hinting.
OR You Can Try Belows
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
Go to about:config
Find the preference gfx.font_rendering.cleartype_params.rendering_mode
Change its value (probably -1) to 1
1 turns anti-aliasing off.
You might also want to try 2 and 3.
4 and 5 are not your friends, they involve anti-aliasing.
That turns off both anti-aliasing, and font-hinting.
OR You Can Try Belows
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Liberation Serif</string></test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
edited May 23 '18 at 6:38
answered May 23 '18 at 6:26
RaviJRaviJ
1719
1719
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
add a comment |
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
1
1
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
No such setting at all in Firefox 64.
– Sarge Borsch
Dec 16 '18 at 12:12
add a comment |
Maybe you could explore options from Firefox advanced config.
Type about:config
on address text bar and hit Enter. You will be warned that changes from there are dangerous for Firefox stability. There's nothing wrong with that unless you change something critical. Accept the risk, and try some changes (once at a time). Search "font_rendering" or "font" options. Maybe you could do something from there.
I also have to say I've never had this problem or wanted to work this way.
add a comment |
Maybe you could explore options from Firefox advanced config.
Type about:config
on address text bar and hit Enter. You will be warned that changes from there are dangerous for Firefox stability. There's nothing wrong with that unless you change something critical. Accept the risk, and try some changes (once at a time). Search "font_rendering" or "font" options. Maybe you could do something from there.
I also have to say I've never had this problem or wanted to work this way.
add a comment |
Maybe you could explore options from Firefox advanced config.
Type about:config
on address text bar and hit Enter. You will be warned that changes from there are dangerous for Firefox stability. There's nothing wrong with that unless you change something critical. Accept the risk, and try some changes (once at a time). Search "font_rendering" or "font" options. Maybe you could do something from there.
I also have to say I've never had this problem or wanted to work this way.
Maybe you could explore options from Firefox advanced config.
Type about:config
on address text bar and hit Enter. You will be warned that changes from there are dangerous for Firefox stability. There's nothing wrong with that unless you change something critical. Accept the risk, and try some changes (once at a time). Search "font_rendering" or "font" options. Maybe you could do something from there.
I also have to say I've never had this problem or wanted to work this way.
answered Jan 10 at 9:10
RookieOneRookieOne
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f354877%2fhow-to-make-firefox-honour-my-configuration-to-disable-font-hinting-for-a-single%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown