Bug 82730

Summary: FORMATTING: Default CTL font is Hindi
Product: LibreOffice Reporter: Dan <connda>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: connda, philipz85
Version: 4.2.6.2 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
i915 platform: i915 features:

Description Dan 2014-08-17 13:12:27 UTC
Default CTL font is Hindi when English and Thai are the only installed languages

Steps to reproduce:
1. Install 4.2.6.2 or the latest Fresh 4.3.0.n
2. Select 'Custom' install and checked language to make sure that only English and Thai are selected -- and to make sure that Hindi is not selected. (On Windows 7, my Language settings are only English and Thai.  I use the United States as my location <where I always VPN to>, Keyboard set to either English or Thai, Display set to English.  There is no Hindi set anywhere on this system. 
3. After install, start a Writer session.
4. Go to menu Format/Character.
4a. In version 4.2.6.2 the default Western font was English with (I believe)Liberation Serif 12 point as the default font. The default CTL language was Hindi and the default font was Mangal.  I was able to change these values in this version. But, the box that displays the current language shows Hindi characters and Hindi transliteration.
4b. In version 4.0.3.n, I could not change Hindi to Thai, and when I attempted to change the font, the Writer session locked up, CPU usage for the executable, soffice.bin was in excess of 45%.  Had to use Task Manager to kill the process.  Reproduced this a few times, then uninstalled the version including deleting data in the User/<name>/Appdate/Roaming/Libreoffice directory
5. v4.2.6.2 Looked at Tools/Options/Language Settings/Language and found that the installer set the CTL language to Hindi???  I reset it to Thai.
6. Restarted Writer.  Went to Format/Characters and looked at the display box.  The transliterated language is still Hindi (Written: "Lorem ipsum".  If it's really a transliteration it should say: Pasa Thai; if it should be displaying English, I guess it should say, "English".  The CTL characters are correct: อักษรไทย <Thai alphabet> 

Current behavior:
Attempted to set the default Western font to Arial 12 and the CTL font to Angsana 18.  Once I close the session and restart a new session, the fonts revert back to Liberation Serif and Angsana 16.

Expected behavior:
1. I don't expect Hindi to show up when in was never selected during the Custom install.
2. I expect the default fonts to be Arial Regular 12 and the CTL font as Angsana Regular 18 after I set them in Format/Character.  
3. I expect the display box in Format/Character to look something like this:
___________ English alphabet  อักษรไทย__________

instead of:

___________ Lorem ipsum   อักษรไทย__________


Hope this is specific enough.  Write if ya'll have questions.

Dan
connda@gmail.com
Operating System: Windows 7
Version: 4.2.6.2 release
Comment 1 Dan 2014-08-17 13:31:49 UTC
I'll see if I can reproduce this on another laptop if I've got the time later.
Comment 2 Dan 2014-08-17 16:26:06 UTC
OK. I figured out how to set the default fonts.

Now it's just the issue of why does Hindi show up as the default language for CTL fonts when it was never selected.
Comment 3 Jay Philips 2014-08-26 15:58:20 UTC
Hello Dan.

Thank you for filing the bug. Yes that is the default setting for all CTL languages. It sets it that way when i need to write Arabic documents. But as you have to go into the options in order to enable CTL, it is also necessary for you to set your preferred CTL language. It is a one time setting you have to set, so i dont think its unreasonable for the user to set it.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.