gvSIG bugs #252

Error on the Khmer language in gvSIG 1.12

Added by Mario Carrera over 12 years ago. Updated about 10 years ago.

Status:Fixed% Done:

100%

Priority:Normal
Assignee:Francisco Puga
Category:-
Target version:-
Severity: Add-on name:Unknown
gvSIG version:1.12.0 Add-on version:
gvSIG build:1402 Add-on build:
Operative System: Add-on resolve version:
Keywords: Add-on resolve build:
Has patch:No

Description

Khmer translators sent us a patch to recognise Khmer fonts on gvSIG and it was installed on gvSIG 1.12, but when they open gvSIG 1.12 in Khmer (with OS in Khmer), most of the strings appear in English (we see it correctly in Khmer with our OS in Spanish).

They have installed the patch on gvSIG 1.11, and it works good. Maybe there has been an error on the installation of the patch on gvSIG 1.12.

Let me know if you need more information about the patch installed on gvSIG 1.11 to compare it with the patch installed on gvSIG 1.12.

Mario

text_km.properties Magnifier (131 Bytes) Mario Carrera, 02/22/2012 04:56 PM

Khmer_error2.png (92.5 KB) Mario Carrera, 02/22/2012 04:56 PM

gvSIG_error_Khmer_W7.log (41.4 KB) Mario Carrera, 05/11/2012 12:10 PM

63

Related issues

Related to Application: gvSIG desktop - gvSIG bugs #306: Preparar andami para que trabaje con su propio carpeta de... Closed 02/13/2012
Duplicated by Application: gvSIG desktop - gvSIG bugs #280: Patch to correct Khmer characters on gvSIG 2.0 Closed 02/09/2012

History

#1 Updated by Mario Carrera about 12 years ago

Hello,

a solution has been found to solve it. gvSIG load a first .properties from the andami.jar to recognise the fonts. As it doesn't include the Khmer properties, fonts aren't loaded correctly. I attach the text_km.properties to include in the andami.jar (inside the bin folder).

After correcting it, several fonts aren't shown correctly (at the contextual menu on the TOC and the Maps, the titles of the Preferences manager, and the titles of the windows in gvSIG). I attach a screenshot. This error is because the fonts are fixed at several places at the gvSIG source code. This text has been found:
------------
// Lo de fijar la fuente es porque en linux se veía mal si no se fija.
// TODO: Esto no funcionará para idiomas como el chino. Hay que cambiarlo.
public final static Font theFont = new Font("SansSerif", Font.PLAIN, 10);
-------------
They have to be removed (or commented), because fonts are fixed with the previous solution.

I relate this bug with other similar ones that are being fixed on gvSIG 2.0.

I open a new ticket to add Khmer translations on gvSIG 1.12.

Mario

#2 Updated by Mario Carrera about 12 years ago

At the Build Number 1407 the contextual menus on the TOC and the Maps are shown correctly now, it has been solved, but the text of the Preferences manager and the titles of the windows in gvSIG (Table, View...) aren't shown correctly.

#3 Updated by Mario Carrera about 12 years ago

  • Assignee set to Francisco Puga

#4 Updated by Francisco Puga about 12 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r38212.

#5 Updated by Francisco José Peñarrubia about 12 years ago

Mario, si tienes el gvSIG.log, ponlo. Así veremos si están usando un jre1.5, que NO incluye las fuentes del Khmer. Esas fuentes se incluyen a partir de JRE 1.6

#6 Updated by Mario Carrera about 12 years ago

Adjunto el gvSIG.log. Parece que sí que utiliza la 1.6.

#7 Updated by Álvaro Anguix about 10 years ago

  • Project changed from Application: gvSIG desktop to | gvSIG desktop 1

Also available in: Atom PDF