Bug 105501 - LibreOffice becomes non-responsive while installing a large font
Summary: LibreOffice becomes non-responsive while installing a large font
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.3.0.2 rc
Hardware: All Windows (All)
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK Fonts
  Show dependency treegraph
 
Reported: 2017-01-24 09:24 UTC by Volga
Modified: 2023-03-23 16:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2017-01-24 09:24:52 UTC
Description:
When I install a font, and LibreOffice is open, LibreOffice become no responce.

Steps to Reproduce:
1. Open LibreOffice
2. Create any of file from start center
3. Find, download & install any fonts from https://en.wikipedia.org/wiki/Free_software_Unicode_typefaces

Actual Results:  
As description.

Expected Results:
When a new font is installed, LibreOffice should show a progress bar for such situation instead of no responce.


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.3.0.2 (x64)
Build ID: 5ad7b2889021c491af62f7930a4b1cb631392f16
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 布局引擎:新; 
Locale: zh-CN (zh_CN); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Jacques Guilleron 2017-01-24 13:10:25 UTC
Hi Volga,

I just installed all fonts from EBGaramond on Windows 7 Home.
They are right away available into LibreOffice for work.
Tried with 64 and 32 bits LibreOffice versions.

Jacques
Comment 2 V Stuart Foote 2017-01-24 15:53:09 UTC
On Windows 10 Pro 64-bit en-US 12GB Ram, Intel i7-920 CPU with
Version: 5.3.0.2 (x64)
Build ID: 5ad7b2889021c491af62f7930a4b1cb631392f16
CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: en-US (en_US); Calc: group

Confirmed while installing the Code2000 (v1.71, 7.99mb, 53,068 glyphs). LibreOffice canvas becomes unresponsive for about 10 seconds as this Unicode font is loaded.  Other text applications (Wordpad, Notepad++) not similarly affected and keyboard entry and changes to document are not interrupted.

However, installing a 50,000 glyph font is not a common occurrence--a 10 second pause while font is parsed into LibreOffice does not seem excessive.  My copy of EB Garamond12-Regular (v.016, 483kb) has only 1958 glyphs, and I also have no noticeable delay as that font is installed.

I don't see this as much of an issue.

@Volga, please let us know your system specs (CPU & Ram), and which font and its glyph count you were installing.
Comment 3 Volga 2017-01-24 17:08:07 UTC
Yes, currently I use LibO on Windows 10 Home 64-bit edition, 8GB RAM, Intel Core i53337U. I have installed Trad. Chinese Supplemental Fonts from Settings when I run LibO Writer, then Writer unresponsive several minutes.

PS: There is an instruction how to install supplememtal fonts on Windows 10:
https://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1
According to the answer the Trad Chinese Supplemental Fonts including DFKai-SB, MingLiU, MingLiU_HKSCS, PMingLiU, all of them are very large fonts.
Comment 4 Volga 2017-01-24 17:13:07 UTC
Additionaly, when I install some non-CJK/Tangut fonts, LibO Writer seems no responce only a few time.
Comment 5 Volga 2017-01-25 17:18:30 UTC
(In reply to Volga from comment #3)
> Yes, currently I use LibO on Windows 10 Home 64-bit edition, 8GB RAM, Intel
> Core i53337U. 
Errata: I use 4G RAM when I report.
Comment 6 Volga 2017-04-22 18:04:40 UTC
Move this bug to bug 102985, since this bug is related to font loading when font installation is changed.
Comment 7 Volga 2018-03-08 15:18:50 UTC
This problem affecting me again when I opened LibreOffice 6.0.2.1, and I try to install Open Sans. I suggest LibreOffice should showing notice at status bar during this work instead of being no responsive, then refresh font list after new fonts installed.

Version: 6.0.2.1 (x64)
Build ID:f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU 线程:4; 操作系统:Windows 10.0; UI 渲染:默认; 
区域语言:zh-CN (zh_CN); Calc: CL

Steps to Reproduce:
1. Open LibreOffice
2. Open http://www.opensans.com/
3. Download Open Sans and Open Sans Condensed zip packages
4. Drag all font files out from them, then drag into C:\Windows\Fonts

Actual Results:
LibreOffice no responced in 5 minutes.
Comment 8 Volga 2018-07-25 17:13:19 UTC
This is still present in:

版本:6.1.0.2 (x64)
Build ID:b3972dcf1284967612d5ee04fea9d15bcf0cc106
CPU 线程:4; 操作系统:Windows 10.0; UI 渲染:默认; 
区域语言:zh-CN (zh_CN); Calc: group threaded

However, I saw GIMP 2.10.4 release notes having the following announcement:

“GIMP now performs the loading of fonts in a parallel process, which dramatically improves startup time.”

So I think maybe there is a solution to improve our font loading, we can also implement this process to load and update the fonts if system fonts have been changed, then the interface would not be affected.
Comment 9 QA Administrators 2019-07-30 03:13:28 UTC Comment hidden (obsolete)
Comment 10 Timur 2021-04-20 06:26:40 UTC
I guess still as reported. But I convert to enhancement.