Friends,
I can't figure out what is wrong.

I am trying to generate a PDF/A-1b using FOP 0.94.

No matter how I write my userconfig file, I get an error message that Helvetica 
must be embedded.

I include my useconfig below.

I have added CODE 2000 into the fonts for testing purposes only.

-Mike

<?xml version="1.0"?>
<fop 
    version="1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    
xsi:noNamespaceSchemaLocation="http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/foschema/fop-configuration.xsd?view=co";
>
  <!-- Strict user configuration -->
  <strict-configuration>true</strict-configuration>

  <!-- Strict FO validation -->
  <strict-validation>true</strict-validation>

  <!-- Base URL for resolving relative URLs   <base>./</base>-->


  <!-- Font Base URL for resolving relative font URLs  
<font-base>./</font-base> -->

  <!-- Base URL for resolving relative URLs -->
  <base>.</base>
  
  <!-- Source resolution in dpi (dots/pixels per inch) for determining the size 
of pixels in SVG and bitmap images, default: 72dpi -->
  <source-resolution>72</source-resolution>
  
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the 
target resolution for generated bitmaps, default: 72dpi -->
  <target-resolution>72</target-resolution>
  
  <!-- Default page-height and page-width, in case value is specified as auto 
-->
  <default-page-settings height="11in" width="8.26in"/>
  
  <!-- Information for specific renderers -->
  <!-- Uses renderer mime type for renderers -->
  <renderers>
    <renderer mime="application/pdf">
      <!-- provides compression using zlib flate (default is on) -->
        <!-- encodes binary data into printable ascii characters (default off) 
This provides about a 4:5 expansion of data size -->
        <!-- <value>ascii-85</value> -->
        <!-- encodes binary data with hex representation (default off) This 
filter is not recommended as it doubles the data size -->
        <!-- <value>ascii-hex</value> -->
<!--       <filterList>
        <value>flate</value>
      </filterList> -->

    <fonts>
<!-- ========Helvetica:============ -->
    <font 
        metrics-url="file:///C:/fopFonts/metrics/hv______.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/HV______.pfb"
    >
        <font-triplet name="Helvetica" style="normal" weight="normal"/>
        <font-triplet name="Helvetica" style="italic" weight="bold"/>
        <font-triplet name="Helvetica" style="normal" weight="bold"/>
        <font-triplet name="Helvetica" style="italic" weight="normal"/>
    </font> 
    
<!-- ========CODE 2000:============ -->
    <font 
        metrics-url="file:///C:/fopFonts/metrics/CODE2000.TTF_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/CODE2000.TTF"
    > 
        <font-triplet name="CODE2000" style="normal" weight="normal"/>
        <font-triplet name="CODE2000" style="italic" weight="bold"/>
        <font-triplet name="CODE2000" style="normal" weight="bold"/>
        <font-triplet name="CODE2000" style="italic" weight="normal"/>
    </font>
    
<!-- ========LUCIDA SANS UNICODE:============ -->
    <font 
        metrics-url="file:///C:/fopFonts/metrics/l_10646.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/l_10646.ttf"
    > 
        <font-triplet name="LucidaSansUnicode" style="normal" weight="normal"/>
        <font-triplet name="LucidaSansUnicode" style="italic" weight="bold"/>
        <font-triplet name="LucidaSansUnicode" style="normal" weight="bold"/>
        <font-triplet name="LucidaSansUnicode" style="italic" weight="normal"/>
    </font>

<!-- ========ARIAL:============ -->
  <font 
   metrics-url="file:///C:/fopFonts/metrics/arial.ttf_metrics.xml" 
   kerning="yes" 
   embed-url="file:///C:/fopFonts/fonts/arial.ttf"
   > 
      <font-triplet name="Arial" style="normal" weight="normal"/>
   </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/arialbd.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/arialbd.ttf"
    > 
        <font-triplet name="Arial" style="normal" weight="bold"/> <!-- 
Arial,Bold -->
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/arialbi.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/arialbi.ttf"
    > 
        <font-triplet name="Arial" style="italic" weight="bold"/><!-- 
Arial,BoldItalic -->
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/ariali.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/ariali.ttf"
    > 
        <font-triplet name="Arial" style="italic" weight="normal"/><!-- 
Arial,Italic -->
    </font>
  
<!-- ========TIMESNEWROMAN:============ -->
    <font 
        metrics-url="file:///C:/fopFonts/metrics/times.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/times.ttf"
    > 
        <font-triplet name="TimesNewRoman" style="normal" weight="normal"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/timesbd.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/timesbd.ttf"
    > 
        <font-triplet name="TimesNewRoman" style="normal" weight="bold"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/timesbi.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/timesbi.ttf"
    > 
        <font-triplet name="TimesNewRoman" style="italic" weight="bold"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/timesi.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/timesi.ttf"
    > 
        <font-triplet name="TimesNewRoman" style="italic" weight="normal"/>
    </font>
  
<!-- ========COURIER:============ -->
    <font 
        metrics-url="file:///C:/fopFonts/metrics/cour.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/cour.ttf"
    > 
        <font-triplet name="CourierNew" style="normal" weight="normal"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/courbd.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/courbd.ttf"
    > 
        <font-triplet name="CourierNew" style="normal" weight="bold"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/courbi.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/courbi.ttf"
    > 
        <font-triplet name="CourierNew" style="italic" weight="bold"/>
    </font>
    <font 
        metrics-url="file:///C:/fopFonts/metrics/couri.ttf_metrics.xml" 
        kerning="yes" 
        embed-url="file:///C:/fopFonts/fonts/couri.ttf"
    > 
        <font-triplet name="CourierNew" style="italic" weight="normal"/>
    </font>


<!-- ========SUBSTITUTIONS:============ -->
    <substitutions>
        <substitution>
            <from font-family="LucidaSansUnicode"/>
            <to font-family="CODE2000" font-weight="bold" font-style="italic"/>
        </substitution>
        <substitution>
            <from font-family="Arial"/>
            <to font-family="CODE2000" font-weight="bold" font-style="italic"/>
        </substitution>
        <substitution>
            <from font-family="TimesNewRoman"/>
            <to font-family="CODE2000" font-weight="bold" font-style="italic"/>
        </substitution>
        <substitution>
            <from font-family="CourierNew"/>
            <to font-family="CODE2000" font-weight="bold" font-style="italic"/>
        </substitution>
    </substitutions>

    </fonts>

      <!-- This option lets you specify additional options on an XML handler -->
      <!--xml-handler namespace="http://www.w3.org/2000/svg";>
        <stroke-text>false</stroke-text>
      </xml-handler-->

    </renderer>

    <renderer mime="application/postscript">
      <!-- This option forces the PS renderer to rotate landscape pages -->
      <!--auto-rotate-landscape>true</auto-rotate-landscape-->
          <!-- This option lets you specify additional options on an XML 
handler -->
      <!--xml-handler namespace="http://www.w3.org/2000/svg";>
        <stroke-text>false</stroke-text>
      </xml-handler-->
    </renderer>

    <renderer mime="application/vnd.hp-PCL">
    </renderer>

    <!-- MIF does not have a renderer
    <renderer mime="application/vnd.mif">
    </renderer>    -->
    
    <renderer mime="image/svg+xml">
      <format type="paginated"/>
      <link value="true"/>
      <strokeText value="false"/>
    </renderer>

    <renderer mime="application/awt">
    </renderer>

    <renderer mime="image/png">
      <!--transparent-page-background>true</transparent-page-background-->
    </renderer>

    <renderer mime="image/tiff">
      <!--transparent-page-background>true</transparent-page-background-->
      <!--compression>CCITT T.6</compression-->
    </renderer>

    <renderer mime="text/xml">
    </renderer>

    <!-- RTF does not have a renderer
    <renderer mime="text/rtf">
    </renderer>    -->

    <renderer mime="text/plain">
      <pageSize columns="80"/>
    </renderer>

  </renderers>

</fop>



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to