Wie kann ich das Font-Antialiasing nur für gnome-terminal deaktivieren, nicht aber für andere Anwendungen?

6285
dan

Ich verwende GNOME (gnome-session unter xmonad). Ich möchte das Antialiasing für Schriftarten in gnome-terminal deaktivieren (dh den Monochrom-Modus verwenden). Ich möchte jedoch das Antialiasing für andere Anwendungen wie Firefox beibehalten. Ist das möglich?

Antialiasing ist großartig und fast notwendig für die Verwendung von Firefox oder Chrome. Allerdings verwischen die Schriftarten in gnome-terminal bei Größen um 12 oder kleiner.

Ansonsten muss ich nur xterm verwenden, was die Schriftarten unter keinen Umständen als Anti-Alias ​​zu verwenden scheint.

5
Ich habe das gleiche Problem mit xmonad .. Haben Sie es gelöst? Jakub M. vor 11 Jahren 0

3 Antworten auf die Frage

1
bderrly

Why not try using a decent anti-aliased TrueType monotype font, a la terminus? It looks great at nearly any size. On Ubuntu/Debian the package is named xfonts-terminus.

Es ist kein Antialiasing. Mit Antialiasing (in GNOME 3) sieht es tatsächlich sehr hässlich aus. intelfx vor 9 Jahren 1
0
Algific

Not sure if this actually works, but you could try to use .Xdefaults to configure this. Make a file named .Xdefaults in your home dir. Put in the following:

Xft*antialias: false 

Effects everything!!! Just find the right name, and it should work.

Das hat nicht funktioniert, sorry dan vor 14 Jahren 0
Entschuldigung, repariert es! Und es funktioniert, überprüft! Algific vor 14 Jahren 0
Damit! Das schien alles zu bewirken. Aber diese Datei ist die Antwort! lesen Sie darüber =) Algific vor 14 Jahren 0
0
Sam Liao

As for I only want to use the courier new font size 10 in the terminal, here is how I finally made it. With this way, only courier new 10's antialias is disabled, which makes everything else is the same as before.

And you may get more information from font configuration and this question

<?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font"> <test name="family"> <string>Courier New</string> </test> <test name="size" qual="any" compare="EQ"> <double>10</double> </test> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match> </fontconfig>