[Foxet] fonts

Bruce D'Arcus bdarcus at fastmail.fm
Mon Feb 28 00:55:51 CET 2005


Adam -- I'm finally getting to this, but am getting this error:

This is XeTeX, Version 3.141592-2.2-0.9 (Web2C 7.5.3)
  \write18 enabled.
  (natural.tcx)
---! /Users/darcusb/tex/texmf-macosx/web2c/cont-en.fmt was written by 
pdfetex
(Fatal format file error; I'm stymied)

Is there something else I need to be doing?

Adam Lindsay wrote:
> 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>
> 



More information about the Foxet mailing list