Req #66131 [Ver->Csd]: Inconsistent font sizes

From: Date: Fri, 14 Mar 2014 14:26:40 +0000
Subject: Req #66131 [Ver->Csd]: Inconsistent font sizes
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-18480@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 Updated by: levim@php.net Reported by: mytskine at gmail dot com Summary: Inconsistent font sizes -Status: Verified +Status: Closed Type: Feature/Change Request Package: Website problem PHP Version: Irrelevant Assigned To: levim Block user comment: N Private report: N New Comment: This should be fixed with the conversion from em to rem. See this commit: https://github.com/php/web-php/commit/ae01ce157383dcf7b763c66cc50a6c1c72ed4238 There are a few commits afterwards that do minor cleanup but everything seems to integrate better. Previous Comments: ------------------------------------------------------------------------ [2014-03-05 21:23:34] levim@php.net 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" ------------------------------------------------------------------------ [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 (#18480) next »