From: Tetsumi <tetsumi@protonmail.com>
To: 36028@debbugs.gnu.org
Subject: bug#36028: 26.2; Some faces are ignoring rendering settings in fontconfig pattern
Date: Fri, 31 May 2019 13:32:46 +0000 [thread overview]
Message-ID: <L4ZQK7EcdZVZA1igjuxCgi1eq4rBGmS7ungdZdZfmfaOCXlIySK3EDyVGXchTRQglKy2CWj0p-bXDDVOcGDePD86dbCAv6ESkY2-W6kKeao=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
Hi,
Some faces like 'bold, 'italic, or 'bold-italic are ignoring font rendering settings
when setting a font through a font-config pattern.
For example,
(set-frame-font "Ubuntu Mono-12:antialias=true:lcdfilter=lcddefault" t nil)
The settings antialias and lcdfilter have no effect on the aforementioned faces.
Another more explicit example,
; alternating between these two lines turns on/off aliasing for the default face
(set-face-font 'default "Ubuntu Mono-12:antialias=true:lcdfilter=lcddefault")
(set-face-font 'default "Ubuntu Mono-12:antialias=false:lcdfilter=lcdnone")
; alternating between these two lines has no effect at all.
(set-face-font 'bold "Ubuntu Mono-12:bold:antialias=true:lcdfilter=lcddefault")
(set-face-font 'bold "Ubuntu Mono-12:bold:antialias=false:lcdfilter=lcdnone")
It shall be noted that Xresources settings (eg: Xft.antialias) are not ignored by the
aforementioned faces.
[-- Attachment #2: Type: text/html, Size: 1355 bytes --]
next reply other threads:[~2019-05-31 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 13:32 Tetsumi [this message]
2019-06-04 17:45 ` bug#36028: A native module Tetsumi
2019-06-04 18:31 ` Eli Zaretskii
2021-06-22 14:21 ` bug#36028: 26.2; Some faces are ignoring rendering settings in fontconfig pattern Lars Ingebrigtsen
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='L4ZQK7EcdZVZA1igjuxCgi1eq4rBGmS7ungdZdZfmfaOCXlIySK3EDyVGXchTRQglKy2CWj0p-bXDDVOcGDePD86dbCAv6ESkY2-W6kKeao=@protonmail.com' \
--to=tetsumi@protonmail.com \
--cc=36028@debbugs.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).