Bug 122326 - LibreOffice Basic rendering source codes with Source Han Sans
Summary: LibreOffice Basic rendering source codes with Source Han Sans
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.2.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2018-12-26 01:28 UTC by Volga
Modified: 2019-06-26 13:38 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot from LibreOffice Basic (81.40 KB, image/png)
2018-12-26 01:33 UTC, Volga
Details
My font settings (92.67 KB, image/png)
2018-12-26 17:30 UTC, Volga
Details
Screenshot after enlarging the source text size (66.47 KB, image/png)
2018-12-26 17:47 UTC, Volga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2018-12-26 01:28:13 UTC
Description:
In LibreOffice 6.2.0.1, all source codes rendering with Source Han Sans in LibreOffice Basic editor

Steps to Reproduce:
1. Tools -> Macros -> Manage macros
2. Select any macro to edit

Actual Results:
All source codes rendering with Source Han Sans

Expected Results:
All source codes should rendering with monospace font.


Reproducible: Always


User Profile Reset: No



Additional Info:
版本:6.2.0.1 (x64)
Build ID:0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU 线程:4; 操作系统:Windows 10.0; UI 渲染:默认; VCL: win; 
区域语言:zh-CN (zh_CN); UI 语言: zh-CN
Calc: threaded
Comment 1 Volga 2018-12-26 01:33:10 UTC
Created attachment 147823 [details]
Screenshot from LibreOffice Basic

I think this was brought by bug 114768.
Comment 2 Regina Henschel 2018-12-26 01:54:14 UTC
Goto menu Tools > Options > LibreOffice > Fonts. There is a section "Font Settings for HTML, Basic and SQL Sources". There you can select the font for the source in the Basic IDE.
Comment 3 Volga 2018-12-26 17:30:47 UTC
Created attachment 147846 [details]
My font settings

Yes, I saw, but I haven’t change it, and the font looks still proportional.
Comment 4 Volga 2018-12-26 17:47:18 UTC
Created attachment 147847 [details]
Screenshot after enlarging the source text size

I just set font size as 36 and then I saw the text is sightly rendering with Source Han Sans when I input some texts.
Comment 5 Volga 2018-12-26 17:48:12 UTC
Cheng-Chia Tseng, Vdragon, Kevin Suo, please see.
Comment 6 Xisco Faulí 2019-06-26 08:34:31 UTC
Dear Volga,
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
Comment 7 Kevin Suo 2019-06-26 13:24:12 UTC
Works OK in Fedora 30 linux system. Need to check on Windiws 10.
Comment 8 Kevin Suo 2019-06-26 13:38:44 UTC
On Win10 the default font shown in Basic editor seens SimSun. When I change the  "Font Settings for HTML, Basic and SQL Sources" to a mono font, it is rendered correctly.