Hello,

how can I embed the complete font if a font directory is used like:


<renderers>
  <renderer mime="application/pdf">
     <fonts>
        <!-- register all the fonts found in a directory -->
        <directory>/PRODUCTION/fonts/</directory>
     </fonts>
  </renderer>
</renderers>


As far as I can see I can use

encoding-mode="single-byte"

as in the documentation suggested at
https://xmlgraphics.apache.org/fop/2.6/fonts.html

but in the example it is a attribute of the font tag.

<renderers>
   <renderer mime="application/pdf">
       <fonts>
           <font kerning="yes" embed-
url="/System/Library/Fonts/Arial.ttf" embedding-mode="subset">
               <font-triplet name="Arial" style="normal"
weight="normal"/>
           </font>
       </fonts>
   </renderer>
</renderers>

It seems that the attribute 'encoding-mode="single-byte"' has no effect
on fonts tag.

How can set that if I want to set the fonts directory in the
configuration?


Best Regards

Sebastian Schlatow


CEWE Stiftung & Co. KGaA mit Sitz in Oldenburg; Registergericht Oldenburg HR B 
208214; Persönlich haftende geschäftsführende und vertretungsberechtigte 
Gesellschafterin:
Neumüller CEWE COLOR Stiftung, Sitz: Oldenburg;
Stiftungsverzeichnis der rechtsfähigen Stiftungen des bürgerlichen Rechts im 
Bezirk der Regierungsvertretung Oldenburg Nummer 15(034).
Stiftungsvorstand:
Dr. Christian Friege (Vorsitzender), Patrick Berkhouwer, Dr. Reiner Fageth, 
Carsten Heitkamp, Dr. Olaf Holzkämper, Thomas Mehls, Frank Zweigle
Aufsichtsrat:
Otto Korte (Vorsitzender)
UST ID-Nr. DE815453806; St.-Nr. 64/200/38999; GLN 40 04468 00000 4

Reply via email to