View previous topic :: View next topic |
Author |
Message |
PaV Apprentice
Joined: 28 Jan 2004 Posts: 176 Location: Poland
|
Posted: Mon May 03, 2004 7:48 pm Post subject: |
|
|
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 |
|
|
Valen Apprentice
Joined: 18 Aug 2002 Posts: 197 Location: Toronto, Ontario, Canada
|
Posted: Mon May 03, 2004 9:33 pm Post subject: |
|
|
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 |
|
|
rfujimoto Apprentice
Joined: 22 Mar 2004 Posts: 195
|
Posted: Tue May 04, 2004 4:01 am Post subject: |
|
|
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 |
|
|
mixa Tux's lil' helper
Joined: 05 Mar 2004 Posts: 133 Location: Finland
|
Posted: Tue May 04, 2004 4:09 am Post subject: |
|
|
I use Monospace. |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Tue May 04, 2004 5:08 am Post subject: |
|
|
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 |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Mon May 10, 2004 1:26 pm Post subject: Fixed TTF |
|
|
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 |
|
|
sapphirecat Guru
Joined: 15 Jan 2003 Posts: 376
|
Posted: Mon May 10, 2004 2:32 pm Post subject: |
|
|
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:
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 |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Mon May 10, 2004 5:57 pm Post subject: slashed! |
|
|
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 |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
|
Malakai Apprentice
Joined: 24 Dec 2002 Posts: 299
|
Posted: Mon May 10, 2004 8:30 pm Post subject: |
|
|
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 |
|
|
ArsDangor Guru
Joined: 20 May 2003 Posts: 477
|
Posted: Wed May 12, 2004 7:53 pm Post subject: |
|
|
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 |
|
|
|