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

  • Browsers can sometimes render fonts differently. What OS and browser are you using? – Brendan Jun 27 '14 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 '14 at 12:02

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;

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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