[cairo] PDF Text Extraction: Future

Robert O'Callahan robert at ocallahan.org
Tue Oct 23 11:47:43 PDT 2007

On Oct 24, 2007 2:33 AM, Owen Taylor <otaylor at redhat.com> wrote:

> To point out something that may be entirely obvious ... the order
> invariance of
> glyphs in cairo isn't coincidental, it's part of the model. That is, if
> you
> make a single show_glyphs() call with overlapping glyphs and alpha of 0.5,
> you should *expect* that the resulting shape has an alpha of 0.5 in the
> overlapped regions.

That's not obvious, no.

So, up until new API gets added to cairo and Firefox starts using it, it's
> safe and recommended to order glyphs in visual order.

OK. Better document that.

"Two men owed money to a certain moneylender. One owed him five hundred
denarii, and the other fifty. Neither of them had the money to pay him back,
so he canceled the debts of both. Now which of them will love him more?"
Simon replied, "I suppose the one who had the bigger debt canceled." "You
have judged correctly," Jesus said. [Luke 7:41-43]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20071024/5d44f07e/attachment.html 

More information about the cairo mailing list