Monday, June 20, 2011

Re: Font Rendering Issues on Linux But Not Windows

By the way Tony, even a normal font such as Deja Sans Mono displays fine
when you move the cursor over it. It's once it loses focus (by you
Alt-Tabing to a new window) or by scrolling to the bottom of the screen
so that the text is no longer visible that the text becomes garbled.
And as I said earlier, gedit shows everything fine without this issue
for the same font. So this is something Vim specific. Do you have any
idea what it might be? Thanks.

On Sat, 18 Jun 2011 02:41 -0700, "Mathew Brown"
<mathewbrown@fastmail.fm> wrote:
> I'm not sure if you read my 2nd reply. So here it is again:
>
> I take that back. Even Courier New didn't display the Arabic properly
> for all scenarios. By the way, I'm pretty sure that this is a Vim
> issue, not a GTK issue because I tried some of the exact same fonts on
> gedit and they showed the Arabic with the tashkeel just fine. The
> pointed Arabic with the same fonts showed properly under gedit but not
> on vim.
>
>
> On Sat, 18 Jun 2011 10:52 +0200, "Tony Mechelynck"
> <antoine.mechelynck@gmail.com> wrote:
> > On 18/06/11 09:59, Mathew Brown wrote:
> > > Hi Tony,
> > >
> > > On Sat, 18 Jun 2011 09:11 +0200, "Tony Mechelynck"
> > > <antoine.mechelynck@gmail.com> wrote:
> > [...]
> > >> When viewing pointed Arabic text in GTK2 gvim, I don't always see it
> > >> displayed correctly; moving the cursor over the text may correct the
> > >> error.
> > >
> > > This is the exact issue that I have. I also had this issue on Windows.
> > > But as soon as I set cDEFAULT on Windows, the problem disappeared.
> > > But moving the cursor over the text really isn't a very nice solution.
> > > I've found that some fonts such as Courier New 12 render the Arabic
> > > text properly without any display issues, but the font itself isn't
> > > very pleasing or easy to read (at least the Arabic version). I'm
> > > trying to find a solution. As a temporary work around, is there any
> > > way that you can get the same effect as moving the cursor over the
> > > letters again to make them display properly but without having to do
> > > this manually? I mean is there any way to trigger this same behavior
> > > in an easier way? Thanks.
> > [...]
> >
> > If only I knew one!
> >
> > Courier New 12, you say? Let me try it... Yes indeedy! I'm posting
> > another snapshot, IMHO the result is quite good, no worse than can be
> > expected of any Arabic monospace font -- but of course, Arabic, with its
> > end-of-word flourishes and its letters of extremely varying width, is
> > essentially unsuited to monospace fonts in general: Arabic is meant to
> > be written with a calamus, not a typewriter.
> >
> > http://users.skynet.be/antoine.mechelynck/other/salaam-rahma-courier.png
> >
> > Same "pointed" source text as before.
> >
> >
> > Oh, and Courier New 20 is even better-looking, even with thick and thin
> > strokes (and, surprise! even the lam-shadda-superscript_alef in "Allah"
> > is correctly displayed), but of course the bigger the font, the less
> > text can fit on a page.
> > http://users.skynet.be/antoine.mechelynck/other/salaam-rahma-courier20.png
> >
> >
> > Best regards,
> > Tony.
> > --
> > "Benson, you are so free of the ravages of intelligence"
> > -- Time Bandits
> >
> --
> Mathew Brown
> mathewbrown@fastmail.fm
>
> --
> http://www.fastmail.fm - Accessible with your email software
> or over the web
>
>
--
Mathew Brown
mathewbrown@fastmail.fm

--
http://www.fastmail.fm - Or how I learned to stop worrying and
love email again

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