Re: [PATCH] Fix previously mentioned inset drawing bug. Add basic wide character drawing support.
- On 12/02/2008, björn <bjorn.winckler@...> wrote:
> On 12/02/2008, Jjgod Jiang <gzjjgod@...> wrote:Hi Jiang,
> > Hi all,
> > Looks like the inset drawing problem I mentioned in my last mail is
> > just a typo. Fixed in this patch.
> > It also adds some basic wide character drawing support, I haven't
> > fully understand bjorn's font selection work in MMTextView yet.
> Jiang: great to see the new patches...I will have a look at them and
> give you some feedback later on.
> As far as font selection goes...well, it is mostly handled in the
> backend and when the font changes a setFont: or setWideFont: message
> is sent to the text view. These are only sent when the font is
> actually changed (e.g. by calling :set gfn=X)...not every time
> something is drawn so you have to check if it is wide or normal text
> that is being drawn (by checking the DRAW_WIDE flag that I set in the
The patches you sent look great; in fact, I have already merged them
into the public repo.
For those of you who are interested in seeing how Jiang's work is
progressing, all you need to do is to set the user default
MMAtsuiRenderer to 1 and restart MacVim. It is already noticeably
faster than the NSTextView renderer, but it does still have some
rendering bugs so I'd advice against having it enabled all the time
for now. Still, I find it very promising! :-)
(Oh, and once you've tested it, you should set MMAtsuiRenderer back to
0 or delete that entry from the MacVim defaults database.)
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php