Re: Device-independent text layout



On Wed, 10 May 2006, Damon Chaplin wrote:

> On Wed, 2006-05-10 at 19:04 +0100, Damon Chaplin wrote:
> > On Wed, 2006-05-10 at 12:12 -0400, Behdad Esfahbod wrote:
> > > On Wed, 10 May 2006, Owen Taylor wrote:
> > >
> > > > (Poor rounding can make very small errors into big problems, so you
> > > > might want to investigate that...)
> > >
> > > Exactly.  And I've been fixing some bugs in this area recently
> > > [1].  Damon, please test with Pango HEAD, and if you still have
> > > problems, helps if you attach code.
> >
> > Here's a simple test case. It shows the same text at a few different
> > scales, and rotated. Several of the layouts are different for me. (I've
> > just updated pango & cairo.)
>
> Oops. I set the font options on the cairo_t rather than the PangoContext
> again. Here's a new version.

With your updated code i see the same layout in all sizes and
rotations.  Attach a screenshot maybe?


> Damon

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



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