unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Artur Malabarba <arturmalabarba@gmail.com>
Cc: 21640@debbugs.gnu.org
Subject: bug#21640: 25.0.50; Fontset-font is never scaled
Date: Wed, 07 Oct 2015 18:45:13 +0300	[thread overview]
Message-ID: <83d1wqel86.fsf@gnu.org> (raw)
In-Reply-To: <CAAdUY-LtXUmAspaUqv=Ed1e+TthHVXH8B0wnx=voFt1cxYwvhQ@mail.gmail.com>

> Date: Wed, 7 Oct 2015 11:52:04 +0100
> From: Artur Malabarba <arturmalabarba@gmail.com>
> 
> I have the following snippet in my init file.
> 
> (set-face-attribute 'default nil :height 100
>                     :font "SourceCodePro Medium")
> (set-fontset-font "fontset-default" nil
>                   (font-spec :size 40 :name "Symbola"))
> 
> On my Ubuntu system, this means any characters no supported by the
> main font (SourceCodePro) will displayed in the Symbola font and
> considerably scaled up in size (good).
> 
> On my Arch GNU/Linux system, the same happens, except the Symbola
> characters are not scaled up in size. By inspecting them with C-u C-x
> = I can verify that the Symbola font is indeed being used:
> 
>    xft:-unknown-Symbola-normal-normal-semicondensed-*-13-*-*-*-*-0-iso10646-1
> (#x1BE3)
> 
> Both are compiled from master.

Is the configuration the same, including the font back-ends?

In general, I think you are getting undefined behavior: you specify a
fixed size of 40 pixels, but expect it to be a kind of "relative"
size?  Is that documented somewhere?

(I never used explicit size parameters in fontsets, so maybe I'm
missing something.)





  reply	other threads:[~2015-10-07 15:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 10:52 bug#21640: 25.0.50; Fontset-font is never scaled Artur Malabarba
2015-10-07 15:45 ` Eli Zaretskii [this message]
2015-10-07 19:14   ` Artur Malabarba
2015-10-07 19:20     ` Eli Zaretskii
2015-10-08  9:25       ` Artur Malabarba
2019-11-17  6:43         ` Lars Ingebrigtsen
2020-04-17 10:31           ` Stefan Kangas

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=83d1wqel86.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21640@debbugs.gnu.org \
    --cc=arturmalabarba@gmail.com \
    /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).