You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/03/01 10:37:46 UTC

[jira] Created: (MPPDF-34) Problem Embedding Arial Font

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Commented: (MPPDF-34) Problem Embedding Arial Font

Posted by Arnaud HERITIER <ah...@gmail.com>.
No problem Valerie.

Thanks.

Arnaud

On 8/23/05, Valerie Nyre (JIRA) <ji...@codehaus.org> wrote:
> 
> [ 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.ttfI:\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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
>

[jira] Commented: (MPPDF-34) Problem Embedding Arial Font

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPPDF-34?page=comments#action_46625 ] 

Lukas Theussl commented on MPPDF-34:
------------------------------------

Hi Valerie,

Thanks for all your testing! Unfortunately, the current maven-pdf-plugin does not support embedding of custom fonts at all. This has nothing to do with fop but with the xslt transformation that is used to generate the fo file. All fonts are hardcoded there. You could try to insert by hand a reference to your custom fonts into the fo file generated by maven and just run "pdf:pdf", you should get the fonts embedded then.

I will close this issue now and open a separate one with more specific explanations of what has to be done.

> 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
>  Attachments: MavenIssue_MPPDF-34_CannotReproduce_FuturaNotEmbedded.zip
>
>
> -------------------------------
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPPDF-34) Problem Embedding Arial Font

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-34?page=all ]
     
Lukas Theussl closed MPPDF-34:
------------------------------

    Resolution: Cannot Reproduce

> 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
>  Attachments: MavenIssue_MPPDF-34_CannotReproduce_FuturaNotEmbedded.zip
>
>
> -------------------------------
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPPDF-34) Problem Embedding Arial Font

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPPDF-34?page=comments#action_44970 ] 

Arnaud Heritier commented on MPPDF-34:
--------------------------------------

Can you send to us a test case ?

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPPDF-34) Problem Embedding Arial Font

Posted by "Valerie Nyre (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-34?page=all ]

Valerie Nyre updated MPPDF-34:
------------------------------

    Attachment: MavenIssue_MPPDF-34_CannotReproduce_FuturaNotEmbedded.zip

In the attachment, a quick attempt to reproduce the problem (see the readme.txt)

Summary: 

I cannot reproduce the problem. Embedding a base font like Arial, however, seems to make no sense.


The other problem which I cannot solve is: My licensed Futura is not embedded - nor do I see any message informing me about the reason. 


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
>  Attachments: MavenIssue_MPPDF-34_CannotReproduce_FuturaNotEmbedded.zip
>
>
> -------------------------------
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPPDF-34) Problem Embedding Arial Font

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-34?page=all ]

Arnaud Heritier updated MPPDF-34:
---------------------------------

    Assign To:     (was: Arnaud Heritier)

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPPDF-34) Problem Embedding Arial Font

Posted by "Valerie Nyre (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org