Thanks for your advice. I did what you suggested and everything worked as expected. After some experimentation, I think I found the cause of the problem, too: What I had previously installed on my system was the full font package called "OldHungarian_0.5.zip" available on Github under "Releases". This package contains two different TTF fonts with different file names (OldHungarian.ttf and OldHungarian_Full.ttf) but with identical font names (OldHungarian). The latter includes Latin punctuation, the former doesn't. Now as both fonts were installed in the same folder /usr/local/share/fonts/, it created some sort of conflict, so that LO thought the glyphs for punctuation were there although in reality it used the non-full version for display. If I remove either one of the font files or copy only the full version to my own ~/.fonts folder, things work fine. If I copy only the non-full version to my local folder but leave copies of both in the system-wide folder, I get the same behavior as in my initial report. So an easy workaround is available and seems that the underlying problem is different from what I initially thought.
Now back to the underlying issue: Any thoughts on whether the way the system handles the font conflict is a LO issue or e.g. Gnome or X11? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1847126 Title: Glyphs for space and basic punctuation not substituted from other fonts Status in libreoffice package in Ubuntu: Incomplete Bug description: I recently noticed a regression in how LibreOffice Writer handles font substitutions for basic ASCII punctuation including space (U+0020). For test purposes, I wrote a document in the Old Hungarian script and used a font called "OldHungarian" from https://github.com/OldHungarian /old-hungarian-font to display the text. The font is designed to cover only the characters in the Old Hungarian block (U+10C80 to U+10CFF) plus a couple of punctuation marks that might not be available in all fonts such as ⹁ (U+2E41 REVERSED COMMA) and ⹂ (U+2E42 DOUBLE LOW- REVERSED-9 QUOTATION MARK). The font doesn't include glyphs for anything else such as basic Latin letters or Latin punctuation. Normally, LibreOffice is supposed to find substitute glyphs for characters that are not included in the current font but for some reason it fails to do so with the OldHungarian font for all the basic punctuation from U+0020 (SPACE) to U+002F (SOLIDUS), U+003A (COLON) to U+0040 (COMMERCIAL AT) and U+007B (LEFT CURLY BRACKET) to U+007E (TILDE). Latin letters a-z and A-Z as well as numbers 0-9 work fine. See the attached screenshot, where I've included a sentence in English in the middle of Old Hungarian text and set OldHungarian as the font for the whole selection. English letters show up ok as well as spaces in between them. Spaces and punctuation between words in the Old Hungarian script show up as boxes. I don't use Old Hungarian on a daily basis, so I don't know exactly when this regression happened but I'm sure things worked as expected when I submitted bug #1804657 https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1804657 for 6.1.3.2 (installed as a snap). Now the problem occurs on both 6.0.7.3 installed from Ubuntu 18.04 repositories and on 6.3.2.2 installed as a snap from the stable channel (relase 151). For the regular install: Description: Ubuntu 18.04.3 LTS Release: 18.04 libreoffice-writer:amd64/bionic-security 1:6.0.7-0ubuntu0.18.04.10 uptodate libreoffice-writer: Installed: 1:6.0.7-0ubuntu0.18.04.10 Candidate: 1:6.0.7-0ubuntu0.18.04.10 Version table: *** 1:6.0.7-0ubuntu0.18.04.10 500 500 http://mr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 1:6.0.3-0ubuntu1 500 500 http://mr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages Version: 6.0.7.3 Build ID: 1:6.0.7-0ubuntu0.18.04.10 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); Calc: group For the snap: libreoffice 6.3.2.2 151 stable canonical✓ - Version: 6.3.2.2 Build ID: libreoffice-6.3.2.2-snap1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US Calc: threaded ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libreoffice-writer 1:6.0.7-0ubuntu0.18.04.10 ProcVersionSignature: Ubuntu 4.15.0-64.73-generic 4.15.18 Uname: Linux 4.15.0-64-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Oct 7 16:13:01 2019 InstallationDate: Installed on 2017-02-13 (966 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=fi_FI.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: Upgraded to bionic on 2018-05-31 (493 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1847126/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp