Req #66131 [Com]: Inconsistent font sizes

From: Date: Wed, 05 Mar 2014 21:23:34 +0000
Subject: Req #66131 [Com]: Inconsistent font sizes
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-18411@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66131&edit=1 ID: 66131 Comment by: levim@php.net Reported by: mytskine at gmail dot com Summary: Inconsistent font sizes Status: Verified Type: Feature/Change Request Package: Website problem PHP Version: Irrelevant Assigned To: levim Block user comment: N Private report: N New Comment: In my previous comment I said "In the case of font sizes, this is intentional" but meant "In the case of font sizes for code samples, this is intentional" Previous Comments: ------------------------------------------------------------------------ [2014-03-05 21:22:40] levim@php.net In the case of font sizes, this is intentional. For whatever reason, every monospace font I tested was rendered differently in ems across various browsers, but experienced no problems in fixed point fonts. I can re-investigate this to see if I can find a better solution; I am going to move to rem instead of em anyway. ------------------------------------------------------------------------ [2013-11-20 23:51:18] mytskine at gmail dot com Description: ------------ Some fonts size are in relative units (e.g. "1em") while others have a fixed size (e.g. code samples have a size of "14px"). Expected result: ---------------- Coherent font size : plain text and code sample should have roughly the same size. Either fixed sizes for all, or relative sizes for all (preferred). Actual result: -------------- Depending on the default font of the browser, the code samples can be much larger than most of the text on the page (e.g. 14px/9px means a 56% larger code font). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66131&edit=1

« previous php.webmaster (#18411) next »