View previous topic :: View next topic |
Author |
Message |
Hammett Apprentice
Joined: 26 Jan 2005 Posts: 231 Location: Barcelona, Catalonia
|
Posted: Sun Apr 14, 2024 8:10 am Post subject: Fonts not anti-aliased in Wayland |
|
|
Hi all,
Does anybody find that in Wayland fonts are not anti-aliased? This is specially true in monospaced fonts in terminals.
I have tried dwl and sway compositors and st (xwayland), foot and alacritty terminals. All 3 have the same issue on both compositors.
On X11 (dwm) and st terminal, fonts are looking good...
Thanks!
Kind regards, _________________ I don't fear the people. I fear the demon inside them. |
|
Back to top |
|
|
xgivolari Tux's lil' helper
Joined: 26 Jul 2021 Posts: 78
|
Posted: Sun Apr 14, 2024 1:07 pm Post subject: |
|
|
Might be an issue with fontconfig that gets papered over by X11-specific font handling. What does the command "fc-match -v monospace | grep antialias" return? |
|
Back to top |
|
|
Hammett Apprentice
Joined: 26 Jan 2005 Posts: 231 Location: Barcelona, Catalonia
|
Posted: Sun Apr 14, 2024 2:27 pm Post subject: |
|
|
xgivolari wrote: | Might be an issue with fontconfig that gets papered over by X11-specific font handling. What does the command "fc-match -v monospace | grep antialias" return? |
Hi,
I thought that too, but fontconfig seems to be alright.
Code: | [hammett][/home/hammett]$ fc-match -v monospace
Pattern has 43 elts (size 48)
family: "Victor Mono"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "Victor Mono Regular"(w)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(f)(s)
width: 100(f)(s)
size: 12(f)(s)
pixelsize: 12.5(f)(s)
spacing: 100(i)(s)
foundry: "UKWN"(s)
antialias: True(w)
hintstyle: 2(i)(w)
hinting: True(s)
verticallayout: False(s)
autohint: False(s)
globaladvance: True(s)
file: "/home/hammett/.local/share/fonts/VictorMono-Regular.ttf"(s)
index: 0(i)(w)
outline: True(s)
scalable: True(s)
dpi: 75(f)(s)
rgba: 1(i)(w)
scale: 1(f)(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffcfffff 7ef3cfff ffff3dfe 7fffffff 00040000 00018003 1fffe000 00000000
0002: 0f000000 00800000 00000000 00000000 00000000 10000000 3f0000c0 00000000
0003: 08041fdf 000001c8 00000000 40300000 ffffd7f0 fffffffb 0080ffff 00000000
0004: ffffffff ffffffff ffffffff 003f0cfc ffffc000 ffffffff ffffffff 33ffffff
0005: 300f0003 000000f0 00000000 00000000 00000000 00000000 00000000 00000000
001e: 00000000 00000000 00000000 00000000 4000003f ffffffff ffffffff 03ffffff
0020: 77380000 16010047 00000010 fff30000 1fff7fff 00001018 00000000 00000000
0021: 00000000 00000004 ffff0000 00000000 03ff0200 00000000 00140000 00000000
0022: 440683ad 00000f80 00000100 00000033 000000fc 00000000 00000000 00000000
0023: 00000f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0025: ffffffff ffffffff ffffffff ffffffff ffffffff 00000000 00000400 00000000
0026: 00000000 00000000 00000005 00000000 00000000 00000000 00000000 00000000
0027: 00400000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a6: 00000000 00000000 c0000000 00000000 00000000 00000000 00000000 00000000
00e0: 00000000 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
(s)
lang: aa|ab|av|ay|ba|be|bg|bi|bin|br|bs|bua|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|ho|hr|
h|sk|sl|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr
fontversion: 99614(i)(s)
capability: "otlayout:DFLT otlayout:cyrl otlayout:latn"(w)
fontformat: "TrueType"(s)
embeddedbitmap: True(s)
decorative: False(s)
lcdfilter: 1(i)(w)
namelang: "en"(s)
prgname: "fc-match"(s)
postscriptname: "VictorMono-Regular"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: True(s)
order: 0(i)(s)
embeiddedbitmap: True(w) |
Font has antialias, hint and lcdfilter _________________ I don't fear the people. I fear the demon inside them. |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 325 Location: Naarm/Melbourne, Australia
|
Posted: Mon Apr 15, 2024 12:33 am Post subject: |
|
|
Please share the output of `eselect fontconfig list`. The resulting output will indicate which configuration files are enabled by marking them with an asterisk, `*`. |
|
Back to top |
|
|
Hammett Apprentice
Joined: 26 Jan 2005 Posts: 231 Location: Barcelona, Catalonia
|
Posted: Thu Apr 18, 2024 9:00 am Post subject: |
|
|
flexibeast wrote: | Please share the output of `eselect fontconfig list`. The resulting output will indicate which configuration files are enabled by marking them with an asterisk, `*`. |
Apologies for the late reply.
Fontconfig is fine, I have no issues with fonts under X11. Nonetheless, here's the fontconfig info:
Code: | Available fontconfig .conf files (* is enabled):
[1] 05-reset-dirs-sample.conf
[2] 09-autohint-if-no-hinting.conf
[3] 10-autohint.conf
[4] 10-hinting-full.conf
[5] 10-hinting-medium.conf *
[6] 10-hinting-none.conf
[7] 10-hinting-slight.conf
[8] 10-no-antialias.conf
[9] 10-powerline-symbols.conf
[10] 10-scale-bitmap-fonts.conf *
[11] 10-sub-pixel-bgr.conf
[12] 10-sub-pixel-none.conf
[13] 10-sub-pixel-rgb.conf *
[14] 10-sub-pixel-vbgr.conf
[15] 10-sub-pixel-vrgb.conf
[16] 10-unhinted.conf
[17] 10-yes-antialias.conf *
[18] 11-lcdfilter-default.conf *
[19] 11-lcdfilter-legacy.conf
[20] 11-lcdfilter-light.conf
[21] 20-unhint-small-vera.conf
[22] 25-unhint-nonlatin.conf
[23] 30-metric-aliases.conf *
[24] 35-lang-normalize.conf
[25] 40-nonlatin.conf *
[26] 43-wqy-zenhei-sharp.conf
[27] 44-wqy-zenhei.conf
[28] 45-generic.conf
[29] 45-latin.conf *
[30] 48-spacing.conf *
[31] 49-sansserif.conf *
[32] 50-user.conf
[33] 51-local.conf *
[34] 59-google-droid-sans.conf
[35] 59-google-droid-sans-mono.conf
[36] 59-google-droid-serif.conf
[37] 60-generic.conf *
[38] 60-latin.conf *
[39] 60-liberation.conf
[40] 61-urw-bookman.conf
[41] 61-urw-c059.conf
[42] 61-urw-d050000l.conf
[43] 61-urw-fallback-backwards.conf
[44] 61-urw-fallback-generics.conf
[45] 61-urw-fallback-specifics.conf
[46] 61-urw-gothic.conf
[47] 61-urw-nimbus-mono-ps.conf
[48] 61-urw-nimbus-roman.conf
[49] 61-urw-nimbus-sans.conf
[50] 61-urw-p052.conf
[51] 61-urw-standard-symbols-ps.conf
[52] 61-urw-z003.conf
[53] 65-fonts-persian.conf
[54] 65-khmer.conf
[55] 65-nonlatin.conf *
[56] 69-unifont.conf *
[57] 70-no-bitmaps.conf
[58] 70-yes-bitmaps.conf
[59] 80-delicious.conf
[60] 90-synthetic.conf |
_________________ I don't fear the people. I fear the demon inside them. |
|
Back to top |
|
|
|