Libreoffice fonts have poor quality compared to Onlyoffice

Hello,

Due to some compatibility issues with Microsoft Office, I needed to have both offices installed in my machine. But sometimes I was using them alternately for new documents and besides I was thinking that open sheet *.ods should be an standard document and I was expecting both offices to work in the same way, I was wrong, formatting things (font, color, tabs, etc) I do in one office, I lost if I opened it the other, it strange that it’s not even needed to save the document, just opening it is enough to mess with formatting. Due to this reason I can not stay with both anymore, in this sense, I’m planning to stay with Libreoffice only but the way it render fonts is very poor.

Take a look at the attached image, from the same document opened with Libreoffice and Onlyoffice side by side, using the same font.

Is there any away to improve Libreoffice font rendering to align with Onlyoffice quality?

check whether you have anti-aliasing enabled;

Hello koshikas,

My system is basically all default from installation, I barely customize it, as you can see in the attached image the anti-aliasing is flag on in the LibreOffice Options View. Plasma Settings for Font also show anti-aliasing flag on.


My LibreOffice is version 7.4.3.2

Below my system information in case it’s needed.

System:
  Kernel: 6.0.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.0-x86_64
    root=UUID=69678a39-1940-48ee-8d02-88e765985137 rw rootflags=subvol=@ quiet
    apparmor=1 security=apparmor
    resume=UUID=b136d668-4460-4cf7-9211-93b9a5283ab3 udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_wayland vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: N/A model: X99 serial: <superuser required>
    UEFI: American Megatrends v: 5.11 date: 07/30/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.53 GiB used: 3.2 GiB (20.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Xeon E5-2640 v3 bits: 64 type: MT MCP arch: Haswell
    level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
    model-id: 0x3F (63) stepping: 2 microcode: 0x49
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 20 MiB
    desc: 1x20 MiB
  Speed (MHz): avg: 1285 high: 2577 min/max: 1200/3400 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1196 2: 1200 3: 1200
    4: 1200 5: 1197 6: 1200 7: 1200 8: 1200 9: 1200 10: 1197 11: 1200 12: 1200
    13: 1200 14: 1204 15: 2577 16: 1200 bogomips: 83024
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cqm cqm_llc cqm_occup_llc
    cx16 cx8 dca de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c
    flexpriority flush_l1d fma fpu fsgsbase fxsr ht ibpb ibrs ida intel_ppin
    invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good sdbg sep smep smx
    ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt
    xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Micro-Star MSI driver: amdgpu v: kernel arch: GCN-4
    code: Arctic Islands process: GF 14nm built: 2016-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: DP-3 empty: DP-1, DP-2, DVI-D-1,
    HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:67df class-ID: 0300 temp: 34.0 C
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: DP-3 res: 2560x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 22.2.4 renderer: AMD Radeon RX 570 Series
    (polaris10 LLVM 14.0.6 DRM 3.48 6.0.11-1-MANJARO) direct render: Yes
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Sound API: ALSA v: k6.0.11-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: virbr0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.73 TiB used: 1.77 TiB (65.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Western Digital
    model: WD Blue SN570 500GB size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 234100WD temp: 34.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital
    model: WDS500G2B0C-00PXH0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 233010WD temp: 30.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD20PURZ-85GU6Y0
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 0A80 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 448.38 GiB size: 448.38 GiB (100.00%)
    used: 216.03 GiB (48.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
    label: LINUX uuid: 69678a39-1940-48ee-8d02-88e765985137
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 568 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
    label: NO_LABEL uuid: CDC5-157E
  ID-3: /home raw-size: 448.38 GiB size: 448.38 GiB (100.00%)
    used: 216.03 GiB (48.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
    label: LINUX uuid: 69678a39-1940-48ee-8d02-88e765985137
  ID-4: /home/<filter>/GAMES raw-size: 465.76 GiB size: 457.38 GiB (98.20%)
    used: 66.54 GiB (14.5%) fs: ext4 dev: /dev/nvme1n1p1 maj-min: 259:2
    label: GAMES uuid: 9467047a-a0d0-46ff-859d-67a1bfff2456
  ID-5: /home/<filter>/HDD-2TB raw-size: 1.82 TiB size: 1.79 TiB (98.37%)
    used: 1.5 TiB (83.7%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: 2TB-EXT4
    uuid: b9d4d0f9-d1ce-425d-8fe4-e2f830005289
  ID-6: /var/cache raw-size: 448.38 GiB size: 448.38 GiB (100.00%)
    used: 216.03 GiB (48.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
    label: LINUX uuid: 69678a39-1940-48ee-8d02-88e765985137
  ID-7: /var/log raw-size: 448.38 GiB size: 448.38 GiB (100.00%)
    used: 216.03 GiB (48.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
    label: LINUX uuid: 69678a39-1940-48ee-8d02-88e765985137
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 17.09 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:5 label: swap
    uuid: b136d668-4460-4cf7-9211-93b9a5283ab3
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:8008 class-ID: 0900
  Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-7:2 info: [Maxxter] USB GAMING MOUSE type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 18f8:0fc0 class-ID: 0301
  Device-2: 3-8:3 info: SINO WEALTH Gaming KB type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA
    chip-ID: 258a:002a class-ID: 0300
  Hub-6: 4-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 31.0 C mobo: N/A gpu: amdgpu temp: 34.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 193
Info:
  Processes: 395 Uptime: 1m wakeups: 0 Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1765
  pm: pacman pkgs: 1713 libs: 437 tools: pamac pm: flatpak pkgs: 52 Shell: Zsh
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.24

In addition, for test purpose, I logged in with X11 to compare with Wayland and it show much better results, i’d say equivalent to Onlyoffice.

Looks like the issue is related to LibreOffice and Wayland.


I was just about to finish typing a reply to see if this is an issue exclusive to Wayland. :wink:

Which version of LibreOffice is this?

They might have fixed it in the 7.4.x series.

You’ll have to install libreoffice-fresh and remove libreoffice-still if it’s not already the case with your system.

It’s the the LibreOffice default version from flatpak

Why the Flatpak? Why not from the official repository?

The package is libreoffice-fresh

1 Like

I’m slowly moving to flatpaks once I see it is as the future, who create the software manage it. While the devs from distros could concentrate more in other areas, kind of reduced redundancies. Don’t know.

I’m going try the version from repo and reply.

Make sure you launch the correct LibreOffice if you have both the Flatpak and package-base versions installed.

To avoid opening with wrong version I removed flatpak, it’s easy to install anyway.

The repository version is the same as you can see in the image, but fonts are rendering properly now.

Maybe, it takes more time for flatpak to mature.

Thank you for the suggestions.

1 Like

It is a known bug (with a workaround) by the way. The explanation is here: Broken font rendering on KDE without GNOME/GTK portal · Issue #642 · flatpak/xdg-desktop-portal · GitHub

1 Like

Lets wait they fix the issue. I’d prefer to stay with all software as flatpak whenever possible.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.