What should I do if there is garbled code on the Firefox browser page under Linux?

  

Firefox is a browser that users like very much on Linux systems, but Firefox often has garbled characters because of the conflicting language interface of Firefox. So what should I do if the Firefox browser page on the Linux system is garbled?

1. Since firefox default font is allowed to select their own web pages, garbled situation in parts of the site will appear on Linux. Therefore, you can cancel the option of allowing the page to select the font itself to solve part of the garbled situation.

2. If there are garbled characters and other applications are garbled, try the following solutions.

The simple and violent way is to remove the default configuration file directly.

$ sudo mv /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/49-sansserif.conf.bak

Also, 49-sansserif .conf is the font of the flashplayer. In fact, you can modify it.

"? Xml version=“1.0”? 》

"! DOCTYPE fontconfig SYSTEM “fonts.dtd”"

"fontconfig"

"! --

If the font still has no generic name, add sans-serif

--"

"match target=“pattern”"

"test qual=“all” name=“family” compare=“not_eq”"

"string" sans-serif "/string"

"/test"

"test qual=“all” name=“family” compare=“not_eq”"

"string" serif "/string"

"/test"< Br>

"test qual=“all” name=“family” compare=“not_eq”"

"string" monospace "/string"

"/test"

"edit name=“family” mode=“append_last”"

"string" font "/string" #change the font to your favorite font

"/edit"

"/match"

"/fontconfig" Previous12Next Total 2 Pages

Copyright © Windows knowledge All Rights Reserved