[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    RE: Font metric file loaded issue.
From:       A Gian <a.yannim () hotmail ! com>
Date:       2015-01-14 15:14:35
Message-ID: DUB110-W748DA6F3278D464735C1049C410 () phx ! gbl
[Download RAW message or body]

Hello, can you please provide  more information, as I find your message kind of \
confusing. Is there an apache fop jira ticket or an old post, describing the issue \
you are refering to (and if yes can you provide the link )?   Thanks,Thanasis  

> To: fop-users@xmlgraphics.apache.org
> From: asenthil007@gmail.com
> Subject: Font metric file loaded issue.
> Date: Wed, 14 Jan 2015 09:10:48 +0000
> 
> After very long search we got this solution from this site.
> 
> Thanks you very much....
> 
> 
> <font metrics-file="IntroRegular.xml" kerning="yes" embed-
> file="IntroRegular.ttf">
> <font-triplet name="Intro" style="normal" weight="normal"/>
> <font-triplet name="Intro" style="normal" weight="bold"/>
> 
> </font>  
> <font metrics-file="IntroBold.xml" kerning="yes" embed-
> file="IntroBold.ttf">
> <font-triplet name="IntroBold" style="normal" weight="bold"/>
> 
> </font>
> 
> code snniipet:
> 
> Driver driver = new Driver();  
> Options options = new Options();
> 	 
> options.loadUserconfiguration(this.getClass().getResourceAsStream("/fo
> nt/userconfig.xml"));
> URL url = this.getClass().getResource("/font/userconfig.xml");
> String extForm = url.toExternalForm(); 
> Configuration.put("baseDir",extForm);
> Configuration.put("fontBaseDir",extForm);
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
 		 	   		  


[Attachment #3 (text/html)]

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello, can you please provide &nbsp;more \
information, as I find your message kind of confusing.&nbsp;<div>Is there an apache \
fop jira ticket or an old post, describing the issue you are refering to (and if yes \
can you provide the link )? \
&nbsp;</div><div><br></div><div>Thanks,</div><div>Thanasis &nbsp;<br><br><div>&gt; \
To: fop-users@xmlgraphics.apache.org<br>&gt; From: asenthil007@gmail.com<br>&gt; \
Subject: Font metric file loaded issue.<br>&gt; Date: Wed, 14 Jan 2015 09:10:48 \
+0000<br>&gt; <br>&gt;  After very long search we got this solution from this \
site.<br>&gt; <br>&gt; Thanks you very much....<br>&gt; <br>&gt; <br>&gt; &lt;font \
metrics-file="IntroRegular.xml" kerning="yes" embed-<br>&gt; \
file="IntroRegular.ttf"&gt;<br>&gt;                 &lt;font-triplet name="Intro" \
style="normal" weight="normal"/&gt;<br>&gt;                 &lt;font-triplet \
name="Intro" style="normal" weight="bold"/&gt;<br>&gt;                 <br>&gt;   \
&lt;/font&gt;  <br>&gt;   &lt;font metrics-file="IntroBold.xml" kerning="yes" \
embed-<br>&gt; file="IntroBold.ttf"&gt;<br>&gt;                 &lt;font-triplet \
name="IntroBold" style="normal" weight="bold"/&gt;<br>&gt;                 <br>&gt;   \
&lt;/font&gt;<br>&gt; <br>&gt; code snniipet:<br>&gt; <br>&gt; Driver driver = new \
Driver();  <br>&gt;          Options options = new Options();<br>&gt; 	 <br>&gt; \
options.loadUserconfiguration(this.getClass().getResourceAsStream("/fo<br>&gt; \
nt/userconfig.xml"));<br>&gt;          URL url = \
this.getClass().getResource("/font/userconfig.xml");<br>&gt;          String extForm \
= url.toExternalForm(); <br>&gt;          \
Configuration.put("baseDir",extForm);<br>&gt;          \
Configuration.put("fontBaseDir",extForm);<br>&gt; <br>&gt; <br>&gt; \
---------------------------------------------------------------------<br>&gt; To \
unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org<br>&gt; For \
additional commands, e-mail: fop-users-help@xmlgraphics.apache.org<br>&gt; \
<br></div></div> 		 	   		  </div></body> </html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic