Menu

Comic Sans Serif isn't funny! (FAQ is wrong)

2007-02-08
2012-11-13
  • Amir E. Aharoni

    Amir E. Aharoni - 2007-02-08

    Notepad++ is wonderful. It is my editor of choice for text files and programming in Perl, Java, HTML and even VB.NET.

    There's only one bad thing about Notepad++ and it is the Comic Sans Serif font for comments.

    The first question in the "general" section of the FAQ is "How can I set all the fonts under Notepad++ as mono-space font". I am really sorry about the gruffness, but maybe it should give you a hint - programmers love their code in a monospace font.

    What makes things worse is that the answer to that FAQ doesn't work in version 4.01 and i have to go over every language that i use (C, HTML, C#, Java, Perl, ini, Python etc.) and change the font.

    I promise that the second i'll see a version in which Comic Sans Serif is not the default, i'll give you a well-deserved donation.

    Thanks for understanding.

     
    • kismert

      kismert - 2007-02-12

      Thanks for the tip, Buz! Worked for me.

      For comments, I use Lucida Console (my old eyes prefer 9 point)

      BTW, the stylers.xml file N++ 4.0.1 uses can be found in:

      \Documents and Settings\YOUR_LOGIN_NAME\Application Data\Notepad++

      -Ken

       
    • Nobody/Anonymous

      I agree, the choice of font for comments is *very* annoying.
      What I do is open "stylers.xml" in the directory where notepad++
      saves its settings ( "[homedir]\Anwendungsdaten\Notepad++" on my german system )
      and make a "find/replace" for the font name. Quick & dirty, but it works.

      Otherwise, n++ is a great piece of software, thanks to the developers.

       
    • Nobody/Anonymous

      You have to remember to do a search and replace on font sizes too, since comments have that too. It's really annoying to have to do this whenever I install Notepad++ on a new PC.

       
    • Omegatron

      Omegatron - 2007-02-10

      Seriously.  This is the most irritating aspect of this otherwise great program.  I keep removing it, and it keeps coming back when I re-install.  I don't know why the developer can't just use default font settings (consistently sized monospace) that actually make sense for the majority of Notepad++ users (coders), and leave the crappy cartoon fonts for the small number of people who actually want them (if such people actually exist).

      I'll try the stylers.xml trick

       
    • Omegatron

      Omegatron - 2007-02-10

      I went through C:\Program Files\Notepad++\stylers.xml and changed all

      fontName="Comic Sans MS" --> fontName=""

      fontSize="." and fontSize=".." --> fontSize=""

      But my fonts still look dumb.  What else do I need to do?

       
    • Buz Carter

      Buz Carter - 2007-02-11

      Agreed, all true (but donate anyway, this program merits support IMHO)

      Run replace with this regular expression (in stylers.xml):

      Find what: fontName="Comic Sans MS" fontStyle="[0-9]"
      Replace with: fontName="Dina" fontStyle="8"

      As defaults, fonts designed for programmers would be dandy, Dina and Proggy come to mind:

      http://www.dafont.com/dina.font
      http://www.proggyfonts.com/

      http://www.donationcoder.com/Software/Jibz/Dina/index.html

      Easily scannable as zeros don't look like capital ohs etc.

       
    • Buz Carter

      Buz Carter - 2007-02-11

      apologies, fat fingered the regex, should be fontSize="8".

      ooops

      sorry.

       
    • Buz Carter

      Buz Carter - 2007-02-11

      Find what:
      fontName="Comic Sans MS" +fontStyle="([0-9]*)" +fontSize="[0-9]*"

      Replace with:
      fontName="Dina" fontStyle="\1" fontSize="8"

       
    • Nobody/Anonymous

      I put Courier New in here and I see comments in this font in all the languages I use:

      <GlobalStyles>
      <!-- Attention : Don't modify the name of styleID="0" -->
          <WidgetStyle name="Default Style" styleID="32" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
          <WidgetStyle name="Indent guideline style" styleID="37" fgColor="C0C0C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
          <WidgetStyle name="Brace highlight style" styleID="34" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
          <WidgetStyle name="Bad brace colour" styleID="35" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
          <WidgetStyle name="Current line background colour" styleID="0" bgColor="E8E8FF" />
          <WidgetStyle name="Mark colour" styleID="0" fgColor="C00000" bgColor="FFFF00" />
          <WidgetStyle name="Selected text colour" styleID="0" bgColor="C0C0C0" />
          <WidgetStyle name="Caret colour" styleID="2069" fgColor="8000FF" />
          <WidgetStyle name="Find Mark Style" styleID="31" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="1" fontSize="" />
          <WidgetStyle name="Edge colour" styleID="0" fgColor="80FFFF" />
          <WidgetStyle name="Line number margin" styleID="33" fgColor="808080" bgColor="E4E4E4" fontName="" fontStyle="0" fontSize="" />
          <WidgetStyle name="Fold" styleID="0" fgColor="808080" bgColor="F3F3F3" />
          <WidgetStyle name="Fold margin" styleID="0" fgColor="FFFFFF" bgColor="E9E9E9" />
      </GlobalStyles>

       
Auth0 Logo