Text: Special Characters: Circle doesn't meshed #116252

Closed
opened 2023-12-16 15:51:44 +01:00 by Iliya Katushenock · 3 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 527.56

Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-12-14 23:25, hash: c8aecac00131
Worked: (newest version of Blender that worked as expected)

Short description of error
Circle special characters is not render by text ui and not meshed in text object.
image
image

Exact steps for others to reproduce the error

  1. Create Text object.
  2. Go to edit mode.
  3. Text -> Special Characters -> Circle.
    Nothing happened.
**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 527.56 **Blender Version** Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-12-14 23:25, hash: `c8aecac00131` Worked: (newest version of Blender that worked as expected) **Short description of error** Circle special characters is not render by text ui and not meshed in text object. ![image](/attachments/40043eda-966b-44fb-86ec-203551f2199c) ![image](/attachments/5f3d7acc-21a4-4f46-87bf-30e38869ae60) **Exact steps for others to reproduce the error** 1. Create Text object. 2. Go to edit mode. 3. Text -> Special Characters -> Circle. Nothing happened.
5.0 KiB
6.9 KiB

May I work on this issue?

May I work on this issue?
Harley Acheson removed the
Status
Confirmed
label 2023-12-16 17:18:32 +01:00
Harley Acheson self-assigned this 2023-12-16 17:18:51 +01:00
Member

May I work on this issue?

You may!

Note that this might be different that you expect. The first hint is in that popup hint where it looks to be inserting nothing:

image

The items in this list are here in the source blender\scripts\startup\bl_ui\space_view3d.py in VIEW3D_MT_edit_font_chars with this one wanting it add a "Circle" with "\u008A".

Although it is possible to find some online resources that show a character at U+008A it is not a circle. In fact it is meant to be nothing displayable as this is in a range of control characters. It is specifically in the "C1 Controls" range (U+0080 - U+009F) you can see here: https://en.wikipedia.org/wiki/Latin-1_Supplement

To fix this particular problem with the least amount of change it would make sense to try some really old version of Blender and see what character used to come out. Then change this to a proper Unicode character that matches. Like U+25EF, which is a large unfilled circle ◯.

A few unrelated things also stick out in that code area. "u00A5" is described as "Japanese Yen" when that character is also used for the Chinese yuan currency so should just be change to the symbol name "Yen" without the "Japanese" part.

Similarly "Spanish Question Mark" and "Spanish Exclamation Mark" aren't really correct as these are specifically the inverted versions and they are technically used in some other languages like Asturian and Waray. I'd change the descriptions to "Inverted Question Mark" and "Inverted Exclamation Mark".

"German S" is a bit sus too since that is really the "Eszett".

When this section of code was made we didn't reliably show these characters in the interface, but now these are all guaranteed to work. So these text descriptions could all include the character that they will insert.

Note that we generally don't like this "Special Characters" menu and have talked about removing it or replacing it with something more useful. So I would avoid proposing additions to this. But a PR that makes these small corrections would be welcome in the mean time.

> May I work on this issue? You may! Note that this might be different that you expect. The first hint is in that popup hint where it looks to be inserting nothing: ![image](/attachments/3c29bb49-9e24-4b57-9698-8caa834df4b1) The items in this list are here in the source `blender\scripts\startup\bl_ui\space_view3d.py` in `VIEW3D_MT_edit_font_chars` with this one wanting it add a "Circle" with "\u008A". Although it is possible to find some online resources that show a character at U+008A it is not a circle. In fact it is meant to be nothing displayable as this is in a range of control characters. It is specifically in the "C1 Controls" range (U+0080 - U+009F) you can see here: https://en.wikipedia.org/wiki/Latin-1_Supplement To fix this particular problem with the least amount of change it would make sense to try some [really old version of Blender](https://download.blender.org/release/) and see what character used to come out. Then change this to a proper Unicode character that matches. Like U+25EF, which is a large unfilled circle ◯. A few unrelated things also stick out in that code area. "u00A5" is described as "Japanese Yen" when that character is also used for the Chinese yuan currency so should just be change to the symbol name "Yen" without the "Japanese" part. Similarly "Spanish Question Mark" and "Spanish Exclamation Mark" aren't really correct as these are specifically the inverted versions and they are technically used in some other languages like Asturian and Waray. I'd change the descriptions to "Inverted Question Mark" and "Inverted Exclamation Mark". "German S" is a bit sus too since that is really the "Eszett". When this section of code was made we didn't reliably show these characters in the interface, but now these are all guaranteed to work. So these text descriptions could all include the character that they will insert. Note that we generally don't like this "Special Characters" menu and have talked about removing it or replacing it with something more useful. So I would avoid proposing additions to this. But a PR that makes these small corrections would be welcome in the mean time.
Iliya Katushenock added
Interest
User Interface
and removed
Module
User Interface
labels 2023-12-16 17:47:22 +01:00
Member

A few unrelated things also stick out in that code area. "u00A5" is described as "Japanese Yen" when that character is also used for the Chinese yuan currency so should just be change to the symbol name "Yen" without the "Japanese" part.

Similarly "Spanish Question Mark" and "Spanish Exclamation Mark" aren't really correct as these are specifically the inverted versions and they are technically used in some other languages like Asturian and Waray. I'd change the descriptions to "Inverted Question Mark" and "Inverted Exclamation Mark".

"German S" is a bit sus too since that is really the "Eszett".

In addition, the Double << and Double >> are really guillemets, the Promillage appears to be a Dutch word for per mille, and the Dutch Florin is the generic currency symbol.

For reference, there was a discussion about this in !106240.

EDIT The Circle character isn’t rendered in Blender 2.49 :D

> A few unrelated things also stick out in that code area. "u00A5" is described as "Japanese Yen" when that character is also used for the Chinese yuan currency so should just be change to the symbol name "Yen" without the "Japanese" part. > > Similarly "Spanish Question Mark" and "Spanish Exclamation Mark" aren't really correct as these are specifically the inverted versions and they are technically used in some other languages like Asturian and Waray. I'd change the descriptions to "Inverted Question Mark" and "Inverted Exclamation Mark". > > "German S" is a bit sus too since that is really the "Eszett". In addition, the Double << and Double >> are really guillemets, the Promillage appears to be a Dutch word for per mille, and the Dutch Florin is the generic currency symbol. For reference, there was a discussion about this in !106240. EDIT The Circle character isn’t rendered in Blender 2.49 :D
Blender Bot added the
Status
Resolved
label 2023-12-31 19:19:01 +01:00
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#116252
No description provided.