[ 
https://issues.apache.org/jira/browse/FOP-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17559119#comment-17559119
 ] 

Ashish Sharma commented on FOP-3079:
------------------------------------

HI Simon i tried with ONLY windows path as well , but ddint worked

<renderer mime="application/pdf">
      <filterList>
        <!-- provides compression using zlib flate (default is on) -->
        <value>flate</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>
         
      <fonts>
        
        <font kerning="yes" embed-url="C:/Windows/Fonts/Arial.ttf" 
embedding-mode="subset">
               <font-triplet name="Arial" style="normal" weight="normal"/>
        </font>
        
        <!-- automatically detect operating system installed fonts -->
        
        <auto-detect/>  
    
      </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>

> Fonts are Not getting rendered in FOP-2.6 while genrating PDF
> -------------------------------------------------------------
>
>                 Key: FOP-3079
>                 URL: https://issues.apache.org/jira/browse/FOP-3079
>             Project: FOP
>          Issue Type: Bug
>          Components: font/opentype, renderer/pdf
>    Affects Versions: 2.6
>            Reporter: Ashish Sharma
>            Priority: Blocker
>
> Fonts which Are Auto detected in FOP-2.4 is not Working in FOP-2.6 .
> <fonts>
>        <!-- automatically detect operating system installed fonts -->
>         <auto-detect/>  
>         <!-- embedded fonts -->
>         
>         <font kerning="yes" embed-url="GTSuperDisplayLight.ttf" 
> embedding-mode="subset">
>             <font-triplet name="GTSuperDisplayLight" style="normal" 
> weight="700" />
>         </font>
> </font>
>  
> Throws This Error:
>  
> WARNING: Font "Arial Narrow,normal,700" not found. Substituting with 
> "any,normal,700".
> WARNING: Font "Symbol,normal,700" not found. Substituting with 
> "Symbol,normal,400".
> WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> WARNING: Font "GTSuperDisplayLight,normal,700" not found. Substituting with 
> "any,normal,700".



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to