Bruce D'Arcus said this at Wed, 16 Feb 2005 10:00:53 -0500:
>OK. How about Warnock Pro Caption Smallcap Italic? Could it be as
>simple as ...
>
>\definefontsynonym [FO:Warnock Pro:Caption:Smallcap:Italic]
> [Warnock Pro-Caption-Smallcap-Italic]
It's not that data-driven, Bruce. You'll have to create a synonym for
[Warnock Pro-Caption-Smallcap-Italic], and the rest of its family.
More accurately, it should be something like this:
\definefontsynonym [FO:Warnock Pro:regular:italic:smallcaps caption]
[Warnock Pro-Caption-Smallcap-Italic]
...That is to say, the fontname is specified as:
FO:font-family:font-weight:font-style:font-variant
So. I got this to work...
A little config file as a shim (fo-helper.tex):
%D load the typescripts from type-xtx:
\usetypescript[serif][hoefler][all]
%D bug fix in the typescript:
\definefontsynonym[Helvetica-Italic][Helvetica-Oblique]
%D Create these synonyms to hook the FO conventions into
%D the typescripts' synonyms:
\definefontsynonym [FO:Hoefler] [Hoefler]
\definefontsynonym [FO:Hoefler:bold] [HoeflerBlack]
\definefontsynonym [FO:Hoefler:italic] [HoeflerItalic]
\definefontsynonym [FO:Hoefler:bold:italic] [HoeflerBlackItalic]
\definefontsynonym [FO:Hoefler:regular:normal:smallcaps] [HoeflerSmCap]
% end 8<
and run the following file with the command line:
texexec --xtx --xml --use=foxet --env=fo-helper fo-fonts.fo
<?xml version='1.0'?>
<!-- foxet test file - Hans Hagen - PRAGMA ADE -
www.pragma-ade.com -->
<fo:root xmlns:fo='
http://www.w3.org/1999/XSL/Format'>
<fo:layout-master-set>
<fo:simple-page-master master-name='test' margin='.5cm'>
<fo:region-body margin='.5cm'/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference='test' initial-page-number='123'>
<fo:flow flow-name='xsl-region-body'>
<fo:block-container font-style='italic'>
<fo:block font-family='Hoefler'>Hoefler</fo:block>
<fo:block font-family='Helvetica'>helvetica</fo:block>
<fo:block font-family='Computer-Modern-Typewriter'>LMTT</
fo:block>
<fo:block font-family='Hoefler' font-style="normal"
font-weight="regular" font-variant="smallcaps">Hoefler Caps</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@???
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
Foxet mailing list
Foxet@???
http://www.ntg.nl/mailman/listinfo/foxet