all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Sebastian Miele <sebastian.miele@gmail.com>
Cc: 42240@debbugs.gnu.org
Subject: bug#42240: Interpretation of 'size' Property in Fontconfig Pattern Strings
Date: Thu, 16 Jul 2020 17:03:35 +0200	[thread overview]
Message-ID: <m24kq7tsc8.fsf@gmail.com> (raw)
In-Reply-To: <87pn97r2hw.fsf@gmail.com> (Sebastian Miele's message of "Tue, 07 Jul 2020 13:25:15 +0200")

>>>>> On Tue, 07 Jul 2020 13:25:15 +0200, Sebastian Miele <sebastian.miele@gmail.com> said:

    Sebastian> GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
    Sebastian> of 2020-06-28

    Sebastian> According to 'man 5 fonts-conf' the Fontconfig property 'size' is a
    Sebastian> double and represents the point size. The property 'pixelsize', too, is
    Sebastian> a double and represents the pixel size.

Is this a build with or without Cairo? (you snipped the part of the
bug report that would have told us)

    Sebastian> In

    Sebastian>   FC_DEBUG=1 emacs -Q --font=:family=Hack:size=11

    Sebastian> the 'size=11' is interpreted as 'pixelsize=11'.

    Sebastian>   fc-match :family=Hack:size=11 size pixelsize

    Sebastian> does interpret it as point size.

    Sebastian> Apart from that both

    Sebastian>   emacs -Q --font=:family=Hack:size=11.1

    Sebastian> and

    Sebastian>   emacs -Q --font=:family=Hack:pixelsize=11.1

    Sebastian> both yield the same error: "invalid font property: (:size . 11\.1)",
    Sebastian> although according to fontconfig the pixel size is a double, too.
    Sebastian> However, fractional pixel sizes may not make sense for Emacs at all. I
    Sebastian> do not know.

    Sebastian> The following does work as expected:

    Sebastian>   emacs -Q --font=Hack-11.1









  reply	other threads:[~2020-07-16 15:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 11:25 bug#42240: Interpretation of 'size' Property in Fontconfig Pattern Strings Sebastian Miele
2020-07-16 15:03 ` Robert Pluim [this message]
2020-07-16 15:56   ` Sebastian Miele
2020-07-16 16:07     ` Sebastian Miele
2020-07-16 17:03       ` Robert Pluim
2020-07-16 18:10         ` Sebastian Miele
2020-07-16 18:11       ` Sebastian Miele

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=m24kq7tsc8.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=42240@debbugs.gnu.org \
    --cc=sebastian.miele@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 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.