This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CSS or other programmable way to disable Cleartype in Firefox?

  • 1 reply
  • 3 have this problem
  • 2 views
  • Last reply by Angus Li

more options

I've been searching the community and found a lot of reasons and demands to enable Cleartype for text rendering (https://bugzilla.mozilla.org/show_bug.cgi?id=504698), but for some specific downloadable fonts (embedded with @font-face), especially Chinese fonts, rendering text with Cleartype enabled will make the text even more ugly, what's worse is, the text is very blurry with strokes missing.

There is certain CSS hack to deal with IE (http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/), but so far no one has talked about a workaround to hack Firefox unless changing system/browser settings manually, but such manual work isn't reasonable to those who has none technical background.

Is there any possible approach, that we can use CSS/Javascript to tell Firefox to render a specific page/text without applying Cleartype mode?

I've been searching the community and found a lot of reasons and demands to enable Cleartype for text rendering (https://bugzilla.mozilla.org/show_bug.cgi?id=504698), but for some specific downloadable fonts (embedded with @font-face), especially Chinese fonts, rendering text with Cleartype enabled will make the text even more ugly, what's worse is, the text is very blurry with strokes missing. There is certain CSS hack to deal with IE (http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/), but so far no one has talked about a workaround to hack Firefox unless changing system/browser settings manually, but such manual work isn't reasonable to those who has none technical background. Is there any possible approach, that we can use CSS/Javascript to tell Firefox to render a specific page/text without applying Cleartype mode?

All Replies (1)

more options

Attaching the actual effect of showing embedded Chinese font in Firefox 7.0.1, no matter OS Cleartype is enabled or not (Windows XP).