Re: [evolution-patches] printing fonts fix
- From: Larry Ewing <lewing ximian com>
- To: Radek Doulík <rodo ximian com>
- Cc: patches <evolution-patches ximian com>, Jeff Stedfast <fejj ximian com>
- Subject: Re: [evolution-patches] printing fonts fix
- Date: Tue, 15 Jul 2003 21:29:21 -0500
On Tue, 2003-07-15 at 19:09, Larry Ewing wrote:
> Your patch looks fine and I've included a camel patch that will probably
> fix the loop, it seems some of the recent camel changes broke the end of
> stream marker. This is was causing may mailer to hang all the time. I
> don't really know if this is how the mail hackers want to fix this but
> it should work.
>
> --Larry
>
> On Tue, 2003-07-15 at 13:47, Radek Doulík wrote:
> > attached patch should avoid gnome print font allocation fallback too
> > early
> >
> > I am inlining the patch as my evo loops when attaching files.
> >
> > Index: htmlprinter.c
> > ===================================================================
> > RCS file: /cvs/gnome/gtkhtml/src/htmlprinter.c,v
> > retrieving revision 1.65
> > diff -u -p -r1.65 htmlprinter.c
> > --- htmlprinter.c 19 May 2003 12:32:26 -0000 1.65
> > +++ htmlprinter.c 15 Jul 2003 18:40:19 -0000
> > @@ -707,7 +707,8 @@ alloc_font (HTMLPainter *painter, gchar
> >
> > font = gnome_font_find_closest_from_weight_slant (face ? face : (style & GTK_HTML_FONT_STYLE_FIXED ? "Monospace" : "Sans"),
> > weight, italic, get_font_size (printer, points, size));
> > - if (font == NULL) {
> > +
> > + if (font == NULL && face == NULL) {
> > GList *family_list;
> >
> > family_list = gnome_font_family_list ();
> > Index: ChangeLog
> > ===================================================================
> > RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
> > retrieving revision 1.1822
> > diff -u -p -r1.1822 ChangeLog
> > --- ChangeLog 10 Jul 2003 16:33:34 -0000 1.1822
> > +++ ChangeLog 15 Jul 2003 18:40:31 -0000
> > @@ -1,3 +1,8 @@
> > +2003-07-15 Radek Doulik <rodo ximian com>
> > +
> > + * htmlprinter.c (alloc_font): fallback to 1st available font only
> > + when default fonts aren't available
> > +
> > 2003-07-10 Larry Ewing <lewing ximian com>
> >
> > * htmldrawqueue.c: remove unused function.
> >
> >
> > _______________________________________________
> > Evolution-patches mailing list
> > Evolution-patches lists ximian com
> > http://lists.ximian.com/mailman/listinfo/evolution-patches
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]