From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Mon, 13 Jan 2014 15:18:33 +0100 Subject: [RESEND PATCH 1/1] enable cgit to show gravatar for author, committer and tagger In-Reply-To: References: <1389192811-31573-1-git-send-email-mail@eworm.de> <20140108171507.GA4876@dcvr.yhbt.net> <20140109101830.006cb15d@leda.localdomain> Message-ID: <20140113151833.74d985bf@leda.localdomain> "Jason A. Donenfeld" on Thu, 2014/01/09 16:19: > On Thu, Jan 9, 2014 at 10:18 AM, Christian Hesse wrote: > > You modified the code to make the icon match the font size, which is 10pt > > by default. This is hard coded to the css file. Please note the URL > > includes a size argument. Does it make sense to just retrieve a 10x10 > > pixel image? > > Generally, 10pt is actually 13px, not 10px. I did see the size > argument of the URL, and played with changing this. But I was thinking > that often times, I make the font size slightly bigger, and requesting > the 3px larger image (16px instead of 13px) gives a little bit of > leeway for this sort of forced scaling. For my particular avatar, the > difference winds up being 13 bytes of data. Your avatar (and mine as well) are fine when scaled down. But if there is no avatar on gravatar you get the "arcade-style pixelated faces", which look very fuzzy when scaled by the browser... -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: