Public bug reported:

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)

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "Screenshot of a document with spaces and punctuation 
shown as boxes"
   
https://bugs.launchpad.net/bugs/1847126/+attachment/5295176/+files/Old%20Hungarian%20text%20sample.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847126

Title:
  Glyphs for space and basic punctuation not substituted from other
  fonts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1847126/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to