Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what font do you use for programming?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
PaV
Apprentice
Apprentice


Joined: 28 Jan 2004
Posts: 176
Location: Poland

PostPosted: Mon May 03, 2004 7:48 pm    Post subject: Reply with quote

how do you set those things in vim ? im quite confused searching for that on vim.org. could you post your configs ? thanks !
Back to top
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Mon May 03, 2004 9:33 pm    Post subject: Reply with quote

PaV wrote:
how do you set those things in vim ? im quite confused searching for that on vim.org. could you post your configs ? thanks !


Code:
set guifont=Monospace\ 12
should work for gVim. AFAIK text mode vim just uses the console font supplied to it with no option to change it.
Back to top
View user's profile Send private message
rfujimoto
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 195

PostPosted: Tue May 04, 2004 4:01 am    Post subject: Reply with quote

You just can't go wrong with Bitstream Vera fonts. They are in my opinion one of the best free fonts that I have seen, and rival adobe's commercial fonts. So mark down another for bitstream vera sans mono (or something like that).
Back to top
View user's profile Send private message
mixa
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 133
Location: Finland

PostPosted: Tue May 04, 2004 4:09 am    Post subject: Reply with quote

I use Monospace.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue May 04, 2004 5:08 am    Post subject: Reply with quote

Bitstream Vera Mono - I don't use any other fonts now than the Bitstream Vera set (well, Garamond and the LaTeX fonts for printing). 10pt at 1600×1024 on a 19" monitor gives characters about 4mm high which just feels right - I could cope with a smaller point size but I just don't feel I need to.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Mon May 10, 2004 1:26 pm    Post subject: Fixed TTF Reply with quote

ah, for my gnometerminal I use FixedSYS TTF, 11pt
On some sizes it looks horrible, and I can't get it right in aterm, but with AA in gnometerminal it r0cks :)

it gives you the ms-dos look, now don't start screaming, I just like the font, and has slashed zeros.

ay, forgot to mention, it is the free-downloadable-variant, available here: http://fixedsys.moviecorner.de/

Anne_
Back to top
View user's profile Send private message
sapphirecat
Guru
Guru


Joined: 15 Jan 2003
Posts: 376

PostPosted: Mon May 10, 2004 2:32 pm    Post subject: Reply with quote

PaV wrote:
how do you set those things in vim ?

Like Valen mentioned, console/xterm vim can't change fonts. But GTK and a few other flavors of gvim can make use of the toolkit's font selector:
Code:
:set guifont=*

You can then use :set guifont to see what it is, and add it to ~/.gvimrc for future use.

You can even get unnecessarily clever:
Code:
if has("gui_kde")
        " Possibly obsolete, given it was set when I gave KDE/kvim a shot when 3.1 came out
        set guifont=Courier\ New/9/-1/5/48/0/0/0/1/0
elseif has("gui_gtk2")
        set guifont=Kochi\ Mincho\ 8
else
        set guifont=fixed
endif

_________________
Former Gentoo user; switched to Kubuntu 7.04 when I got sick of waiting on gcc. Chance of thread necro if you reply now approaching 100%...
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 10, 2004 2:45 pm    Post subject: Reply with quote

Slashed zeros? Nah, dotted zeros are the way to go. I dot zeros in my handwriting now, I'm so used to it...
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Mon May 10, 2004 5:57 pm    Post subject: slashed! Reply with quote

slashed! (trying to start a emacs/vi gnome/kde like rant here :p)
no, seriously, I _slash_ my zero's when I write...
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon May 10, 2004 6:13 pm    Post subject: Reply with quote

If I tried that I'd get them confused with the null set "∅"... I cross my 7s though.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Malakai
Apprentice
Apprentice


Joined: 24 Dec 2002
Posts: 299

PostPosted: Mon May 10, 2004 8:30 pm    Post subject: Reply with quote

I use bitstream vera in bluefish, gedit, and vim/gvim on linux, and I also use it in Dev-Cpp on windows.

This font fscking owns all for writing any kind of code <3
Back to top
View user's profile Send private message
ArsDangor
Guru
Guru


Joined: 20 May 2003
Posts: 477

PostPosted: Wed May 12, 2004 7:53 pm    Post subject: Reply with quote

I can't get any of those fonts working under emacs. And I'm really sick of courier-12.
KDE and GTK apps find them, and work OK with them. But emacs (no flames, plz) doesn't find them.
Nor emacs, nor xfontsel, nor xlsfonts.

These are the dirs listed on my /etc/fonts/local.conf:
Code:
        <dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
        <dir>/usr/share/fonts/freefont</dir>
        <dir>/usr/share/fonts/corefonts</dir>
        <dir>/usr/share/fonts/ttf-bitstream-vera</dir>

And FontPath's on /etc/X11/XF86Config:
Code:
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/share/fonts/freefont/"
        FontPath     "/usr/share/fonts/corefonts/"
        FontPath     "/usr/share/fonts/ttf-bitstream-vera/"


I've set up (and stopped) XFS. However I don't manage xfonsel to detect bitstream, andale mono and others.

resin wrote:
Here's a snippet from my .emacs with my color-theme and font choices:
I've tried it too. With no success.

Any help would be appreciated. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum