<p>Yes. It looks like the Japanese font. Font series called Kozuka/小塚 or Mincho/明朝 will rending it as Google Docs, Firefox or Chrome your saw. Because the characters for both Japanese and Chinese have the same Unicode U+5916 for 外 and U+5C06 for 将. Try to switch to a Chinese font instead you will see the correct rending for Chinese Simplified look.</p>

CC BY-SA 4.0
2018-07-31T20:40:13.223Z
2018-07-31T21:12:35.973Z
2018-07-31T21:12:35.973Z
Bruce Huang
<blockquote>
  <p><strong>Fixed in both my terminal and browser:</strong></p>
</blockquote>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://i.sstatic.net/57whD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/57whD.png" alt="enter image description here"></a></p>

<p>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 <a href="https://gangmax.me/blog/2017/01/10/change-ubuntu-16-dot-04-default-chinese-font/" rel="nofollow noreferrer">here</a> and have outlined the steps below.</p>

<ol>
<li><p>Navigate to <code>/etc/fonts/conf.d/</code></p></li>
<li><p>Edit <code>64-language-selector-prefer.conf</code>, moving the <strong>SC</strong> suffixed fonts to the top of each preference list:</p></li>
</ol>

<p>&nbsp;</p>

<pre><code>&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;
</code></pre>

<p>&nbsp;</p>

<ol start="3">
<li>Edit <code>69-language-selector-zh-cn.conf</code>, adding <code>WenQuanYi Micro Hei</code> font to the top of each family (serif, sans-serif, monospace):</li>
</ol>

<p>&nbsp;</p>

<pre><code>&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;
</code></pre>

<hr>

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

<p><a href="https://i.sstatic.net/5dr5s.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5dr5s.png" alt="enter image description here"></a></p>

<p>After restarting the computer, one also sees the characters properly rendered in the browser:</p>

<p><a href="https://i.sstatic.net/6JK3k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6JK3k.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2018-07-31T22:39:35.137Z
2018-07-31T22:39:35.137Z
Apollys supports Monica
<p>I am seeing some characters rendered strangely and would like to know what I can do to fix it.</p>

<p>In Google search bar, rendered strangely.  Inside translate box, rendered as desired:</p>

<p><a href="https://i.sstatic.net/OHc0y.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OHc0y.png" alt="enter image description here"></a></p>

<p>In Google Docs, Firefox or Chrome:</p>

<p><a href="https://i.sstatic.net/k92zW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/k92zW.png" alt="enter image description here"></a></p>

<p>In my terminal:</p>

<p><a href="https://i.sstatic.net/fFz66.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fFz66.png" alt="enter image description here"></a></p>

<hr>

<p>Is it perhaps trying to render in a Japanese font automatically?</p>

<ul>
<li>OS: Ubuntu 16.04</li>
<li>Browsers: Firefox &amp; Chrome (seems to be browser independent)</li>
<li>Tested in incognito mode</li>
</ul>

<characters><fonts>
Chinese Font - Some Characters Rendered Strangely (外，将）
# Chinese Font - Some Characters Rendered Strangely (外，将）

(Asked by: username_0 on 2018-07-31)

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:

[![enter image description here](https://i.sstatic.net/OHc0y.png)](https://i.sstatic.net/OHc0y.png)

In Google Docs, Firefox or Chrome:

[![enter image description here](https://i.sstatic.net/k92zW.png)](https://i.sstatic.net/k92zW.png)

In my terminal:

[![enter image description here](https://i.sstatic.net/fFz66.png)](https://i.sstatic.net/fFz66.png)

---

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

* OS: Ubuntu 16.04
* Browsers: Firefox & Chrome (seems to be browser independent)
* Tested in incognito mode

**Tags:** characters, fonts


---

## 2 answers

### Answer by username_0 on 2018-07-31. Score: 3 | Accepted answer

> **Fixed in both my terminal and browser:**

[![enter image description here](https://i.sstatic.net/57whD.png)](https://i.sstatic.net/57whD.png)

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](https://gangmax.me/blog/2017/01/10/change-ubuntu-16-dot-04-default-chinese-font/) and have outlined the steps below.

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

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

```

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

```
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

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

</fontconfig>

```

---

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

[![enter image description here](https://i.sstatic.net/5dr5s.png)](https://i.sstatic.net/5dr5s.png)

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

[![enter image description here](https://i.sstatic.net/6JK3k.png)](https://i.sstatic.net/6JK3k.png)


---

### Answer by username_1 on 2018-07-31. Score: 0

Yes. It looks like the Japanese font. Font series called Kozuka/小塚 or Mincho/明朝 will rending it as Google Docs, Firefox or Chrome your saw. Because the characters for both Japanese and Chinese have the same Unicode U+5916 for 外 and U+5C06 for 将. Try to switch to a Chinese font instead you will see the correct rending for Chinese Simplified look.


---

