Khmer language in utf8 not supported #85083

Closed
opened 2021-01-26 16:56:58 +01:00 by raksa eng · 9 comments

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: Intel(R) Iris(TM) Graphics 6100 Intel Inc. 4.1 INTEL-14.7.8

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-01-26 13:38, hash: 84671d796d
Worked: (newest version of Blender that worked as expected)

Short description of error
Unicode auto-script not working for Khmer language in utf8, the input សួរស្​តី​ will gives result as សួរស្តី
Khmer text character can be found here Google Font Battambang

Exact steps for others to reproduce the error
in Video Editing > Sequencer, add text then write in Khmer language produces wrong result and get boxes text on Preview viewport

Screen Shot 2021-01-26 at 10.46.28 PM.png

Thanks!

**System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits Graphics card: Intel(R) Iris(TM) Graphics 6100 Intel Inc. 4.1 INTEL-14.7.8 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-01-26 13:38, hash: `84671d796d` Worked: (newest version of Blender that worked as expected) **Short description of error** Unicode auto-script not working for Khmer language in utf8, the input សួរស្​តី​ will gives result as សួរស្តី Khmer text character can be found here [Google Font Battambang ](https://fonts.google.com/specimen/Battambang?query=bat&preview.text=%E1%9E%9F%E1%9E%BD%E1%9E%9A%E1%9E%9F%E1%9F%92%E1%9E%8F%E1%9E%B8&preview.text_type=custom#standard-styles) **Exact steps for others to reproduce the error** in Video Editing > Sequencer, add text then write in Khmer language produces wrong result and get boxes text on Preview viewport ![Screen Shot 2021-01-26 at 10.46.28 PM.png](https://archive.blender.org/developer/F9598874/Screen_Shot_2021-01-26_at_10.46.28_PM.png) Thanks!
Author

Added subscriber: @raksa

Added subscriber: @raksa
raksa eng self-assigned this 2021-01-26 17:08:07 +01:00
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Your report links to a Battambang font, but your screenshot is showing that you don't use that font. Load that font and it will work:

Battambang2.png

Your report links to a Battambang font, but your screenshot is showing that you don't use that font. Load that font and it will work: ![Battambang2.png](https://archive.blender.org/developer/F9598919/Battambang2.png)
raksa eng was unassigned by Robert Guetzkow 2021-01-26 18:10:06 +01:00
Author

@Harley Battambang is font name, there are two fonts available Battambang-Bold (bold) and Battambang-Regular (normal)

@Harley **Battambang** is font name, there are two fonts available Battambang-Bold (bold) and Battambang-Regular (normal)
Author

It is not about font, but it is problem with Khmer Unicode support,
For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត
Screen Shot 2021-01-27 at 10.30.01 AM.png

It is not about font, but it is problem with Khmer Unicode support, For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត ![Screen Shot 2021-01-27 at 10.30.01 AM.png](https://archive.blender.org/developer/F9599553/Screen_Shot_2021-01-27_at_10.30.01_AM.png)
Member

It is not about font, but it is problem with Khmer Unicode support,

Then why did you circle this part in your report? If this was about text shaping, you could have made a much simpler report.

Circled.jpg

For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត

Blender does not (yet) support complex text shaping. You will either have to use combined glyphs or make them yourself.

> It is not about font, but it is problem with Khmer Unicode support, Then why did you circle this part in your report? If this was about text shaping, you could have made a much simpler report. ![Circled.jpg](https://archive.blender.org/developer/F9599753/Circled.jpg) > For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត Blender does not (yet) support complex text shaping. You will either have to use combined glyphs or make them yourself.

Closed as duplicate of #44438

Closed as duplicate of #44438

is blender fix this problem yet ?

is blender fix this problem yet ?
Member

is blender fix this problem yet ?

Not quite.

A Khmer font has been added to Blender with version 4.1. And this will be used automatically when Khmer characters are needed. So adding a Sequencer text strip or text object will now just show Khmer characters if entered.

And we now have a Khmer translation of the Interface starting as well.

However, the core of the complaint is not solved, "For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត". For this we need to add an entire new software system to do "text shaping". That is on the roadmap though, and hopefully we will get to that soon.

> is blender fix this problem yet ? Not quite. A Khmer font has been added to Blender with version 4.1. And this will be used automatically when Khmer characters are needed. So adding a Sequencer text strip or text object will now just show Khmer characters if entered. And we now have a Khmer translation of the Interface starting as well. However, the core of the complaint is not solved, "For consonant two characters joined by ្ will produce new character. e.g: ស+្+ត​ = ស្ត but on Blender the problem is ស+្+ត​ = ស្​ត". For this we need to add an entire new software system to do "text shaping". That is on the roadmap though, and hopefully we will get to that soon.
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
4 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#85083
No description provided.