[cairo] Improving PDF output
otaylor at redhat.com
Tue Jan 9 13:02:02 PST 2007
On Tue, 2007-01-09 at 15:36 -0500, Behdad Esfahbod wrote:
> > > - Make Pango go over the glyphstring for right-to-left runs from end
> > > to start (that is, in logical order), and for right-to-left lines from
> > > end run to start run, or in the logical order of the runs.
> > I think you always want to emit glyphs in visual order and let the
> > backend figure out how to best encode that into a document for both
> > compactness (not positioning every glyph) and correctly representing
> > the text. Having glyph order not correspond to the X advance of the
> > font is going to be awkward.
> Agreed. What about items in the line? Do you think doing them in the
> logical order makes sense? I have no idea how Poppler/Evince work here.
Drawing them in logical order makes the most sense to me... after all,
drawing order is how the flow of lines/paragraphs/columns will be
indicated in the output.
More information about the cairo