Bug 149608 - Provide an equivalent to CSS3's “system-ui”, in the default document template, and where templates are inapplicable (“Basic Fonts”, for Calc).
Summary: Provide an equivalent to CSS3's “system-ui”, in the default document template...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 22:54 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2026-01-29 10:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A Screenshot Of `kcmshell6 kcm_fonts` (56.21 KB, image/png)
2026-01-19 22:37 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
Details
A Screenshot Of Writer, With Customised Preferences That Mimic The OS (78.84 KB, image/png)
2026-01-19 22:38 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
Details
A Screenshot Of Writer, With Its Default Preferences (79.81 KB, image/png)
2026-01-19 22:39 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2022-06-18 22:54:50 UTC
Description:
One of the problems that prevents migration of my .txt-files to the more versatile formats that LibreOffice supports is that they are unable to adhere to the typography that the host operating-systems has chosen.

This is important because not solely is it obvious regression of functionality, it provides consistency to the user, which is important if they are dyslexic or unable to easily see, because it necessitates unnecessary additional configuration, especially if they frequently replace their font(s).

Steps to Reproduce:
1. Invoke “kcmshell5 kcm_fonts”.
2. Configure the fonts to not be Liberation Serif, as "http://i.imgur.com/XcEQ1IC.png" depicts.

3. Unnecessarily, but to demonstrate well what I have stated, remove the entries from what "http://i.imgur.com/6TJ3l4p.png" depicts when the styles of the document are empty too (which they are by default, and which "http://i.imgur.com/nNswItI.png" depicts).

Actual Results:
LibreOffice merely defaults to Liberation (Serif?), which appears to be its default.

Expected Results:
LibreOffice should utilize the default theme that the user has configured for their operating-system.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
During implementation of this, know that Windows's font is not actually hard-coded, and that no software expects that. It is provided by registry-keys. Windows' typographical customisability and aliasage is actually approximately as advanced as most derivatives of UNIX's.
Comment 1 Olivier Hallot 2026-01-19 14:36:18 UTC
LibreOffice will use the default template to convert the txt contents into a Writer or Calc document. If you need other fonts than Liberation, you can change the Default Paragraph Style to carry the desired font.

Otherwise, to address your demand, use the command line as explained in

https://help.libreoffice.org/latest/en-US/text/shared/guide/convertfilters.html

soffice --infilter="InputFilterName[:InputFilterParams[,param]]"

--infilter="Text (encoded):UTF8,LF,Liberation Mono,en-US".

PS:
Next time, please attach images in the ticket, the links to imgur leads to nothing useful.
Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-01-19 22:37:58 UTC
Created attachment 205092 [details]
A Screenshot Of `kcmshell6 kcm_fonts`

(In reply to Olivier Hallot from comment #1)

My apologies for the strange phrasal of https://bugs.documentfoundation.org/show_bug.cgi?id=149608#c0. As in https://bugs.documentfoundation.org/show_bug.cgi?id=149939#c2, “I was only 17 years of age when I filed this, and was commensurately lazy when I filed bugs.” I hope that I can remediate that now:

> LibreOffice will use the default template to convert the txt contents into a
> Writer or Calc document. If you need other fonts than Liberation, you can
> change the Default Paragraph Style to carry the desired font.

My request may be to modify that default template. Consider CSS3's `system-ui` `font-style` as an example; it is the default, and adheres to the OS typeface.

> Next time, please attach images in the ticket, the links to imgur leads to
> nothing useful.

I agree. Being a UK citizen, I now need a VPN to access them. I'd attach them, except that reddit.com/comments/kjvta1/comment/o0k6cra prevents me accessing them at the Internet Archive. However, I'll upload the relevant screenshots next.
Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-01-19 22:38:46 UTC
Created attachment 205093 [details]
A Screenshot Of Writer, With Customised Preferences That Mimic The OS

This image depicts what the preferences should be, to mimic the aforedepicted.
Comment 4 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-01-19 22:39:30 UTC
Created attachment 205094 [details]
A Screenshot Of Writer, With Its Default Preferences

This image depicts what the defaults are, to demonstrate how arbitrary they are.