# meshWrite-font : about Chinese font

**URL:** <https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138>\
**Category:** Questions\
**Tags:** mesh\
**Created:** [May 7, 2022, 12:11pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138 "2022-05-07T12:11:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecojust](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ecojust/32/12884_2.png) [@ecojust](https://forum.babylonjs.com/u/ecojust)\
**Post date:** [May 7, 2022, 12:11pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/1 "2022-05-07T12:11:29Z")

</div>

I used meshwrite&meshwrite-font to build a Chinese font, but I seem to have encountered some problems.  
The numbers and letters in the generated font can be used, but the Chinese characters are displayed incorrectly

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/c/1/c1f01f5ee164d6bd0889dd719fbd3ca68e6640f9.png)

maybe you can download any Chinese font from here : [https://www.fonts.net.cn/fonts-zh/tag-kaiti-1.html](https://www.fonts.net.cn/fonts-zh/tag-kaiti-1.html)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [May 9, 2022, 1:31pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/2 "2022-05-09T13:31:59Z")

</div>

Hello! Can you provide us with a playground ([playground.babylonjs.com](http://playground.babylonjs.com)) reproduction so we can look better into this? 🙂

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [June 7, 2022, 5:42pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/3 "2022-06-07T17:42:07Z")

</div>

Hello 🙂 Are you still having issues, and if so, can you provide us with a playground repro? @ecojust

---

<div class="post-metadata">

**Author:** ![ecojust](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ecojust/32/12884_2.png) [@ecojust](https://forum.babylonjs.com/u/ecojust)\
**Post date:** [June 11, 2022, 7:44am UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/4 "2022-06-11T07:44:21Z")

</div>

First of all, thank you for your continued attention to this issue；  
I think the point of the question is not how to show it through PG；

Even if I reproduce them through PG, you can only see the following code。

```auto
import MeshWriter from 'MeshWriter'
var Writer = MeshWriter(scene, {scale:scale,defaultFont:"Arial"});
text1 = new Writer( 
    "中文",
    {
        "font-family":"myFont",
    }
);

```

If you don’t build a Chinese font library into meshwrite by yourself, it is difficult for you to understand the problem  
I did some of the above operations, and finally felt that even if I added a custom Chinese font to meshwrite, its effect was still very poor, just like the screenshot I took before.

[https://forum.babylonjs.com/t/adding-a-new-font-for-meshwriter/2453](https://forum.babylonjs.com/t/adding-a-new-font-for-meshwriter/2453)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [June 14, 2022, 12:02pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/5 "2022-06-14T12:02:46Z")

</div>

Yeah, without a reproduction that sets up the Chinese font it will be difficult for us to help as we won’t be able to see the issue 🙂

---

<div class="post-metadata">

**Author:** ![ecojust](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ecojust/32/12884_2.png) [@ecojust](https://forum.babylonjs.com/u/ecojust)\
**Post date:** [June 17, 2022, 9:46am UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/6 "2022-06-17T09:46:40Z")

</div>

I took a closer look at the use of the tool and it didn’t generate the correct custom font before

But my operation this time is really no different from the previous operation

Therefore, there is no problem with the Chinese font at present, it was my fault before, I am very sorry

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/c/6/c6e2915e7f5a1c43f717879f3d8e0dec829c5b30.png)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/f/df7a8f09ce68e4aa94a212833fdb0d03ccf5fc19.png)

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#RCFM5Y%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 17, 2022, 8:02pm UTC](https://forum.babylonjs.com/t/meshwrite-font-about-chinese-font/30138/7 "2022-06-17T20:02:57Z")

</div>

thanks a lot for letting us know 🙂
