]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use the bigfont for killnotify; more font size snapping to prevent blurry fonts
authorRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 05:29:03 +0000 (06:29 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 05:29:03 +0000 (06:29 +0100)
defaultXonotic.cfg
qcsrc/client/hud.qc

index 81740dfe89986d8d1da866f44a2e05dd76e886af..d2d2dca6c2ea4d91c66aa422e9fc431ea5364a64 100644 (file)
@@ -2022,7 +2022,7 @@ utf8_enable 1
 // safe font defaults
 r_font_hinting 1
 r_font_disable_freetype 0
-r_font_size_snapping 2
+r_font_size_snapping 8
 
 // database management
 set sv_db_saveasdump 0 "write server.db in dump format (loads slower, easier to read/parse)"
index 2f3ec3b1744eaa7867499279891bf6acbed56904..d489955abd7a27be7f1f5e0054730c61383caf2e 100644 (file)
@@ -3134,6 +3134,8 @@ void HUD_Notify (void)
        if(!autocvar_hud_panel_notify && !autocvar__hud_configure)
                return;
 
+       drawfont = hud_bigfont;
+
        active_panel = HUD_PANEL_NOTIFY;
        HUD_Panel_UpdateCvars(notify);
        vector pos, mySize;
@@ -3424,6 +3426,8 @@ void HUD_Notify (void)
                        }
                }
        }
+
+       drawfont = hud_font;
 }
 
 // Timer (#5)