Chinese Font - Some Characters Rendered Strangely (外，将） I am seeing some characters rendered strangely and would like to know what I can do to fix it.

In Google search bar, rendered strangely.  Inside translate box, rendered as desired:



In Google Docs, Firefox or Chrome:



In my terminal:





Is it perhaps trying to render in a Japanese font automatically?


OS: Ubuntu 16.04
Browsers: Firefox &amp; Chrome (seems to be browser independent)
Tested in incognito mode
Fixed in both my terminal and browser:


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

Since I noticed this problem across all browsers and in my terminal, I figured the proper way to adress it would be at the system level.  I found a fix here and have outlined the steps below.


Navigate to /etc/fonts/conf.d/
Edit 64-language-selector-prefer.conf, moving the SC suffixed fonts to the top of each preference list:


&nbsp;

&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&gt;
&lt;fontconfig&gt;
    &lt;alias&gt;
        &lt;family&gt;sans-serif&lt;/family&gt;
        &lt;prefer&gt;
            &lt;family&gt;Noto Sans CJK SC&lt;/family&gt;
            &lt;family&gt;Noto Sans CJK JP&lt;/family&gt; # Original top choice
            &lt;family&gt;Noto Sans CJK TC&lt;/family&gt;
        &lt;/prefer&gt;
    &lt;/alias&gt;
    &lt;alias&gt;
        &lt;family&gt;monospace&lt;/family&gt;
        &lt;prefer&gt;
            &lt;family&gt;Noto Sans Mono CJK SC&lt;/family&gt;
            &lt;family&gt;Noto Sans Mono CJK JP&lt;/family&gt; # Original top choice
            &lt;family&gt;Noto Sans Mono CJK TC&lt;/family&gt;
        &lt;/prefer&gt;
    &lt;/alias&gt;
&lt;/fontconfig&gt;


&nbsp;


Edit 69-language-selector-zh-cn.conf, adding WenQuanYi Micro Hei font to the top of each family (serif, sans-serif, monospace):


&nbsp;

&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&gt;
&lt;fontconfig&gt;

    &lt;match target="pattern"&gt;
        &lt;test name="lang"&gt;
            &lt;string&gt;zh-cn&lt;/string&gt;
        &lt;/test&gt;
        &lt;test qual="any" name="family"&gt;
            &lt;string&gt;serif&lt;/string&gt;
        &lt;/test&gt;
        &lt;edit name="family" mode="prepend" binding="strong"&gt;
            &lt;string&gt;WenQuanYi Micro Hei&lt;/string&gt; # Added by me
            &lt;string&gt;HYSong&lt;/string&gt;
            &lt;string&gt;AR PL UMing CN&lt;/string&gt;
            &lt;string&gt;AR PL UMing HK&lt;/string&gt;
            &lt;string&gt;AR PL New Sung&lt;/string&gt;
            &lt;string&gt;WenQuanYi Bitmap Song&lt;/string&gt;
            &lt;string&gt;AR PL UKai CN&lt;/string&gt;
            &lt;string&gt;AR PL ZenKai Uni&lt;/string&gt;
        &lt;/edit&gt;
    &lt;/match&gt; 
    &lt;match target="pattern"&gt;
        &lt;test qual="any" name="family"&gt;
            &lt;string&gt;sans-serif&lt;/string&gt;
        &lt;/test&gt;
        &lt;test name="lang"&gt;
            &lt;string&gt;zh-cn&lt;/string&gt;
        &lt;/test&gt;
        &lt;edit name="family" mode="prepend" binding="strong"&gt;
            &lt;string&gt;WenQuanYi Micro Hei&lt;/string&gt; # Added by me
            &lt;string&gt;Noto Sans CJK SC&lt;/string&gt;
            &lt;string&gt;WenQuanYi Zen Hei&lt;/string&gt;
            &lt;string&gt;HYSong&lt;/string&gt;
            &lt;string&gt;AR PL UMing CN&lt;/string&gt;
            &lt;string&gt;AR PL UMing HK&lt;/string&gt;
            &lt;string&gt;AR PL New Sung&lt;/string&gt;
            &lt;string&gt;AR PL UKai CN&lt;/string&gt;
            &lt;string&gt;AR PL ZenKai Uni&lt;/string&gt;
        &lt;/edit&gt;
    &lt;/match&gt; 
    &lt;match target="pattern"&gt;
        &lt;test qual="any" name="family"&gt;
            &lt;string&gt;monospace&lt;/string&gt;
        &lt;/test&gt;
        &lt;test name="lang"&gt;
            &lt;string&gt;zh-cn&lt;/string&gt;
        &lt;/test&gt;
        &lt;edit name="family" mode="prepend" binding="strong"&gt;
            &lt;string&gt;WenQuanYi Micro Hei Mono&lt;/string&gt; # Added by me
            &lt;string&gt;DejaVu Sans Mono&lt;/string&gt;
            &lt;string&gt;Noto Sans Mono CJK SC&lt;/string&gt;
            &lt;string&gt;WenQuanYi Zen Hei Mono&lt;/string&gt;
            &lt;string&gt;HYSong&lt;/string&gt;
            &lt;string&gt;AR PL UMing CN&lt;/string&gt;
            &lt;string&gt;AR PL UMing HK&lt;/string&gt;
            &lt;string&gt;AR PL New Sung&lt;/string&gt;
            &lt;string&gt;AR PL UKai CN&lt;/string&gt;
            &lt;string&gt;AR PL ZenKai Uni&lt;/string&gt;
        &lt;/edit&gt;
    &lt;/match&gt; 

&lt;/fontconfig&gt;




Saving the changes and opening a new terminal, the characters are now rendered as desired:



After restarting the computer, one also sees the characters properly rendered in the browser: