[ http://jira.codehaus.org/browse/MPPDF-34?page=comments#action_45016 ] 

Valerie Nyre commented on MPPDF-34:
-----------------------------------

Thanks for your inquiry!

Sorry to say that I have removed the Maven installation from my computer and 
will have to restore the old environment.

Because of my running tasks, I will not be able to respond before the end of 
this week.



My regards,

Valerie


> Problem Embedding Arial Font
> ----------------------------
>
>          Key: MPPDF-34
>          URL: http://jira.codehaus.org/browse/MPPDF-34
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.2
>  Environment: Windows 2000, Maven 1.0.2, PDF-Plugin 2.2.1, JDK 1.4 
> (j2sdk1.4.2_06)
>     Reporter: Valerie Nyre

>
>
> -------------------------------
> What the TTF Reader says...
> -------------------------------
>   
> The TTFReader explicitly mentions that there are no restrictions to embedding 
> the font: 
> J:\MAAS\02WORK\02MAAS_WORK_MAVEN\NYRE_WORK>java -cp 
> I:\MAVENLOCALREPO\.maven\repository\fop\jars\fop-0.20.5.jar;I:\MAVENLOCALREPO\.maven\repository\avalon-framework\jars\avalon-framework-4.1.5.jar
>  org.apache.fop.fonts.apps.TTFReader -enc ansi 
> I:\MAVENLOCALREPO\.maven\cache\maven-pdf-plugin-2.2.1\plugin-resources\fonts\arial.ttf
>  
> I:\MAVENLOCALREPO\.maven\cache\maven-pdf-plugin-2.2.1\plugin-resources\fonts\arial.xml
>  
> TTF Reader v1.1.1
> Reading 
> I:\MAVENLOCALREPO\.maven\cache\maven-pdf-plugin-2.2.1\plugin-resources\fonts\arial.ttf...
> Number of glyphs in font: 1296
> Creating xml font file...
> Creating WinAnsi encoded metrics
> Writing xml font file 
> I:\MAVENLOCALREPO\.maven\cache\maven-pdf-plugin-2.2.1\plugin-resources\fonts\arial.xml...
> This font contains no embedding license restrictions    
>     
> -------------------------------
> And yet the font is not embedded?
> -------------------------------
> Running the maven goal pdf, the last messages are issued:
>     
>     
>     [java] [ERROR] Failed to embed fontfile: 
> file:/I:/MAVENLOCALREPO/maasintern/NYRETEST/target/pdf/arial.ttf
>     [java] [ERROR] Failed to embed fontfile: 
> file:/I:/MAVENLOCALREPO/maasintern/NYRETEST/target/pdf/arial.ttf
> -------------------------------
> In my userconfig.xml
> -------------------------------
>   
> I have to repeat entries for the same fontmetrics file 
> Why this ? To suppress the messages that the font is not known.
> I assume just because my styles use the same font with different weights: 
>     <font metrics-file="fonts/arial.xml" kerning="yes" 
> embed-file="arial.ttf">  
>           <font-triplet name="Arial" style="normal" weight="normal"/>
>     </font>
>     <font metrics-file="fonts/arial.xml" kerning="yes" 
> embed-file="arial.ttf">  
>           <font-triplet name="Arial" style="normal" weight="bold"/>
>     </font>
>     <font metrics-file="fonts/arialbi.xml" kerning="yes" 
> embed-file="arialbi.ttf">  
>           <font-triplet name="Arial,BoldItalic" style="italic" weight="bold"/>
>     </font>
>     <font metrics-file="fonts/arialbd.xml" kerning="yes" 
> embed-file="arialbd.ttf">  
>           <font-triplet name="Arial,Bold" style="normal" weight="bold"/>
>     </font>
>     <font metrics-file="fonts/ariblk.xml" kerning="yes" 
> embed-file="ariblk.ttf">  
>           <font-triplet name="ArialBlack" style="normal" weight="normal"/>
>     </font>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to