X-Loop: help-debbugs@HIDDEN
Subject: bug#42240: Interpretation of 'size' Property in Fontconfig Pattern Strings
Resent-From: Sebastian Miele <sebastian.miele@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 07 Jul 2020 11:26:02 +0000
Resent-Message-ID: <handler.42240.B.159412112332237 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 42240
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 42240 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Reply-To: sebastian.miele@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.159412112332237
(code B ref -1); Tue, 07 Jul 2020 11:26:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Jul 2020 11:25:23 +0000
Received: from localhost ([127.0.0.1]:35581 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1jslj1-0008Ns-6O
for submit <at> debbugs.gnu.org; Tue, 07 Jul 2020 07:25:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:44110)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <sebastian.miele@HIDDEN>) id 1jsliz-0008Nk-1V
for submit <at> debbugs.gnu.org; Tue, 07 Jul 2020 07:25:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43744)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <sebastian.miele@HIDDEN>)
id 1jsliy-0005sc-Ru
for bug-gnu-emacs@HIDDEN; Tue, 07 Jul 2020 07:25:20 -0400
Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39394)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <sebastian.miele@HIDDEN>)
id 1jslix-0005hQ-7T
for bug-gnu-emacs@HIDDEN; Tue, 07 Jul 2020 07:25:20 -0400
Received: by mail-wr1-x42d.google.com with SMTP id q5so44718409wru.6
for <bug-gnu-emacs@HIDDEN>; Tue, 07 Jul 2020 04:25:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=user-agent:from:to:subject:reply-to:message-id:date:mime-version;
bh=fVbY3SAo8H/PMBoWJNWgUwYzGTEI+/ZczFMOzSX92sQ=;
b=hfsCgTQhu726stpvdGffKAKv6NcFt4xT7ISJ2hcU/iJI6V/BAzi8wNR06jfXgunyak
a/Aeh2FldYhMBEIhPmnCgozO6ldxvpYb9h0kq424GoyrAYp/eexd6SbN396bfnDhJYst
dPgM6SwjN1EhC/XtBRaZauHteCoqmNcLka74lqfXMogDPPW+6gx36z0npqVXOVMw0BY/
86Z7VoQY8Xm+xy6OvOiQVuJOSffsy/DimB+jvxuYWbbPe3iRDf/I3lWTPi38KhpgWCcw
DPmV8tl/DGQVmz1Km1peYozA5bxDneg2nxSxl7OZkOsAMKkUfRdHO6xqZO3+dicpYIc2
5+YQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:user-agent:from:to:subject:reply-to:message-id
:date:mime-version;
bh=fVbY3SAo8H/PMBoWJNWgUwYzGTEI+/ZczFMOzSX92sQ=;
b=Wzzn6HXn58KutuUUdyurYecWSrBIA+rifTWVN7zE9sqChv4msWNSeI2S27836jWMTp
rrjC0+AQbkmswgvPtaDIwt2P+o05kRjb9WpnY7w6jaVW2C4EXbTtr6TUJkWB6U2+Wp8N
NoV1OWnCRtSZ1Meoxk3sH5d48+72SDf08b5mn6KK65kjAVFJEvBWAvSSFv3aAcOjHWHA
BOiEiPvnBzandvBsFh2X9vcovBCqB42h2lZf8MYsAXcSZpadooIDOkTvVvYA4Z1nZWn2
M4d0zR3XONxkifGDY2ohKobYwuTDUHDKw34B8kNif6K7dgM4VAE+LPxQoHtB58OPQrIr
EghA==
X-Gm-Message-State: AOAM531JUSNRYTjDu4oZmpk526I/5BeJX+zfOVvGf+1R2hnpxf8VuRmG
W4JfXs4TcpLTD+GUL6ZIvUrLLq8N
X-Google-Smtp-Source: ABdhPJwgGRVQXRoQiz63DShLNQDJv2XJTicq1iLozku06+NRUDAQop9/cjByCDwUTXfZDATSrgMPPA==
X-Received: by 2002:a5d:6ac1:: with SMTP id u1mr52165892wrw.123.1594121116877;
Tue, 07 Jul 2020 04:25:16 -0700 (PDT)
Received: from huette ([5.146.118.181])
by smtp.gmail.com with ESMTPSA id w17sm707827wra.42.2020.07.07.04.25.16
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 07 Jul 2020 04:25:16 -0700 (PDT)
User-agent: mu4e 1.4.10; emacs 27.0.91
From: Sebastian Miele <sebastian.miele@HIDDEN>
Message-ID: <87pn97r2hw.fsf@HIDDEN>
Date: Tue, 07 Jul 2020 13:25:15 +0200
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::42d;
envelope-from=sebastian.miele@HIDDEN; helo=mail-wr1-x42d.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
of 2020-06-28
According to 'man 5 fonts-conf' the Fontconfig property 'size' is a
double and represents the point size. The property 'pixelsize', too, is
a double and represents the pixel size.
In
FC_DEBUG=1 emacs -Q --font=:family=Hack:size=11
the 'size=11' is interpreted as 'pixelsize=11'.
fc-match :family=Hack:size=11 size pixelsize
does interpret it as point size.
Apart from that both
emacs -Q --font=:family=Hack:size=11.1
and
emacs -Q --font=:family=Hack:pixelsize=11.1
both yield the same error: "invalid font property: (:size . 11\.1)",
although according to fontconfig the pixel size is a double, too.
However, fractional pixel sizes may not make sense for Emacs at all. I
do not know.
The following does work as expected:
emacs -Q --font=Hack-11.1
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: sebastian.miele@HIDDEN Subject: bug#42240: Acknowledgement (Interpretation of 'size' Property in Fontconfig Pattern Strings) Message-ID: <handler.42240.B.159412112332237.ack <at> debbugs.gnu.org> References: <87pn97r2hw.fsf@HIDDEN> X-Gnu-PR-Message: ack 42240 X-Gnu-PR-Package: emacs Reply-To: 42240 <at> debbugs.gnu.org Date: Tue, 07 Jul 2020 11:26:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 42240 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 42240: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42240 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.