unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Help with unicode diacritics
@ 2020-12-28  7:07 Stephen Eglen
  2020-12-28 12:33 ` Skip Montanaro
  2020-12-28 14:34 ` Eli Zaretskii
  0 siblings, 2 replies; 14+ messages in thread
From: Stephen Eglen @ 2020-12-28  7:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

can anyone out here help me with debugging a Unicode font issue? In
particular, I'd like to use the COMBINING OVERLINE (x0305) code to make
"x" with a bar above it (i.e. x bar, to represent the mean of x).

I'm on manjaro arch, with Emacs 27.1.  I wrote the following snippet to
demonstrate the problem. See the line of a character a with various
diacritics under the call to (code) to demonstrate the problem.  Out of
the three fonts I tested, Monaco does the best, but ideally I'd like to
use JuliaMono.  If I view this same file in xfce4-terminal, using
JuliaMono, all the diacritics appear fine.  This makes me suspect Emacs.
On the page: https://damtp.cam.ac.uk/user/sje30/temp/accents.png is what
I see (using EXWM, with emacs rendering on left and xfce-terminal on the
right).

How might I debug further?

The JuliaMono font was installed using the arch package
https://github.com/cormullion/juliamono


Alternatively, does anyone recommend a monospace font with good Unicode
performance in Emacs?

Thanks for any pointers, Stephen


(defun code ()
  "Insert a range of unicode diactrics into buffer."
  (dotimes (i 20)
    (insert "a")
    (insert (+ 769 i))
    (insert " ")
  ))

;; x0301 is code point  (+ (* 3 256) 1) => 769
;; (code)
;; á â ã ā a̅ ă ȧ ä ả å a̋ ǎ a̍ a̎ ȁ a̐ ȃ a̒ a̓ a̔ 

;; Monaco renders ok except a̐
;;  (set-face-attribute 'default nil :font "Monaco")
;;
;; quite a few missing 
;; (set-face-attribute 'default nil :font "JuliaMono")
;;
;; quite a few missing
;; (set-face-attribute 'default nil :font "Roboto Mono")






(emacs-version)
"GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)
 of 2020-08-28"



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-12-30 20:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-28  7:07 Help with unicode diacritics Stephen Eglen
2020-12-28 12:33 ` Skip Montanaro
2020-12-28 13:43   ` Stephen Eglen
2020-12-28 14:48     ` Eli Zaretskii
2020-12-28 16:50   ` Drew Adams
2020-12-28 17:45     ` AproposUnicode (was: Help with unicode diacritics) Janusz S. Bień
2020-12-28 18:11       ` Drew Adams
2020-12-28 18:16         ` AproposUnicode Janusz S. Bień
2020-12-28 18:40           ` AproposUnicode Drew Adams
2020-12-30  9:51     ` Help with unicode diacritics Stephen Eglen
2020-12-30 17:05       ` Janusz S. Bień
2020-12-30 17:50         ` Stephen Eglen
2020-12-30 20:22       ` Eli Zaretskii
2020-12-28 14:34 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).