unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36028: 26.2; Some faces are ignoring rendering settings in fontconfig pattern
@ 2019-05-31 13:32 Tetsumi
  2019-06-04 17:45 ` bug#36028: A native module Tetsumi
  0 siblings, 1 reply; 4+ messages in thread
From: Tetsumi @ 2019-05-31 13:32 UTC (permalink / raw)
  To: 36028

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-22 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 13:32 bug#36028: 26.2; Some faces are ignoring rendering settings in fontconfig pattern Tetsumi
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

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).