unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Face issue -- possible bug
@ 2018-07-16 20:49 Joost Kremers
  2018-07-17  2:33 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Joost Kremers @ 2018-07-16 20:49 UTC (permalink / raw)
  To: Emacs-Devel devel

[-- 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

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

end of thread, other threads:[~2018-09-10  8:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-16 20:49 Face issue -- possible bug Joost Kremers
2018-07-17  2:33 ` 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

Code repositories for project(s) associated with this public inbox

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

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).