xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingo Maas" <ingo.m...@ebp.de>
Subject Font auto detection combined with font aliases
Date Tue, 03 Jun 2008 15:32:14 GMT
Hallo,

I have a little problem with the Windows font "Times New Roman". The Word2FO
stylesheet from RenderX does a normalization of font family names, resulting
in "TimesNewRoman" (without spaces) in the XSL-FO which FOP fails to resolve
using its font auto detection feature. 

When using the old style font metrics settings in FOP configuration it
was/is possible to set font family name aliases. Can someone confirm that
it's not possible to use a combination of auto detection and font aliases
without providing any metrics configuration.

Here is the relevant part of my fop.xconf:

<fop version="1.0">

  <!-- 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>200</target-resolution>
  
  <!-- Default page-height and page-width, in case
       value is specified as auto -->
  <default-page-settings height="297mm" width="210mm"/>
  
  <!-- Information for specific renderers -->
  <!-- Uses renderer mime type for renderers -->
  <renderers>
    <renderer mime="application/pdf">
      <filterList>
        <!-- provides compression using zlib flate (default is on) -->
        <value>flate</value>
      </filterList>

      <fonts>
        <!-- embedded fonts -->
        <auto-detect/>
      </fonts>

    </renderer>
    <renderer mime="image/tiff">
      <transparent-page-background>true</transparent-page-background>
      <compression>CCITT T.4</compression>
      <fonts>
        <auto-detect/>
      </fonts>
    </renderer>
...
</fop>

Regards, Ingo


-- 
Ernst Basler + Partner GmbH
Ingo Maas
Tuchmacherstraße 47
DE-14482 Potsdam

+49 331 74 75 9 0  (Zentrale)
+49 331 74 75 9 78 (Direkt)
+49 331 74 75 9 90 (Fax) 

Geschäftsführer: Dr. Ludger Paus
Amtsgericht Potsdam - HRB 6362 P
USt-Id Nr. 152768391

mailto:Ingo.Maas@ebp.de
http://www.ebp.de



Mime
View raw message