#282 code typeface should be Courier or any monospace typeface.

out-of-date
nobody
5
2013-06-11
2003-03-01
Brendan
No

Using a font that is not monospace for code is driving me
nuts! A monospace font makes reading code and typing
it a pleasurable experience. Can we change all the code
to a monospace typeface?

Discussion

  • Garvin Hicking

    Garvin Hicking - 2003-03-05

    Logged In: YES
    user_id=473563

    Clarified summary.

     
  • Garvin Hicking

    Garvin Hicking - 2003-03-05
    • summary: code typeface --> (Stylesheets) code typeface
    • labels: --> Interface Improvements
     
  • Brendan

    Brendan - 2003-04-08

    Logged In: YES
    user_id=722829

    Courier is an example of a monospace font. Most (if not all)
    code editors use a monospace font. in a monospace font, very
    key is the same length. so 10 i's and 10 w's will take up the
    same space. One reason why code is more easy to read in
    monospace, is all the spacing lines up. An example of this is
    any indent at the beginning of the line.

     
  • Garvin Hicking

    Garvin Hicking - 2003-04-09

    Logged In: YES
    user_id=473563

    Brendan,

    would you be able to use the current CVS CSS-Layout system and try to integrate this font? You may need to adjust the language-font faces or introduce a new codeface-variable.

    And, of course, you would have to look out for the places, where monospace fonts are needed, like the sql query window, the output of the sql parser and stuff. *g*

    Personally, I'm contend with non-monospaced fonts but agree, that monospaced fonts are generally a good idea (tm)...

    Regards,
    Garvin.

     
  • Garvin Hicking

    Garvin Hicking - 2003-05-14
    • priority: 5 --> 2
     
  • Brendan

    Brendan - 2004-02-24
    • priority: 2 --> 5
    • summary: (Stylesheets) code typeface --> code typeface should be Courier or any monospace typeface.
     
  • Brendan

    Brendan - 2004-02-24

    Logged In: YES
    user_id=722829

    These are the patched files to correct this. I think i a have all
    the files but let me know if it doesnt look right when you
    merge it.

    Btw. I placed <span class=syntax> in front of all the syntax i
    could find. That is, with the exception of the sql history page.
    The history page is not working properly on my browser so
    there isnt much I could do.

    Please also note that the coloured sql places the <span
    class="syntax"> in the page with the colorized functions. It
    would be ideal if it did not do this and every syntax example
    was spanned as it was being displayed or via a generic
    function. Right now the <span> is being inserted in different
    way for the rest of them.

    Cheers

    Brendan

     
  • Brendan

    Brendan - 2004-02-24

    mod files

     
  • Michal Čihař

    Michal Čihař - 2004-05-05

    Logged In: YES
    user_id=192186

    Is is possible to post patch for this to see just what changed?

     
  • Michal Čihař

    Michal Čihař - 2005-10-09

    Logged In: YES
    user_id=192186

    You can create theme of any look you wish and make it
    available, so this is out of date...

     
  • Michal Čihař

    Michal Čihař - 2005-10-09
    • status: open --> closed-out-of-date
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-out-of-date --> out-of-date
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks