Bug report #10987

Fonts for number boxes/int displayed in foreign language(Khmer)

Added by marc-antoine chabot over 10 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:19330

Description

Weird issue on a single computer.
Everywhere there's a number box, or even when I convert a string to a number on the composer, I get a change of regional script for the numbers used.

Example: 47% shows up as ๔๗ %
http://en.wikipedia.org/wiki/Khmer_numerals
See screenshot. Copied and pasted number field in a notepad for clarity.

Any suggestion on how to locally fix this?
Windows 7 enterprise. Run off a local folder. Both 2.0 and 2.4 portable have the issue on that computer.

Please note I am using the portable version of 2.4.0 on a computer where I don't have local admin rights.

normal_1.jpg (62.5 KB) marc-antoine chabot, 2014-07-30 08:38 AM

khmer_1.jpg (72.2 KB) marc-antoine chabot, 2014-07-30 08:38 AM

khmer_1.jpg (72.2 KB) marc-antoine chabot, 2014-07-30 09:10 AM

khmer_2.jpg (82.3 KB) marc-antoine chabot, 2014-07-30 09:11 AM

History

#1 Updated by Giovanni Manghi over 10 years ago

  • Category set to GUI

#2 Updated by marc-antoine chabot over 10 years ago

Also note that Labels are also behaving this way, not just the GUI.

A field named "Frequency" will show up just fine on a map, but if I try to format it differently, it will show up in Thai or Khmer.
(I don't use either language. Just French/English for me)

example:
field is Frequency with value 162.500

format_number("Frequency",3) > ๑๖๒.๕๐๐ (162.500 in khmer fonts)
"Frequency" > 162.5

screenshot has the following label:
concat(format_number("Frequency",3),' ; ',"Frequency")

#3 Updated by marc-antoine chabot over 10 years ago

#4 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF