[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Progress on cairo-based "print to PDF" from Mozilla
From:       Carl Worth <cworth () cworth ! org>
Date:       2006-06-22 0:40:36
Message-ID: 87fyhyrpiz.wl%cworth () cworth ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Mon, 19 Jun 2006 16:01:00 -0700, Carl Worth wrote:
> > Bad:  You'll notice that the small text in the four corners of this
> >       page is showing up as black boxes instead of the real
> >       text.
> 
> I'm currently working on this one. It's easy to reproduce with a
> minimal test case, (just drawing any text to a PS/PDF surface with a
> bitmapped font).

I added a testcase for this (test/bitmap-font) and have now fixed both
PS and PDF backends so that they pass this test. (I also updated the SVG
backend so it won't crash on this test like it did at first, but it's
not yet drawing the bitmapped glyphs---instead just drawing
rectangles).

So the minefield PDF result is now looking quite good:

http://cairographics.org/~cworth/images/minefield-working-bitmap-glyphs.pdf

The only major bug in that file is the broken character
selection. We're close enough now to being done with the 1.2 release,
(just a few short days now), that I think the right thing to do might
be to just punt the truetype font subsetting out until after 1.2 when
the bug can be fixed.

Doing that would mean that character selection still wouldn't work
with cairo's PDF output, but at least viewers wouldn't try and fail,
they would just not let the user select anything at all.

And of course, we could do a minor release shortly after 1.2 if the
truetype subsetting gets fixed soon, (it doesn't have any API impact
after all).

I'll update the ROADMAP tonight, and add the few "blocker" bugs we
found in bugzilla and sketch out some priorities on fixing/punting
what's left.

-Carl

[Attachment #5 (application/pgp-signature)]

_______________________________________________
cairo mailing list
cairo@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic