Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPPDF-34 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPPDF-34 Summary: Problem Embedding Arial Font Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-pdf-plugin Versions: 2.2 Assignee: Arnaud HERITIER Reporter: Valerie Nyre Created: Tue, 1 Mar 2005 4:35 AM Updated: Tue, 1 Mar 2005 4:35 AM Environment: Windows 2000, Maven 1.0.2, PDF-Plugin 2.2.1, JDK 1.4 (j2sdk1.4.2_06) Description: ------------------------------- 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> --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
