xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Xmlgraphics-fop Wiki] Update of "FontSelectionStrategy" by AndreasDelmelle
Date Fri, 29 Jun 2007 19:00:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.

The following page has been changed by AndreasDelmelle:

+ === Alternative Implementation ===
+ ==== Rationale ====
+ Given the above noted dependencies, there seems to be a third alternative: create multiple
FOText instances in the FOTree, which would lead to two separate TextLMs being instantiated
as a part of FOP's "natural" flow. The different, separate TextLMs will, by design, trigger
the correct relative alignment, and maybe solve other of the above mentioned complications
of implemententing it in the layout-engine.
+ The FOTexts' characters are already looped over many times, so it does not really matter
''where'' in the process the check for the presence of a glyph in the current font is inserted.
The only thing that would really need to change is the point where the fonts are first loaded:
much sooner than is the case with the current implementation, but only from the point of view
of a ''single'' FOP run. The argument here is that this matters very little in ''multi-session''
contexts where the fonts are handled by the !FopFactory, and as such already loaded in 90%
of the cases.

To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org

View raw message