GNU bug report logs -
#45557
27.1; Incorrect rendering of COMBINING OVERLINE
Previous Next
Reported by: Stephen Eglen <sje30 <at> cam.ac.uk>
Date: Wed, 30 Dec 2020 17:38:02 UTC
Severity: normal
Tags: notabug
Found in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Wed, 06 Jan 2021 08:08:03 +0530 (IST)
> From: Madhu <enometh <at> meer.net>
>
> 1. emacs -Q -fn Monaco ~/test.txt
> ---------------------
> M-: auto-composition-mode ; => t.
>
> This always gets the first line "wrong":
>
> LATIN SMALL LETTER X
> display: by this font (glyph code)
> ftcrhb:-APPL-Monaco-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x5B)
> +
> COMBINING OVERLINE
> display: by this font (glyph code)
> ftcrhb:-SIL -Charis SIL-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x8C
>
> Those are *not* composeḍ.
They are not composed because Emacs didn't find a glyph in the Monaco
font for the COMBINING OVERLINE character. Emacs only composes
characters if they have glyphs in the same font.
> 2. M-: (set-frame-font "JuliaMonoLatin-14:hintstyle=none" nil nil)
> ----------------
>
> - Everything should look the same except the first line is rendered in
> Julia mono. The x and the overbar are still not composed.
For the same reason.
(On my system, with a different font, they _are_ composed.)
> 3. M-x auto-composition-mode ; to toggle
> ----------------
> ;; Auto-Composition mode disabled in current buffer
> M-: auto-composition-mode ; => nil
>
> and voilà! Now the first line is rendered "correctly" with x and
> overbar composed and the second line is now incorrect: the k + s
> appear decomposed.
This can only happen if some other software involved in the display
(Cairo?) composes them. In any case, this is not an Emacs issue.
> 4. emacs -Q -fn JuliaMono test.txt
>
> Then it all works as I think it was intended.
Which might mean the hintstyle=none may be a factor here?
Anyway, I see no Emacs problems in your description, only font
problems. The text you sent is displayed correctly on my system, both
of its lines.
This bug report was last modified 4 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.