all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Face issue -- possible bug
Date: Mon, 16 Jul 2018 22:49:18 +0200	[thread overview]
Message-ID: <87o9f6rjn5.fsf@fastmail.fm> (raw)

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

Hi all,

I'm running into an issue with a particular font. I'm not sure if 
this is a problem with Emacs or with the font, so before reporting 
an actual bug, I thought I'd ask here first.

The font I'm having trouble with is Linux Libertine O, which is a 
variable-width font, so it only shows when `variable-pitch-mode` 
is enabled.

The issue occurs with several diacritics of the International 
Phonetic Alphabet[1], which are combining characters. One 
character causing the issue is ̩ COMBINING VERTICAL LINE BELOW 
0x0329. When this character is combined with e.g., n, the result 
is displayed as a (small) capital n with the diacritic, not as an 
lower case n.

The screen show below shows the problem (it's the final letter in 
the word):


[-- Attachment #2: Screenshot from 2018-07-16 22-26-15.png --]
[-- Type: image/png, Size: 66394 bytes --]

[-- Attachment #3: Type: text/plain, Size: 279 bytes --]


This screen shot was taken with `emacs -Q` and executing 
`(set-face-attribute 'variable-pitch nil :height 1.4 :family 
"Linux Libertine O")` at an `IELM` prompt and `M-x 
variable-pitch-mode` in the buffer. To see what the word *should* 
look like, consider this screen shot:


[-- Attachment #4: Screenshot from 2018-07-16 22-27-37.png --]
[-- Type: image/png, Size: 56779 bytes --]

[-- Attachment #5: Type: text/plain, Size: 394 bytes --]


This is also `emacs -Q`, with `(set-face-attribute 'default nil 
:height 110 :foundry "unknown" :family "DejaVu Sans Mono")` and 
`variable-pitch-mode` disabled.

The fact that Emacs displays the word correctly with DejaVu Sans 
Mono seems to suggest that it's not an Emacs problem but rather a 
font problem, but note that the same diacritic with the same font 
displays correctly in a pdf:


[-- Attachment #6: Screenshot from 2018-07-16 22-42-24.png --]
[-- Type: image/png, Size: 28770 bytes --]

[-- Attachment #7: Type: text/plain, Size: 327 bytes --]


(That's a screen shot of the pdf resulting from the LaTeX file in 
the first two screen shots, created with xelatex).

So should this be reported as an Emacs bug, or should I contact 
the font creator?

TIA

Joost



[1] 
<https://en.wikipedia.org/wiki/International_Phonetic_Alphabet>

-- 
Joost Kremers
Life has its moments

             reply	other threads:[~2018-07-16 20:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 20:49 Joost Kremers [this message]
2018-07-17  2:33 ` Face issue -- possible bug Eli Zaretskii
2018-07-17  7:56   ` Joost Kremers
2018-07-17 15:38     ` Eli Zaretskii
2018-07-17 21:23       ` Joost Kremers
2018-07-18 15:25         ` Eli Zaretskii
2018-08-13 21:53           ` Joost Kremers
2018-08-14  2:29             ` Eli Zaretskii
2018-09-10  8:24               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9f6rjn5.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.