Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I noticed PHP.net changed the font used to show code examples.

Does someone know what this font is?

enter image description here

Updated: I've set my text editor to use Fira Mono as someone kindly pointed out but still why does it not look like the above?

enter image description here

share|improve this question
    
Browsers can sometimes render fonts differently. What OS and browser are you using? –  Brendan Jun 27 at 11:54
    
@Brendan It seems to me like he is trying to recreate the php.net syntax highlighting in his coding application... or partially anyways.. –  Joonas Jun 27 at 12:02

1 Answer 1

up vote 4 down vote accepted

It's called Fira Mono [Examples] [Download]

font-family: "Fira Mono","Source Code Pro",monospace;

Fira Mono

The letterspacing issue is also fixed with CSS:

letter-spacing: -0.0625rem;
word-spacing: -0.125rem;

share|improve this answer
    
Hi, thanks for the font, can you check the question I updated and if you have any suggestion? –  JaySh Jun 27 at 11:09
    
Do you know if it's possible to set such settings in Notepad++? –  JaySh Jun 27 at 11:46
    
It's unlikely that a text editor can alter character spacing. –  Andrew Leach Jun 27 at 11:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.