Apache OpenOffice (AOO) Bugzilla – Issue 53466
Patch for correct recognition of Dzongkha native digits in open office
Last modified: 2013-08-07 15:00:08 UTC
Eike, I am attaching a patch for i18npool/source/nativenumber/data/numberchar.h for including Dzongkha . Right now [NatNum1] is not working for Dzongkha in Open office calc src680m123. I asume that it is because of Dzongkha not in this file.
Created attachment 28873 [details] Patch to file numberchar.h
Hi Pema, Funny, you _assume_ that it works with your patch? Why didn't you _verify_ it? It wouldn't work, at least the natnum1Locales[] and natnum1[] entries are missing from i18npool/source/nativenumber/nativenumbersupplier.cxx. I admit these should be grouped with the other tables in numberchar.h though for easier handling. Please attach a complete patch after having verified that it works! Then reassign back to me. Thanks Eike
Eike, The Dzongkha Locale submitted by Mr. Javier Sola has the NatNum1 support in it. Dzongkha rendering works in Open office with the exception of using native numbers in Open office Calc. At the moment, I have not been building oosrc 680 and I am not in the position to check the patch. I just compared with the Khmer, which was working and I assumed that the NatNum1 not working in calc is because of the file i18npool/source/nativenumber/data/numberchar.h not having dz(and others) in it. I m really sorry for assuming things. At the moment I am not sure what would be the complete patch for solving this issue. Is it that I have to create patch for 1)i18npool/source/nativenumber/data/numberchar.h and 2)i18npool/source/nativenumber/nativenumbersupplier.cxx to have NatNum1 working for Dzongkha.. Could u throw some more light to this issue... Many Thanks Pema Geyleg
My fault, actually.... adding this file to the documentation...
Created attachment 28915 [details] Patches for two files numberchar.h and nativenumbersupplier.cxx
A patch for the two files: 1)i18npool/source/nativenumber/data/numberchar.h 2) i18npool/source/nativenumber/nativenumbersupplier.cxx This patch hopes to enable NatNum1 (native number) for Dzongkha in Open Office calc Pema Geyleg
Hi Pema, Looks better :-) Though in general I prefer patches that are verified to work, this one is simple, and I can just assume that the glyphs displayed are actually those intended.. Thanks Eike
On branch cws_src680_localedata6 i18npool/source/nativenumber/nativenumbersupplier.cxx 1.19.4.1 i18npool/source/nativenumber/data/numberchar.h 1.8.4.1
Reassign to QA. re-open issue and reassign to oc@openoffice.org
reassign to oc@openoffice.org
reset resolution to FIXED
verified in internal build cws_localedata6
closed because fix available in OOo1.9m131