Thursday, May 31, 2012

Re: set guifont=*

On 30/05/12 10:57, qfwfq wrote:
>
> Ben Fritz wrote
>>
>>
>> What did you try to set it to? The easy way to figure out what will work
>> is to first use :set guifont=*, select the desired font, then :set
>> guifont? to see what it actually got set to.
>>
>>
>
> It was a mistake in how I was setting the guifont in my .gvimrc:
> Now I say:
>
> set guifont=-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1
>
> and everything works; when i :set guifont? and I get what it is supposed to
> be.
>
> Thank you.
>
> --
> View this message in context: http://vim.1045645.n5.nabble.com/set-guifont-tp5708608p5708651.html
> Sent from the Vim - General mailing list archive at Nabble.com.
>


The above works, yet it is still too restrictive.

:set guifont=-*-courier-medium-r-normal-*-*-120-*-*-m-*-*

might work even better (find the same base font, possibly also the
corresponding italic and/or bold fonts if defined, and also any variants
of the same font, if they exist, for other charsets than Latin1).


Best regards,
Tony.
--
Here is the problem: for many years, the Supreme Court wrestled with
the issue of pornography, until finally Associate Justice John Paul
Stevens came up with the famous quotation about how he couldn't define
pornography, but he knew it when he saw it. So for a while, the
court's policy was to have all the suspected pornography trucked to
Justice Stevens' house, where he would look it over. "Nope, this isn't
it," he'd say. "Bring some more." This went on until one morning when
his housekeeper found him trapped in the recreation room under an
enormous mound of rubberized implements, and the court had to issue a
ruling stating that it didn't know what the hell pornography was except
that it was illegal and everybody should stop badgering the court about
it because the court was going to take a nap.
-- Dave Barry, "Pornography"

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: