Re: GTK and non-monospace fonts



On Thu, 21 Feb 2002, Bartosz "Neron" Leper wrote:

 Hi, 

 That was a bug in gdk fixed personally by me - the standard gtk-1.2.10
already contains the fix - so please upgrade your gtk to version 1.2.10.

 Best regards,
  -Vlad

> Hello there,
> 
> I'm new here and I'm from Poland, so I'm sorry for my weak English. But I'll
> try to explain what's on my mind.
> 
> I'm using Mandrake Linux and I've experienced some problems with displaying
> GTK widgets: all applications I have that are written using GTK are
> calculating word length incorrectly, which causes labels unreadable in some
> cases.
> 
> It happens when I use non-monospace fonts (in Poland we say: proportional
> fonts). Nearly each word is displayed correctly, but every space between
> words is somehow "strange": sometimes it's normal, somtimes it's illogically
> wide (when the word consists of narrow letters, like 'iiii', and sometimes
> even "space" means "backspace" (when the word consists of many wide letters,
> like 'WWWWW'). I think it's because GTK (or GDK?) counts word width as if it
> was written in monospace font (like Courier)!
> 
> Simmilar thing happens in edit boxes (sorry for that Win32 terminology), and
> it's even worse: when I try to put caret into box using mouse, I click
> between two letters, but the actual point of inserting text appears to be
> somewhere else - it's also sounted using monospace font width!
> 
> I am running GTK version 1.2.8-6mdk, but I don't know if it really matters,
> because nearly all applications I have are pre-compiled.
> 
> Please help me, because it's really annoying! I don't know if I refer to
> appropriate mailing list; if you know some other places to find some info,
> please mail me.
> 
> Thanks in anvance,
> Nero
> 
> --
> ------====[Bartosz "Neron" Leper]====------
> mailto:bl_nero o2 pl | IRC: #warsztat
> www.nerosite.prv.pl  | www.programex.prv.pl
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]