bmroberts1987 / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Get font-family working #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
I expected to see my code in a monospace font, but didn't.

What version of the product are you using? On what operating system?
1.5.1, Firefox

Please provide any additional information below.

To fix, add the following line to the .dp-highlighter ol li,
.dp-highlighter .columns div style in the SyntaxHighlighter.css file:
    font-family: "Consolas", "Courier New", Courier, mono;

Original issue reported on code.google.com by jags...@gmail.com on 12 Sep 2007 at 3:25

GoogleCodeExporter commented 9 years ago
Adding Monaco to the font-family for Mac users would be good too..

Ciao!

Original comment by docw...@gmail.com on 19 Oct 2007 at 2:36

GoogleCodeExporter commented 9 years ago
Actually, you shouldn't need that change.
What browser are you using jagspot?  Can you reproduce this problem with the 
test
pages that ship with SyntaxHighlighter?

Though, there is a bug in the font-family.  It should be:
    font-family: "Consolas", "Monaco", "Courier New", Courier, monospace;

(I added Monaco, changed mono->monospace and removed the useless serif)

Ciao!

Original comment by docw...@gmail.com on 19 Oct 2007 at 3:06

GoogleCodeExporter commented 9 years ago
jagspot:

  Can you give me the browser you're having problems with?  Also the URL or a very
small example page would be very useful, too.

Ciao!

Original comment by docw...@gmail.com on 19 Oct 2007 at 6:42