[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: PFMReader help

Subject: RE: PFMReader help
From: "Bishop, Ryan" <Ryan.Bishop@xxxxxxxxxx>
Date: Wed, 21 Jan 2004 15:12:28 -0700
java jar classpath
Thanks! I took Andreas' tip and it worked. 

Next: (does this sound right?)

i have to add this to my config.xml inside <fonts></fonts>

  <fonts>	<font metrics-file="file.xml" kerning="yes" embed-file="file.pfb">  	<font-triplet name="AkzidenzGroteskBE-Bold" style="Bold"
weight="normal"/>  </font>


and then i should be able to reference my font with
<fo:block font-family="AkzidenzGroteskBE-Bold" font-style="Bold"
></fo:block>


this hasnt workedyet... is this what you all have done to use fonts? 
im not sure if i need  to set  <xsl:attribute-set name="font"> in my xsl
file?


thanks again
ryan







> ----------
> From: 	Tim Meals
> Reply To: 	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Sent: 	Wednesday, January 21, 2004 1:30 PM
> To: 	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: 	Re:  PFMReader help
> 
> Ryan --
> 
> This is a little off-topic, as it's a Java-related question, and not an  
> XSL one.  Running "java -jar" automatically nullifies any CLASSPATH or  
> -cp switch you send it.  You'll have to run "java -cp ${CLASSPATH}: 
> <whatever> org.apache.fop.fonts.apps.PFMReader" where <whatever> is the  
> classpath you're trying to append (maybe the FOP jar?).  Of course, if  
> you're in Windows, replace those ":" separators with ";" and the  
> ${CLASSPATH} with %CLASSPATH%.
> 
> You can get more information with java -? from the command line.  Hope  
> this helps.
> 
> Tim
> 
> On 01/21/04 13:03:27, "Bishop, Ryan" wrote:
> > yeah no luck at all. i get the same error as the first try
> > 
> > i typed: java -cp {fullpaths to all .jar files}
> > org.apache.fop.fonts.apps.PFMReader {fullpath to pfm file} newfont. 
> > xml
> > 
> > returned: Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/avalon/framework/logger/AbstractLogEnabled        at
> > java.lang.ClassLoader.defineClass0(Native Method)
> > 
> > i should be able to type : java org.apache.fop.fonts.apps.PFMReader
> > to know if the PFMReader is working... correct?
> > 
> > also tells me
> > Usage: java [-options] class [args...]           (to execute a class)
> >  or  java -jar [-options] jarfile [args...]           (to execute a
> > jar file)
> > where exactly is the PFMReader? i should be able to access it with
> > 
> > thanks again
> > ryan
> > 
> > 
> > 
> > 
> > 
> > > ----------
> > > From: 	owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx on behalf of
> > > J.Pietschmann
> > > Reply To: 	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Sent: 	Wednesday, January 21, 2004 12:31 PM
> > > To: 	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject: 	Re:  PFMReader help
> > >
> > > Bishop, Ryan wrote:
> > > > java -jar -cp {with full complete paths to all the jar files}
> > > > and return: Exception in thread "main" java.util.zip. 
> > ZipException:
> > No
> > > such
> > > > file or directory        at java.util.zip.ZipFile.open(Native
> > Method)
> > >
> > > The -jar flag requires an argument, which causes the exception.
> > There
> > > is no prepared jar for the reader, so try again without the -jar
> > flag.
> > > Don't forget to add the org.apache.fop.fonts.apps.PFMReader and the
> > > command line flags.
> > >
> > > J.Pietschmann
> > >
> > >  XSL-List info and archive:   
> > http://www.mulberrytech.com/xsl/xsl-list
> > >
> > >
> > 
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > 
> > 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.