unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Alexandrov <321942@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25216@debbugs.gnu.org
Subject: bug#25216: 26.0.50 [regression]; Curly quotes are not found in some sizes of ‘Terminus’ font
Date: Tue, 20 Dec 2016 05:51:04 +0300	[thread overview]
Message-ID: <87inqfz52f.fsf@gmail.com> (raw)
In-Reply-To: <834m1z6gkp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 19 Dec 2016 18:15:18 +0200")

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

>>    (set-fontset-font "-*-Terminus-*-fontset-startup"
>>                      '(0 . #x3FFFFF)
>>                      "Terminus")
>> 
>> Looks very much like (setq a a), but works like a charm!
>
> Are you sure this doesn't get in the way when you want to display a
> character not supported by that font?

No, I am not.  But how it could if I did mess with ‘fontset-default’?  Anyway, let us consider that example:

| Unicode charset: “Eĥoŝanĝo ĉiuĵaŭde”, “Γειά σας”, “שלום”, “Здравствуйте!”

Before (note that the fallback font is inconsistent even linewise — the first opening quote is different from others):


[-- Attachment #2: 93.png --]
[-- Type: image/png, Size: 1694 bytes --]

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


After:


[-- Attachment #4: 94.png --]
[-- Type: image/png, Size: 1678 bytes --]

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


It looks like the way it should be — first try the current fonset, only then fallback to ‘fontset-default’.

> And I still don't understand why you need that.  AFAICS, Emacs
> explicitly tries to use the default font for punctuation and symbol
> characters before falling back on looking up other fonts.

Do you mean that you could not reproduce this?

I’ve installed the lastest upstream version of Terminus [0] — and got the same issue.  So it does not seem to be Debian-specific.

[0] https://sourceforge.net/projects/terminus-font/files/terminus-font-4.40/

  reply	other threads:[~2016-12-20  2:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-17  1:03 bug#25216: 26.0.50 [regression]; Curly quotes are not found in some sizes of ‘Terminus’ font Dmitry Alexandrov
2016-12-17  8:18 ` Eli Zaretskii
2016-12-17  9:33   ` Dmitry Alexandrov
2016-12-17 11:02     ` Eli Zaretskii
2016-12-19  3:17       ` Dmitry Alexandrov
2016-12-19  3:42         ` Eli Zaretskii
2016-12-19  4:52           ` Dmitry Alexandrov
2016-12-19 16:11             ` Eli Zaretskii
2016-12-19  3:44         ` Eli Zaretskii
2016-12-19  4:53           ` Dmitry Alexandrov
2016-12-19 17:46             ` Eli Zaretskii
2016-12-19  6:14           ` Dmitry Alexandrov
2016-12-19 16:15             ` Eli Zaretskii
2016-12-20  2:51               ` Dmitry Alexandrov [this message]
2016-12-20  3:34                 ` Eli Zaretskii
2016-12-31  5:56                   ` Dmitry Alexandrov
2016-12-31  8:57                     ` Eli Zaretskii
2019-11-17  7:41                       ` Lars Ingebrigtsen
2019-11-17  8:38                         ` Dmitry Alexandrov
2019-11-17 16:01                           ` Eli Zaretskii
2019-11-20 15:01                             ` Dmitry Alexandrov
2019-11-25 16:16                               ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87inqfz52f.fsf@gmail.com \
    --to=321942@gmail.com \
    --cc=25216@debbugs.gnu.org \
    --cc=eliz@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 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).