Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorDeeLight
    • CommentTimeJan 24th 2007 edited
     permalink

    When I write code at home, I use a 24” monitor @ 1920×1200, so I don’t use small fonts, but when I work elsewhere, I like to use smaller fonts, so I can see more of my code with less horizontal scrolling. I’m currently using Dreamweaver to accomplish the task, because their size 8 fonts is inaccurate and it’s actually 7.5. I tried setting 7.5 in MANY other editors, and none let me do this, which is why I still use Dreamweaver at work. Here is an example of how Consolas looks like at 7.5pt with Clear Type enabled:

    http://deelight.net/-/img/permanent/consolas_font_sizes.png

    I’ve also tried other fonts like DejaVu Sans Mono & Andale Mono, and they are both very readable at 7.5pt but not 7pt. I’ve also tried those fonts at 8.5 and it also gives a nice result by keeping the font at either 8 or 9, but changing the horizontal/vertical spacing.

    Would it be possible to include sizes in .5 steps at least for smaller sizes, maybe 6 to 9? ( 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10, 11, 12, 13, ...)

    —edit—
    Also, at size 7.5, the letters are very close to each other, with almost no spacing between them. This gave me an idea for a second suggestion for the preferences dialog: Letter Spacing (-2,-1,0,1,2) Negative values for big font sizes, and positive values for small font sizes.

  1.  permalink

    The font sizes in the combo box are not generated regarding to actual font. I have this in ToDo, so it should help.

    •  
      CommentAuthorFrederick
    • CommentTimeJan 24th 2007
     permalink

    Also, at size 7.5, the letters are very close to each other, with almost no spacing between them. This gave me an idea for a second suggestion for the preferences dialog: Letter Spacing (-2,-1,0,1,2) Negative values for big font sizes, and positive values for small font sizes.

    Why the limitation? A letter-spacing option would be great, but it should ideally be without limitation and also in steps of .5 points, like you suggest for font-size. (Which is a change I’ll also welcome with open arms.)

    • CommentAuthorque
    • CommentTimeJan 24th 2007
     permalink

    Frederick
    0.5 pixel step… hmm.. funny ;)

    •  
      CommentAuthortstrokes
    • CommentTimeJan 24th 2007 edited
     permalink

    Just in case anyone was wondering(probably not).
    The letter spacing is called Kerning.

    •  
      CommentAuthorFrederick
    • CommentTimeJan 24th 2007 edited
     permalink

    tstrokes: I knew that, I was just using the term that was already in use. :)

    que: If we’re setting the kerning in pixels then they’ll of course be atomic and totally indestructible integers :) Hmm, maybe it would be better in em’s though, come to think of it… That’s a nice unit to deal with. But I dunno.

    •  
      CommentAuthortstrokes
    • CommentTimeJan 24th 2007
     permalink

    I yeah I figured that most people knew that.
    Just thought I would throw it out there in case anyone didn’t know.

    •  
      CommentAuthorDeeLight
    • CommentTimeJan 24th 2007
     permalink

    Actually, Kerning is only used in proportional fonts, where you can have an A overlapping a V in VA. Monospaced or proportional fonts don’t use kerning at all, so that’s why I said letter spacing and not kerning.

    Also, I don’t think it’s such a good idea to have letter spacing in .5 steps, since unlike on Mac OS X, the fonts in Windows can’t be moved ½ a pixel, so what this would do is add a 1px spacing every 2 characters. (You could see how this looks, by testing this with CSS’ letter-pacing: 0.5px;)

    To be able to implement .5 letter spacing, Martin would have to write his own font rendering engine…. NOT a good idea :)

    •  
      CommentAuthortstrokes
    • CommentTimeJan 24th 2007
     permalink

    Wow, shows you how much I know. Next time I’ll just keep it to myself.

    • CommentAuthorcorelon
    • CommentTimeJan 25th 2007
     permalink

    tstrokes: I yeah I figured that most people knew that.
    Just thought I would throw it out there in case anyone didn’t know.

    I didn’t! Thanks for sharing :)

    Cheers,
    Nick