[RESEND PATCH 1/1] enable cgit to show gravatar for author, committer and tagger

Christian Hesse list at eworm.de
Tue Jan 14 18:35:04 CET 2014


"Jason A. Donenfeld" <Jason at zx2c4.com> on Tue, 2014/01/14 18:23:
> On Tue, Jan 14, 2014 at 6:22 PM, Christian Hesse <list at eworm.de> wrote:
> > Looks better, though not perfect.
> > At least firefox still scales the image a bit.
> 
> Can you investigate the whole "px to pt" situation, line-height, and
> the best way to manage this?

pixels = points * 96 / 72

So for 10pt:

10 * 96 / 72 = 13.333333333333334

The browser scales the image, then keeps the full pixels.

Probably the only way to not have this is to use pixel only for images.
Want a patch?
-- 
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: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140114/c68ec7f7/attachment.asc>


More information about the CGit mailing list