Can the font function support Chinese input? #98667

Closed
opened 2022-06-08 12:43:47 +02:00 by zhou rongjun · 20 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.96

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
Worked: (newest version of Blender that worked as expected)

I have to copy and paste Chinese outside blender to display Chinese fonts, and the fonts with Chinese names cannot be displayed in the blender font library, only the fonts with English names can be displayed

屏幕截图 2022-06-08 183553.png

屏幕截图 2022-06-08 183623.png

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.96 **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Worked: (newest version of Blender that worked as expected) I have to copy and paste Chinese outside blender to display Chinese fonts, and the fonts with Chinese names cannot be displayed in the blender font library, only the fonts with English names can be displayed ![屏幕截图 2022-06-08 183553.png](https://archive.blender.org/developer/F13138222/屏幕截图_2022-06-08_183553.png) ![屏幕截图 2022-06-08 183623.png](https://archive.blender.org/developer/F13138225/屏幕截图_2022-06-08_183623.png)
Author

Added subscriber: @zhuxiao2121

Added subscriber: @zhuxiao2121
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

If I understand correctly, the issue is that files with Chinese characters are not shown in the file browser? Can you attach one of those files?
For the thumbnails, I think this will be improved in D12032.

If I understand correctly, the issue is that files with Chinese characters are not shown in the file browser? Can you attach one of those files? For the thumbnails, I think this will be improved in [D12032](https://archive.blender.org/developer/D12032).
Author
[HYShangWeiShouShuW.ttf](https://archive.blender.org/developer/F13138241/HYShangWeiShouShuW.ttf)
Author

Chinese cannot be entered in blender, the text must be copied and pasted to display correctly{F13138270}

Chinese cannot be entered in blender, the text must be copied and pasted to display correctly{[F13138270](https://archive.blender.org/developer/F13138270/ezgif-5-e1b4db9c1a.gif)}
Member

The file browser displays that font correctly. Is the issue about thumbnails or text input as shown in your gif?

20220608-131850.png

The file browser displays that font correctly. Is the issue about thumbnails or text input as shown in your gif? ![20220608-131850.png](https://archive.blender.org/developer/F13138265/20220608-131850.png)
Author

屏幕截图 2022-06-08 193840.png

屏幕截图 2022-06-08 193910.png
Maybe it's because I'm a Chinese system,In the English system, this font displays the English name, but the Chinese system displays the Chinese name, so I can't view it,I only see 200 fonts in the blender font library, but my windows font library has 400 fonts
I have two questions, the first is that the font library cannot display Chinese fonts, and the second is that Chinese cannot be entered

![屏幕截图 2022-06-08 193840.png](https://archive.blender.org/developer/F13138285/屏幕截图_2022-06-08_193840.png) ![屏幕截图 2022-06-08 193910.png](https://archive.blender.org/developer/F13138287/屏幕截图_2022-06-08_193910.png) Maybe it's because I'm a Chinese system,In the English system, this font displays the English name, but the Chinese system displays the Chinese name, so I can't view it,I only see 200 fonts in the blender font library, but my windows font library has 400 fonts I have two questions, the first is that the font library cannot display Chinese fonts, and the second is that Chinese cannot be entered
Member

For the Chinese input, we have similar reports, like #87578. So lets investigate the file browser issue first.
I switched to Chinese in Blender and it was still visible. But I am on Linux, maybe this is a Windows only thing.

20220608-142600.png

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once you close Blender the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. 2019_12_04_upload_icon_developer_blender_org.png

For the Chinese input, we have similar reports, like #87578. So lets investigate the file browser issue first. I switched to Chinese in Blender and it was still visible. But I am on Linux, maybe this is a Windows only thing. ![20220608-142600.png](https://archive.blender.org/developer/F13138337/20220608-142600.png) Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once you close Blender the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. ![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author

blender_debug_output.txt

blender_system_info.txt
Your font name is in English HYShangWeiShouShuW
My font name is 汉仪尚魏手书W常规,so i can't see it in blender{F13138369}

[blender_debug_output.txt](https://archive.blender.org/developer/F13138360/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F13138361/blender_system_info.txt) Your font name is in English HYShangWeiShouShuW My font name is 汉仪尚魏手书W常规,so i can't see it in blender{[F13138369](https://archive.blender.org/developer/F13138369/屏幕截图_2022-06-08_210037.png)}
Author

屏幕截图 2022-06-08 210539.png

屏幕截图 2022-06-08 210654.png
I can type Chinese in some text input options like search and name files,but if I create text it can't enter Chinese

![屏幕截图 2022-06-08 210539.png](https://archive.blender.org/developer/F13138376/屏幕截图_2022-06-08_210539.png) ![屏幕截图 2022-06-08 210654.png](https://archive.blender.org/developer/F13138378/屏幕截图_2022-06-08_210654.png) I can type Chinese in some text input options like search and name files,but if I create text it can't enter Chinese
Author

I found that when I install the font, under the fonts folder, if the font is Chinese, I cannot find it in the blender font library, if it is not installed in the fonts folder, I can find it in blender, but the Chinese display is?屏幕截图 2022-06-08 211728.png

I found that when I install the font, under the fonts folder, if the font is Chinese, I cannot find it in the blender font library, if it is not installed in the fonts folder, I can find it in blender, but the Chinese display is?![屏幕截图 2022-06-08 211728.png](https://archive.blender.org/developer/F13138396/屏幕截图_2022-06-08_211728.png)
Member

The display should be improved in D12032.
But since the same font appear when in a different folder, could it be a permission issue? Maybe check the permissions on those fonts or open Blender as an administrator to see if it is indeed a permission issue?

The display should be improved in [D12032](https://archive.blender.org/developer/D12032). But since the same font appear when in a different folder, could it be a permission issue? Maybe check the permissions on those fonts or open Blender as an administrator to see if it is indeed a permission issue?
Author

Can't solve it, but I can access it normally in C4D, I don't think it's a permission issue?屏幕截图 2022-06-08 215857.png

Can't solve it, but I can access it normally in C4D, I don't think it's a permission issue?![屏幕截图 2022-06-08 215857.png](https://archive.blender.org/developer/F13138448/屏幕截图_2022-06-08_215857.png)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

@zhuxiao2121 ...I only see 200 fonts in the blender font library, but my windows font library has 400 fonts...

It's this: https://developer.blender.org/D13293

When you are installing fonts they go to a folder in your profile, while Blender by default only shows the global fonts.

You have fonts both in c:\windows\fonts and in C:\Users\(username)\AppData\Local\Microsoft\Windows\Fonts. If your browse to the latter you will probably see what you want. The patch referenced above makes Blender show both folders together in the same way the the Windows Explorer does

> @zhuxiao2121 ...I only see 200 fonts in the blender font library, but my windows font library has 400 fonts... It's this: https://developer.blender.org/D13293 When you are installing fonts they go to a folder in your profile, while Blender by default only shows the global fonts. You have fonts both in `c:\windows\fonts` and in `C:\Users\(username)\AppData\Local\Microsoft\Windows\Fonts`. If your browse to the latter you will probably see what you want. The patch referenced above makes Blender show both folders together in the same way the the Windows Explorer does
Author

In #98667#1370835, @Harley wrote:

@zhuxiao2121 ...I only see 200 fonts in the blender font library, but my windows font library has 400 fonts...

It's this: https://developer.blender.org/D13293

When you are installing fonts they go to a folder in your profile, while Blender by default only shows the global fonts.

You have fonts both in c:\windows\fonts and in C:\Users\(username)\AppData\Local\Microsoft\Windows\Fonts. If your browse to the latter you will probably see what you want. The patch referenced above makes Blender show both folders together in the same way the the Windows Explorer does

Thanks for you help

> In #98667#1370835, @Harley wrote: >> @zhuxiao2121 ...I only see 200 fonts in the blender font library, but my windows font library has 400 fonts... > > It's this: https://developer.blender.org/D13293 > > When you are installing fonts they go to a folder in your profile, while Blender by default only shows the global fonts. > > You have fonts both in `c:\windows\fonts` and in `C:\Users\(username)\AppData\Local\Microsoft\Windows\Fonts`. If your browse to the latter you will probably see what you want. The patch referenced above makes Blender show both folders together in the same way the the Windows Explorer does Thanks for you help
Member

Then I guess we can merge this to the other report and perhaps reopen the other one.
For the other issues regarding the thumbnails and text inputs, we already have the reports and patches I mentioned before, but if you think the issues are not covered by them, feel free to open a new report specific to the issue.

Then I guess we can merge this to the other report and perhaps reopen the other one. For the other issues regarding the thumbnails and text inputs, we already have the reports and patches I mentioned before, but if you think the issues are not covered by them, feel free to open a new report specific to the issue.
Member

Closed as duplicate of #61398

Closed as duplicate of #61398
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#98667
No description provided.