Thank's Glenn, that pretty much seems what I need. I will follow your instructions trying to understand/evaluate the different options and see how far I get with the given font :)
Best, Frank Von meinem iPhone gesendet Am 10.05.2013 um 19:44 schrieb Glenn Adams <gl...@skynav.com>: > Support for Advanced Typographic Tables (GSUB, GPOS, etc) [1] was added in > 1.1 to support complex scripts [2]. You can also use these same complex > script features with non complex scripts, provided the font supports the > desired features [3]. > > At present, the default features enabled for all scripts are: > > GSUB: { 'ccmp', 'liga', 'locl' } > GPOS: { 'kern', 'mark', 'mkmk' } > > It sounds like you want to may want to use the 'salt' (Stylistic > Alternatives), but I'm not certain since I don't know what features are in > the font you are trying to use. In any case, although I plumbed the CS code > to permit the higher layers of FO processing to specify something like the > CSS3 font-feature-settings property, I haven't yet taken any action to add > this property as an fox (extension namespace property) in FOP. > > As a work around, if the Font happens to expose the glyph you want via a > Unicode PUA entry in the CMAP, then you can access it via that PUA code > point. There is no other way to specify a specific glyph in FOP. You could > also use SVG and convert the glyph into an SVG outline, though that's > probably over kill. > > Regards, > Glenn > > [1] http://www.microsoft.com/typography/otspec/ttochap1.htm > [2] http://xmlgraphics.apache.org/fop/trunk/complexscripts.html > [3] http://www.microsoft.com/typography/otspec/featuretags.htm > [4] http://www.w3.org/TR/css3-fonts/#font-feature-settings-prop > > > On Fri, May 10, 2013 at 11:05 AM, Frank Hirsch <frank.hir...@mac.com> wrote: >> I am currently trying to use a specific glyph from a TTF font in a >> substitution table. >> >> 1. I learned such glyphs in OTF or TTF fonts can be used in layout programs >> such as InDesign by selecting them directly in the glyph selection >> 2. Trying to understand and having checked the documentation, this seems to >> have nothing to do with the font substitution described at >> http://xmlgraphics.apache.org/fop/1.1/fonts.html#substitution >> 3. Calling the glyph by HEX or Unicode is not possible since it's the same >> address >> >> So far I was trying to understand the mechanism of subtables (GSUB Lookups) >> at all, which led me to check the content of my font with fontforge. >> There I found all the corresponding tables under "Element > Font Info > >> Lookups"... >> >> Is it possible at all to use a glyph from a substitution table in Apache FOP >> at all or am I doing something completely wrong? >> I would love to have in FO the same ability as in my layout software using >> "tabular digits"... >> >> Thank's for your help ;) >> >> - I am running on fop-1.0 and fop-1.1 on Mac OS X with Java 1.7.0u21 >> - The font has been defined as >> <font embed-url="fonts/DuraSans2012-Bold.ttf"> >> <font-triplet name="DuraSans" style="normal" weight="bold"/> >> </font> >> - Very basic and simple selection of the font in fo... >> <fo:block font-family="DuraSans">...</fo:block> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org >> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >