Hi Chris,

I'm in the process of converting fop from version 0.25 to version 2. There
are several custom fonts and I had no problem registering custom fonts when
I specify style with "normal" or "italic" in font-triplet. However, I've a
font with different styles which registered as below where style is being
used to distinguish the difference from the same font. I assume I can put
any style name in font-triplet and I should be able to use it in fo where I
need to specify the matching font-family and style. My current work around
would be register each style with a unique name in font-triplet and change
all the corresponding references in fo. I just want to verify if the newer
version of FOP won't be able to specific any other styles other than
"normal" and "italic" in <font-triplet> in the config. Or I'm missing
something in the config in order to add a new style. Do I need a metric-url
in this case??

fop.xconf:

 <font-triplet name="Eurostile" style="condensed" weight="bold"/>

<font-triplet name="Eurostile" style="extended" weight="normal"/>


fo:
(Error: Invalid property value encountered in font-style="condensed" )
<fo:block text-align="center" space-after.optimum="3pt"
font-family="Eurostile" font-style="condensed" font-weight="normal"
font-size="8pt" color="white">April 30, 2015</fo:block>

(No error produce when having the same config, but changing the font-style
from condense to normal in fo then it works)
<fo:block text-align="center" space-after.optimum="3pt"
font-family="Eurostile" font-style="normal" font-weight="normal"
font-size="8pt" color="white">April 30, 2015</fo:block>
                                        



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/alternate-text-extension-not-working-in-FOP-version-2-0-tp42921p42992.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to