Monday, April 15, 2013

Re: macosx x11/motif gvim-7.3.706+ E250 dialog on startup

On 16/04/13 06:47, raf wrote:
> hi,
>
> i just installed an x11/motif version of vim-7.3.905 from source
> on macosx-10.6.8 and, every time it starts, i get an error dialog
> that says:
>
> E250: Fonts for the following charsets are missing in fontset -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1:
> ISO8859-1
> ISO8859-1
> ISO8859-2
> ISO8859-3
> ISO8859-4
> ISO8859-5
> KOI8-R
> ISO8859-7
> ISO8859-9
> ISO8859-13
> ISO8859-14
> ISO8859-15
> JISX0208.1983-0
> KSC5601.1987-0
> GB2312.1980-0
> JISX0201.1976-0
> E250: Fonts for the following charsets are missing in fontset -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1:
> ISO8859-1
> ISO8859-1
> ISO8859-2
> ISO8859-3
> ISO8859-4
> ISO8859-5
> KOI8-R
> ISO8859-7
> ISO8859-9
> ISO8859-13
> ISO8859-14
> ISO8859-15
> JISX0208.1983-0
> KSC5601.1987-0
> GB2312.1980-0
> JISX0201.1976-0
>
> my font is:
>
> set guifont=-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>
> if i change it to:
>
> set guifont=-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
>
> then the appearances of ISO8859-1 disappear and ISO10646-1 appears instead.
>
> if i change it to:
>
> set guifont=-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-*
>
> then all of the ISO8859-* ones and KOI8-R disappear but i'm still left with:
>
> E250: Fonts for the following charsets are missing in fontset -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1:
> JISX0208.1983-0
> KSC5601.1987-0
> GB2312.1980-0
> JISX0201.1976-0
> E250: Fonts for the following charsets are missing in fontset -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1:
> JISX0208.1983-0
> KSC5601.1987-0
> GB2312.1980-0
> JISX0201.1976-0
>
> if i run gvim -u NONE -U NONE, the error still appears but at least it isn't a dialog box.
> it appears on stdout and refers to "fontset 7x13".
>
> in either case, i have to "Press ENTER or type command to continue"
> before i can see the contents of the file to be edited.
>
> this doesn't happen on another, similar host with vim-7.3.661 but if i
> apply the remaining patches, the error message appears there as well
> (but on stdout rather than as a dialog box).
>
> does anyone know how i can suppress this particular error dialog?
> i really don't care about those charsets.
> i just want to vim to start immediately.
>
> i've reverted to vim-7.3.661 and that has fixed it but i'd like to have
> vim filly patched.
>
> it works fine up to patch 7.3.696.
> the motif version doesn't compile between patches 7.3.697 and 7.3.705.
> the error message appears as of patch 7.3.706 which got the motif version
> to compile again.
>
> cheers,
> raf
>
7.3.697 is about "leaking resources when setting GUI font" which means
at least some font routines were changed. A quick search through
ftp://ftp.vim.org/pub/vim/patches/7.3/README shows some other
font-related patchlevels after that, but all concerning either
MS-Windows or 'guifontwide'.

Have you set the 'guifontset' and/or 'guifontwide' options? Doing
:verbose set gfs? gfw?
will tell you. I recommend to leave them at their empty default unless
(a) you know what you do, and (b) you have
ÜBER-extra-super-hyper-duper-important reasons not to leave them empty.

What happens if you use
:set gfs= gfw= gfn=-*-courier-medium-r-normal-*-*-120-*-*-m-*-*
? This is a pretty common font, and (I hope) should not give errors. If
it works, but isn't exactly as pretty as you'd like, you may then try
replacing the dash-separated items of 'guifont' *one at a time* until
you like what you see.

OTOH, if even the above generalized Courier font gives you similar
errors, then maybe there are needed X11 fonts which haven't been
installed on your system. In that case, check the optional packages
available for your OS, and see if some of them aren't about fonts, or
maybe about language packs.

See also http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI


Best regards,
Tony.
--
Computer Science is merely the post-Turing decline in formal systems
theory.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: