W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2002

Type 1 font problem

From: Jörgen Karlsson <jorgen.karlsson@infologic.se>
Date: Fri, 28 Jun 2002 09:14:51 -0400 (EDT)
To: <www-xsl-fo@w3.org>
Message-ID: <KDEILOCANFDNMAGGDPCPMEHFCDAA.jorgen.karlsson@infologic.se>
I have a Type 1 multiple master font which I would like to use with FOP. I
have managed to edit the userconfig.xml so that it contains all variants of
my font.

Here is a snippet:
<font metrics-file="myr12.xml" kerning="yes" embed-file="_MRG____.PFB">
    <font-triplet name="MyriadMM_700_BD_600_NO" style="normal"
weight="bold"/>

In my stylesheet I have the following code:
<fo:table table-layout="fixed" width="100%" border-width="0.5pt"
border-style="solid" id="{@exportIndex}">
      <fo:table-column column-width="10mm"/>
       <fo:table-column column-width="112mm"/>
             <fo:table-header>
                    <fo:table-row>
                         <fo:table-cell display-align="center"
border-width="0.5pt" border-style="solid" >
                                <fo:block
font-family="MyriadMM_700_BD_600_NO" font-weight="bold" font-size="8pt"
text-align="center" margin="1mm" padding="1mm">Step</fo:block>
                         </fo:table-cell>
                         <fo:table-cell display-align="center"
border-width="0.5pt" border-style="solid" >
                                  <fo:block
font-family="MyriadMM_700_BD_600_NO" font-weight="bold" font-size="8pt"
text-align="center" margin="1mm" padding="1mm">Action</fo:block>
                          </fo:table-cell>
                      </fo:table-row>
                  </fo:table-header>
                   <fo:table-body>
                                .
                                .
                   </fo:table-body>

</fo:table>

The PDF generates without errors but the words "Step" and "Action" still is
not in bold. What am I doing wrong.

Regards

Jörgen Karlsson
Received on Friday, 28 June 2002 09:56:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT