Description of problem: Bengali still has not got the fallback font when doing LANG=bn_IN.UTF-8 oowriter. VCL.xcu does have entries for the lang Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. LANG=bn_IN.UTF-8 oowriter 2. Look at the default font selection Actual results: Nimbus Roman No9 L Expected results: Lohit Bengali Additional info: Compare these to other indic languages like LANG=hi_IN.UTF-8
Nov 22 is the probable target date for starting work on this.
Checked the font for CJK and Indic locales. Only bn_IN does not have the proper fallback fonts. Tested with openoffice.org-1.1.2-14.6.EL4.
Created attachment 108112 [details] first patch to map bn_IN to "BENGALI" 1. patch to tools maps bn_IN (instead of bn_BD) to "LANGUAGE_BENGALI" like 2.0 does
Created attachment 108113 [details] second patch to classify BENGALI as a CTL language 2. patch to svtools to classify BENGALI as a CTL language. Otherwise the default will be the western font entries when in the bengali locale, even though the CTL entries will be correctly set
Created attachment 108114 [details] third patch to add bengali to i18npool 3. patch to i18npool to add a bengali entry like the other hindi varients. Not 100% sure that this is required. Followed the minimal mr_IN varient to create it.
Those should do the trick, works for me (tm). Though its an open question if the patches need to be duplicated to handle Bangladeshi Bengali i.e. add 1. { LANGUAGE_BENGALI_BANGLADESH, "bn", "BD" }, to isolang.cxx and 2. #define LANGUAGE_BENGALI_BANGLADESH 0x0845 to tools/inc/lang.hxx 3. add LANGUAGE_BENGALI_BANGLADESH to the svtools classification thing 4. (required ?) stick an appropiate xml and matching makefile.mk changes ala patch 3 above for bn-BD.xml
Patches should be in 1.1.2-16 and later
Tested with 1.1.2-17.6.EL4. the proper font is chosen by default on all CJK and 5 Indic locales
Confirmed fixed in openoffice.org-i18n-1.1.2-18.6.EL4. OOo in bn_IN can now type mix en and bn_IN characters in a document. Thanks.