From: Severin Meyer Date: Tue, 11 Oct 2016 14:12:03 +0000 (+0200) Subject: Slightly adjust font sizes and positions in badges X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d4149703a94ad66e9736549a2a1642eb3892e87;p=xonotic%2Fxonstat.git Slightly adjust font sizes and positions in badges --- diff --git a/xonstat/batch/badges/gen_badges.py b/xonstat/batch/badges/gen_badges.py index d0d6fb2..40b81fd 100644 --- a/xonstat/batch/badges/gen_badges.py +++ b/xonstat/batch/badges/gen_badges.py @@ -59,7 +59,7 @@ skin_minimal = Skin( "minimal", width = 560, height = 40, nick_fontsize = 16, - nick_pos = (36,16), + nick_pos = (36,17), num_gametypes = 3, nick_maxwidth = 280, gametype_pos = (70,30), @@ -81,14 +81,14 @@ skin_minimal = Skin( "minimal", #nostats_text = "no stats yet!", #nostats_color = (0.7, 0.4, 0.4), kdr_pos = (392,15), - kdr_fontsize = 10, + kdr_fontsize = 11, kdr_colortop = (0.6, 0.8, 0.6), kdr_colormid = (0.6, 0.6, 0.6), kdr_colorbot = (0.8, 0.6, 0.6), kills_pos = None, deaths_pos = None, winp_pos = (508,15), - winp_fontsize = 10, + winp_fontsize = 11, winp_colortop = (0.6, 0.8, 0.8), winp_colormid = (0.6, 0.6, 0.6), winp_colorbot = (0.8, 0.8, 0.6), diff --git a/xonstat/batch/badges/skin.py b/xonstat/batch/badges/skin.py index 3b5b13b..4a90c44 100644 --- a/xonstat/batch/badges/skin.py +++ b/xonstat/batch/badges/skin.py @@ -66,8 +66,8 @@ class Skin: 'font': "Xolonium", 'width': 560, 'height': 70, - 'nick_fontsize': 20, - 'nick_pos': (52,18), + 'nick_fontsize': 22, + 'nick_pos': (53,21), 'nick_maxwidth': 270, 'gametype_fontsize':10, 'gametype_pos': (101,33), @@ -99,18 +99,18 @@ class Skin: 'wintext_color': (0.8, 0.8, 0.8), 'wintext_text': "Win Percentage", 'wintext_align': 0, - 'winp_fontsize': 12, + 'winp_fontsize': 15, 'winp_pos': (508,19), 'winp_colortop': (0.2, 1.0, 1.0), 'winp_colormid': (0.4, 0.8, 0.4), 'winp_colorbot': (1.0, 1.0, 0.2), 'winp_align': 0, 'wins_fontsize': 8, - 'wins_pos': (508,33), + 'wins_pos': (508,34), 'wins_color': (0.6, 0.8, 0.8), 'wins_align': 0, 'loss_fontsize': 8, - 'loss_pos': (508,43), + 'loss_pos': (508,44), 'loss_color': (0.8, 0.8, 0.6), 'loss_align': 0, 'kdtext_fontsize': 10, @@ -120,18 +120,18 @@ class Skin: 'kdtext_bg': (0.8, 0.8, 0.8, 0.1), 'kdtext_text': "Kill Ratio", 'kdtext_align': 0, - 'kdr_fontsize': 12, + 'kdr_fontsize': 15, 'kdr_pos': (392,19), 'kdr_colortop': (0.2, 1.0, 0.2), 'kdr_colormid': (0.8, 0.8, 0.4), 'kdr_colorbot': (1.0, 0.2, 0.2), 'kdr_align': 0, 'kills_fontsize': 8, - 'kills_pos': (392,33), + 'kills_pos': (392,34), 'kills_color': (0.6, 0.8, 0.6), 'kills_align': 0, 'deaths_fontsize': 8, - 'deaths_pos': (392,43), + 'deaths_pos': (392,44), 'deaths_color': (0.8, 0.6, 0.6), 'deaths_align': 0, 'ptime_fontsize': 10,