Re: [Evolution-hackers] Tabs when creating non-HTML messages
- From: Philip Van Hoof <spamfrommailing freax org>
- To: evolution-hackers lists ximian com
- Cc: rodo ximian com
- Subject: Re: [Evolution-hackers] Tabs when creating non-HTML messages
- Date: Wed, 08 Dec 2004 00:54:55 +0100
On Tue, 2004-12-07 at 19:21 +0100, Philip Van Hoof wrote:
> On Tue, 2004-12-07 at 18:24 +0100, Philip Van Hoof wrote:
> > Sorry,
> > This is a GtkHtml problem! The test_editor included in the
> > compontens/html-editor-directory of GtkHtml has the same problem
After a few hours searching while learning gtkhtml :-), I've identified
the problem in the file htmlpainter.c
I filed a bug. If I can find the source of the problem, I'll attach a
patch. If you know right-away how to fix this, please notify me.
http://bugzilla.ximian.com/show_bug.cgi?id=70295
The problem appears to be the get_space_width-function. For the font
used when HTML is off and the Mode is normal, it should always return
eight. Eight is the width of one character. The function ain't returning
eight.
I forced the space_width variable to use eight in html_painter_draw_
entries. It's now working correctly here. Forcefully doing this is of
course not the solution. I am at this moment investigating why this
function ain't returning eight.
The cursor is being drawn at the correct location, it's the
tab-character itself thats getting a to small width according to the
htmlpainter.
--
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
gnome: pvanhoof at gnome dot org
work: philip dot vanhoof at cronos dot be
junk: philip dot vanhoof at gmail dot com
http://www.freax.be, http://www.freax.eu.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]