php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71370 Fira Mono ampersand rending issue
Submitted: 2016-01-14 15:12 UTC Modified: 2016-01-18 19:05 UTC
From: dhaupin at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
 [2016-01-14 15:12 UTC] dhaupin at gmail dot com
Description:
------------
There seems to be something broken with the bold "&" character of "Source Code Pro" font used on php.net. When "&" is placed in <code>, within a <strong>, it gets a weight of 700 from CSS. This causes a strange character that looks like a smear to render.

Rando page its on: http://www.php.net/manual/en/language.operators.bitwise.php

Looks like: http://i.imgur.com/jXUiX66.png


Test script:
---------------
<strong class="userinput"><code>&</code></strong>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-14 15:21 UTC] salathe@php.net
-Summary: PHP.net Website Problem +Summary: Source Code Pro ampersand rending issue -Package: Documentation problem +Package: Website problem
 [2016-01-14 15:34 UTC] dhaupin at gmail dot com
Thanks for changing that package. I dunno why but "Website problem" is not available in the list when submitting a new bug.
 [2016-01-14 17:52 UTC] aharvey@php.net
-Status: Open +Status: Feedback
 [2016-01-14 17:52 UTC] aharvey@php.net
What browser and OS are you using?
 [2016-01-14 18:28 UTC] cmb@php.net
-Status: Feedback +Status: Open
 [2016-01-14 18:28 UTC] cmb@php.net
I can reproduce the issue with IE 11, FF 43 and Chrome 47 on
Windows 7.
 [2016-01-14 20:33 UTC] levim@php.net
Well, I took a cursory glance at it on Mac OS X 10.11 in Chrome and Firefox. Could not reproduce there. I'm guessing it has to do with Windows font settings somehow.
 [2016-01-14 22:51 UTC] dhaupin at gmail dot com
Indeed it does seem to be Windows related. All browsers have the symptom that i tried on Win 10. In Nix (Mint 17) (or OS X) its fine.
 [2016-01-15 00:19 UTC] aharvey@php.net
-Summary: Source Code Pro ampersand rending issue +Summary: Fira Mono ampersand rending issue -Status: Open +Status: Feedback
 [2016-01-15 00:19 UTC] aharvey@php.net
(Updating the summary, since we actually use Fira Mono ahead of Source Code Pro.)

I can't reproduce this on a Windows 10 VM or Windows 8.1 box, but we haven't updated our Fira font files for over a year, so I've pulled the latest version of Fira and pushed it to the web/php repository in the hopes that'll help.

Can you try force-refreshing at least a couple of hours from now (to give it time to propagate out to mirrors) and seeing if that fixes the issue, please?
 [2016-01-15 10:36 UTC] cmb@php.net
-Operating System: +Operating System: Windows
 [2016-01-15 10:36 UTC] cmb@php.net
Works fine for me now.
 [2016-01-15 17:41 UTC] aharvey@php.net
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: aharvey
 [2016-01-15 17:41 UTC] aharvey@php.net
Cool, thanks Christoph.

I'll close this as fixed for now. OP, if you're still having trouble, please post a comment and we can have another look.
 [2016-01-18 19:05 UTC] dhaupin at gmail dot com
Looks good on this end now (Win10), thanks all.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC