Public bug reported:

Ubuntu release: Ubuntu 24.04 LTS (Noble Numbat) Package: fonts-ricty-
diminished Version: 4.1.1-4

Problem description

The backtick character (U+0060 GRAVE ACCENT) overlaps with the following
character when rendered.

For example, the following text:

---
`a `b `c
---

is rendered with each backtick overlapping the character that follows
it. In particular, `a may visually resemble à.

This is a rendering issue, not a character conversion.

Steps to reproduce

1. Install fonts-ricty-diminished.
2. Open a text editor that allows selecting a specific font.
3. Select Ricty Diminished.
4. Enter the following text:

---
`a `b `c
---

5. Observe that the characters following the backticks overlap with
them.

Expected behavior

The backtick should be rendered independently, without overlapping the
following character.

Actual behavior

The character following the backtick overlaps with it.

Proposed fix

A FontForge-based correction for this problem has been shared by
multiple users on Japanese-language web pages.

The following FontForge script corrects the glyph classification:

---
Open($1)

Select(0u0060)
SetGlyphClass("base")

Generate($1)
---

I have confirmed that applying this correction to Ricty Diminished 4.1.1
resolves the rendering problem.

Packaging proposal

I tested the correction using FontForge 20230101 (build date:
2024-03-31) on Ubuntu 24.04 LTS.

The script can be saved as debian/fix-ricty.pe and executed against a
TTF file as follows:

---
fontforge -script debian/fix-ricty.pe RictyDiminished-Regular.ttf
---

In debian/rules, the following override provides an example of applying
the script to the installed TTF files:

---
override_dh_install:
        dh_install
        find debian/fonts-ricty-diminished -type f -iname '*.ttf' -exec \
                fontforge -script debian/fix-ricty.pe {} \;
---

The fontforge-nox package could be added to Build-Depends to provide
FontForge.

Long-term maintenance

Although upstream development has ended, this issue can be addressed
with a small change to the Ubuntu packaging. I hope Ubuntu will continue
to provide and maintain this package.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: fonts-ricty-diminished 4.1.1-4
ProcVersionSignature: Ubuntu 7.0.0-43.43~24.04.1-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 21 19:32:20 2026
Dependencies:
 
InstallationDate: Installed on 2025-10-12 (405 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
PackageArchitecture: all
ProcEnviron:
 LANG=ja_JP.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: fonts-ricty-diminished
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: fonts-ricty-diminished (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

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

Title:
  backtick (U+0060) causes subsequent characters to overlap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-ricty-diminished/+bug/2175461/+subscriptions


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

Reply via email to