[
https://issues.apache.org/jira/browse/FOP-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17559125#comment-17559125
]
Ashish Sharma commented on FOP-3079:
------------------------------------
HI Simon we have already tried with following ways :
1 . Adding Directory for Font Location
<directory>C:\Windows\Fonts</directory>
2. Adding font triplet in Configuraion File
<font kerning="yes" embed-url="C:/Windows/Fonts/Arial.ttf"
embedding-mode="subset">
<font-triplet name="Arial" style="normal" weight="normal"/>
</font>
3. Adding font triplet in Configuraion File with URL path :
<font kerning="yes" embed-url="file:///C:/windows/fonts/arial.ttf">
<font-triplet name="Arial" style="normal" weight="normal"/>
</font>
4. MOved fonts file (.ttf ) to same location as of Configuration file
> 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 .
> On windows trying XSL to PDF Conversion with Apache FOP-2.6.
>
> Tried with following Changes in configuration file :
> 1 . Adding Directory for Font Location
> <directory>C:\Windows\Fonts</directory>
> 2. Adding font triplet in Configuraion File
> <font kerning="yes" embed-url="C:/Windows/Fonts/Arial.ttf"
> embedding-mode="subset">
> <font-triplet name="Arial" style="normal" weight="normal"/>
> </font>
> 3. Adding font triplet in Configuraion File with URL path :
> <font kerning="yes" embed-url="file:///C:/windows/fonts/arial.ttf">
> <font-triplet name="Arial" style="normal" weight="normal"/>
> </font>
> 4. MOved fonts file (.ttf ) to same location as of Configuration file
>
> But still 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)