Bug 218310

Summary: editors/libreoffice: uses wrong fonts
Product: Ports & Packages Reporter: andy
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: andy, fluffy, lwhsu
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description andy 2017-04-02 20:32:12 UTC
Libreoffice does not use correct font for application menus.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2018-03-02 14:55:34 UTC
What's the correct one?
Comment 2 andy 2018-03-21 23:30:16 UTC
I just upgraded to editors/libreoffice (libreoffice-5.3.7_5 -> libreoffice-6.0.2). My freebsd version is:

FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #15 r331021: Thu Mar 15 16:30:40 EDT 2018
root@BSD_12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL? amd64 1200060

I use MATE desktop: under the menu System -> Preferences -> Look and Feel -> Appearance -> Font tab, I use a font called "Terminal Regular" for all my fonts. All applications use that font for menus and all font displays in the application.

For some reason Libreoffice DOES NOT use the Terminal font in its menus. I do not kown what the font it uses is called. Also in the dropdown box of available fonts Terminal font is not available. Why is that?

Thank you in advance for looking at this.
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2018-03-22 09:37:00 UTC
Just want to make sure, is this issue existing on both LO 5 and 6, right?
Comment 4 andy 2018-09-03 18:55:59 UTC
(In reply to Li-Wen Hsu from comment #3)

yes
Comment 5 Li-Wen Hsu freebsd_committer freebsd_triage 2020-06-16 22:21:05 UTC
Does this still happen with 6.4.4?
Comment 6 Dima Panov freebsd_committer freebsd_triage 2020-06-19 07:05:40 UTC
(In reply to andy from comment #2)
This is not a bug but an internal stuff.

LibreOffice uses own interface rendering system which connected to gtk/qt/kde/winapi/cocoa via VCL (visual component library). Inside VCL external toolkits used not as full interface but as under-layer library to draw only needed components. 

Some shared resources (toolbar color theme, buttons style, for example) can sync style with system global but all other settings are system independed and can be defined by own LO settings/theme
Comment 7 andy 2020-06-21 03:35:10 UTC
(In reply to Li-Wen Hsu from comment #5)

It is working correctly now.  However, there is another problem I see now:

In my menu bar the Style pulldown and Font selection pulldown options are not available/broken.  Can not select anything from them.
Comment 8 Dima Panov freebsd_committer freebsd_triage 2020-06-21 05:18:57 UTC
(In reply to andy from comment #7)
Built with GTK3? re-run 'make config' and select qt5 (and kf5 if u want) -- gtk3 vcl known as broken L(