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

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 -->
  <!-- Source resolution in dpi (dots/pixels per inch) for determining the
size of pixels in SVG and bitmap images, default: 72dpi -->
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the
target resolution for generated bitmaps, default: 72dpi -->
  <!-- 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 -->
    <renderer mime="application/pdf">
        <!-- provides compression using zlib flate (default is on) -->

        <!-- embedded fonts -->

    <renderer mime="image/tiff">
      <compression>CCITT T.4</compression>

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


View raw message