Re: Writing a PangoLayoutLine on a line in cairo
- From: Behdad Esfahbod <behdad behdad org>
- To: Dov Grobgeld <dov grobgeld gmail com>
- Cc: cairo <cairo cairographics org>, gtk-list gnome org
- Subject: Re: Writing a PangoLayoutLine on a line in cairo
- Date: Sat, 03 Feb 2007 18:01:47 -0500
On Sat, 2007-02-03 at 23:30 +0200, Dov Grobgeld wrote:
>
> cairotwisted.c is really neat! Now we can write on warped surfaces.
> :-) There seems to be a bug though in the rendering of the O of the
> central WOW. It looks almost like the two inner nodes of all the
> bezier curves on the outside of the O are inside-out... (You really
> need an illustration to see it.) But it might be because of a very
> strong local warping. I'll have to check it out later.
Yes, I intentionally added the large warp there to produce this problem
so I can fix it! What's happening is that I'm using
cairo_copy_path_flat(), and while that generates lines with errors
within the set context tolerance, the mapping is magnifying the error,
causing the effect you see. I have a plan for how to fix it, and I'll
write a longer report about the algorithm used when I get to that.
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]