Bug 88416 - UI: Allow hiding fonts from font drop down list in options dialog
Summary: UI: Allow hiding fonts from font drop down list in options dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
: 36492 91036 150113 (view as bug list)
Depends on:
Blocks: Options-Dialog Font-List
  Show dependency treegraph
 
Reported: 2015-01-14 18:23 UTC by Geoffrey
Modified: 2024-09-27 07:17 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
fonts preferences section in scribus (109.04 KB, image/png)
2015-03-19 23:55 UTC, Yousuf Philips (jay) (retired)
Details
textmaker's options dialog's fonts tab (25.11 KB, image/png)
2017-10-15 22:37 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey 2015-01-14 18:23:15 UTC
I would like to have the ability to hide fonts/font families from the font list in LibreOffice, without removing the fonts from my system. This option could be integrated into the LibreOffice options GUI.

For the implementation, I was thinking about a ListBox.
Comment 1 Robinson Tryon (qubit) 2015-01-14 20:21:03 UTC
UX Team: Assemble!
Status -> NEW
Component -> ux-advise
Severity -> enhancement
Comment 2 Yousuf Philips (jay) (retired) 2015-03-02 03:36:48 UTC
Well it could be put in Tools > Options > Fonts, but with most users, they have a long list of fonts, so many it would be easiest to allow the user to specify the only fonts he/she wants to see in the font list.
Comment 3 Yousuf Philips (jay) (retired) 2015-03-19 23:55:30 UTC
Created attachment 114199 [details]
fonts preferences section in scribus

Was going through Scribus today and noticed they had a section in their preferences for the user to select which fonts they want to have available in their interface, so i've attached a screenshot of how they present it.
Comment 4 Geoffrey 2015-03-20 08:48:16 UTC
Good screenshot. For the implementation in LibreOffice however, I would choose to work with font families instead of fonts. Otherwise the view is cluttered really fast.
Comment 5 Yousuf Philips (jay) (retired) 2015-03-20 12:09:52 UTC
Yes by font family would be the way to go, though LO doesnt detect font families correctly (bug 72944), so one way or another the list will be cluttered. :D

So i'd assume the grid would have the following fields :-

enable checkbox
family name
number of styles
type
Comment 6 Geoffrey 2015-03-20 15:00:53 UTC Comment hidden (obsolete)
Comment 7 Yousuf Philips (jay) (retired) 2015-03-20 20:23:30 UTC Comment hidden (obsolete)
Comment 8 k.wuestermann 2015-05-07 12:55:33 UTC
*** Bug 91036 has been marked as a duplicate of this bug. ***
Comment 9 Robinson Tryon (qubit) 2015-12-13 11:24:05 UTC Comment hidden (obsolete)
Comment 10 Yousuf Philips (jay) (retired) 2017-10-15 22:37:09 UTC
Created attachment 137006 [details]
textmaker's options dialog's fonts tab
Comment 11 Yousuf Philips (jay) (retired) 2017-10-19 11:05:54 UTC
*** Bug 36492 has been marked as a duplicate of this bug. ***
Comment 12 Coburn Ingram 2022-04-22 15:13:33 UTC
The elephant in the room is that the LO font list is unbelievably cluttered with a default install (using Gnome on Ubuntu). If your default is EN-US, you get lots of fonts installed that are used in English-speaking countries that you will never use! I am referring especially to Indic and Asian fonts.

The solution to that problem is to metapackage Indic and Asian fonts upstream, and only install them when a user chooses a locale where they are used! But until Gnome/Ubuntu get their act together, LO needs to have a way to hide font packages and metapackages. The upstream locale inadequacies simply highlight the need for a font selection list. It is obviously useful in other contexts. Just keep it simple! A clutter problem does not call for a cluttered answer. Thanks.
Comment 13 Buovjaga 2023-01-30 18:33:39 UTC
*** Bug 150113 has been marked as a duplicate of this bug. ***
Comment 14 Manu 2024-09-12 06:19:24 UTC
(In reply to Coburn Ingram from comment #12)
> The elephant in the room is that the LO font list is unbelievably cluttered
> with a default install (using Gnome on Ubuntu). If your default is EN-US,
> you get lots of fonts installed that are used in English-speaking countries
> that you will never use! I am referring especially to Indic and Asian fonts.
> 
> The solution to that problem is to metapackage Indic and Asian fonts
> upstream, and only install them when a user chooses a locale where they are
> used! But until Gnome/Ubuntu get their act together, LO needs to have a way
> to hide font packages and metapackages. The upstream locale inadequacies
> simply highlight the need for a font selection list. It is obviously useful
> in other contexts. Just keep it simple! A clutter problem does not call for
> a cluttered answer. Thanks.

I add my thoughts:
- I agree with this idea of metapackage "Language" fonts. For example, if I want to work with multiple languages in my document, I am not really interested by poor fonts without diacritics and not supporting my targeted languages. That's why if we could add in the options, a parameter saying our preferred languages, and this parameter discard or indicate which fonts are uncompatible, that would be great.
- The discussion here shows it is difficult to manage the list for all good reasons. Windows poorly propose a better solution, but at least, we can mask and unmask fonts when we explore the fonts directory. If we want to make it simple, LibreOffice could only presents the fonts that are not masked. Maybe adding a parameter in the options allowing to show or hide the masked fonts. Is it possible?
Comment 15 Manu 2024-09-12 06:27:19 UTC
Note a discussion about languages and fonts here:

Bug 151122 - Need way to avoid selecting fonts which don't cover the relevant language Unicode range
Comment 16 Manu 2024-09-27 07:17:27 UTC
From comments in Bug 151122 - Users should be able to select a typeface for their language from among those supporting their language

(In reply to Heiko Tietze from comment #39)
> (In reply to Manu from comment #38)
> > Note 2, about filtering: it's really boring to see all the useless fonts we
> > cannot uninstall (protected by microsoft windows) and hide (even if windows
> > allows it in the file explorer, because libreoffice doesn't care). A
> > checkbox to hide them in libreoffice will make the font list lighter for the
> > user and for the calculations behind the dialogbox.
> KDE allows to disable fonts (I use to do it with 99% of Noto), Windows
> probably too. I'm against introducing square wheels.

If "KDE allows to disable fonts (I use to do it with 99% of Noto)" and LibreOffice doesn't display these disabled fonts, therefore there is a different behavior between windows and linux versions.
Windows allows to (un)mask fonts when you browse the font directory.
LibreOffice under Windows displays all fonts, unmasked or masked.

Maybe that's why this bug is still not fixed? nobody has noticed this difference?
this is still present in 
Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded