[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    No Hebrew Monospace Font / RTL problem in GtkTextView
From:       fr33domlover <fr33domlover () mailoo ! org>
Date:       2013-09-29 15:22:04
Message-ID: 1380468124.4553.25.camel () fr33dom
[Download RAW message or body]

Hello,

I write code in Gedit. I watch or edit C/C++ code nearly every day, and
I recently I worked with files in which indentation is done using
spaces. So far I've been using tabs because they solve a serious
indentation problem which makes nontrivial C/C++ code very hard to read,
and it probably applies to any code.

The problem is that I use a non-English locale, and lines containing
only { and } and considered local language lines, since they don't
contain any English letters. The space width is different, so the
{ and } don't appear in the right position.

I didn't touch any settings, just install a distro (tried Debian and
Fedora, both with Gnome 3) and opened a file with Gedit.

This file demonstrates the problem. It's a PDF but it looks just like
what I see in Gedit (could be an screenshot image if it fit the screen):

https://gitorious.org/peer-review/peer-review/source/65c61f49714de01e717a53cb649ea2b8ba33ba6a:bug.pdf

Is there any way to make the system use the same space width in both
languages? Or consider the whole document as English, even lines
containing only { and }?

This also applies to characters, e.g. these lines:

////////////////
////////////////x

Have a *huge* length difference. The second one is more than twice as
long as the first, because the English / is wider than the Hebrew /. I
didn't change any settings, just use the default font used by Gedit.


Thanks!
fr33domlover


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic