Wrong font is shown in formula bar (a.k.a. input line)
Steps to Reproduce:
1. Open the attached file. Cell A1 is Thai text with Arial font.
1.1 Clicking in formula line (input line) makes the font in input line correct (see picture)
1.2 Not change anything, just press Enter on the keyboard
1.3 Now the cursor is in cell A2
1.4 Click on cell A1; the text in formula line is switched back to wrong font
The text in formula line is shown with another font "Purisa" (see picture)
The text in formula line is shown with "Arial" font
User Profile Reset: Yes
OpenGL enabled: Yes
Version: 220.127.116.11 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win;
Locale: th-TH (th_TH); UI-Language: en-US
Created attachment 154311 [details]
test file in ods
Created attachment 154312 [details]
screenshot of wrong font in formula line
Created attachment 154313 [details]
correct font when clicking formula line
Created attachment 154315 [details]
animated gif file demonstrating the bug
And the font Purisa, if needed, can be downloaded from ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/otf-tlwg-0.7.1.zip
confirm behavior in
Version: 18.104.22.168.alpha0+ (x64)
Build ID: 06925c1230cd6269fa5189ac3f4d608c9edf68e9
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-17_00:45:28
Locale: ru-RU (ru_RU); UI-Language: en-US
Not reproducible in
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default;
Locale: ca-ES (ca_ES.UTF-8)
I can't reproduce it in
Build ID: b9d6ea1dd7541c4bd866571f9e3f0aa894687c07
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
@Korrawit Pruegsanusak, Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Thanks. Anyway, I still reproduce on this Daily Build:
> Build ID: 67ee8818e68a2793d89331dd715989c468fe5680
> CPU threads: 2; OS: Windows 10.0 Build 17763; UI render: GL; VCL: win;
> Locale: th-TH (th_TH); UI-Language: en-US
> Calc: CL
The following step should be added to reproduce this bug:
0. Install all fonts from this link ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/otf-tlwg-0.7.1.zip
This could be OTF or TTF fonts, located at the same FTP folder ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/
You may need to restart your machine, with resetting LibO user profile.
1. Continue with the step on the bug description (comment 0)
**General description of this problem**
1. This bug is that: LibreOffice selects the wrong font to display in the formula bar in the not-editing stage.
When the formular bar is in editing stage, LibO seems to use Arial font, if I understand correctly, which is what supposed to be.
The wrong font doesn't limit to Purisa font; sometimes LibO uses another font in the above zip file. I still can't figure which font LibO will use.
2. If the CTL option is enabled and set to Thai, or is disabled, this bug appears.
If the CTL option is enabled and set to anything but Thai (such as Hindi or Telugu), font will not flip between editing and non-editing stage. Instead, LibO will use the wrong font in both editing and non-editing stage.
Correcting status to NEW as this was confirmed by Roman.
Narrowed this down to bibisect-win32-5.3, so it seems to be the move to HarfBuzz.