cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: Problems with font embedding
Date Wed, 06 Mar 2002 12:54:02 GMT
Actually (in cocoon\lib\core), you can get away with...

java -cp "..\optional\fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar"
org
.apache.fop.fonts.apps.TTFReader "d:\wrkfile2\fonts\ttf\b\BALLOONL.ttf"
metrics
.xml

J.

> -----Original Message-----
> From: Morrison, John [mailto:John.Morrison@uk.experian.com]
> Sent: Wednesday, 06 March 2002 12:51 pm
> To: 'cocoon-users@xml.apache.org'
> Subject: RE: Problems with font embedding
> 
> 
> java -cp
> "..\optional\fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar;xala
> n-2.3.1.jar;..\optional\batik-libs-1.1.1.jar"
> org.apache.fop.fonts.apps.TTFRead
> er "d:\wrkfile2\fonts\ttf\b\BALLOONL.ttf" metrics.xml
> TTF Reader v1.1.1
> 
> Reading d:\wrkfile2\fonts\ttf\b\BALLOONL.ttf...
> 
> Number of glyphs in font: 261
> Creating xml font file...
> 
> Creating CID encoded metrics
> Writing xml font file metrics.xml...
> 
> This font contains no embedding license restrictions
> 
> Works for me...
> 
> J.
> 
> > -----Original Message-----
> > From: Adnan Zelkanovic [mailto:a.zelkanovic@allgaeu.net]
> > Sent: Wednesday, 06 March 2002 12:37 pm
> > To: cocoon-users@xml.apache.org
> > Subject: AW: Problems with font embedding
> > 
> > 
> > yes, but I'm getting this error:
> > 
> > java.lang.NoClassDefFoundError: org/w3c/dom/html/HTMLDocument
> > 	at 
> > org.apache.xml.serialize.OutputFormat.whichMethod(OutputFormat
> > .java:884)
> > 	at 
> > org.apache.xml.serialize.OutputFormat.<init>(OutputFormat.java:316)
> > 	at 
> > org.apache.fop.fonts.apps.TTFReader.writeFontXML(TTFReader.java:201)
> > 	at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:155)
> > Exception in thread "main"
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Morrison, John [mailto:John.Morrison@uk.experian.com]
> > Gesendet: Mittwoch, 6. März 2002 13:33
> > An: 'cocoon-users@xml.apache.org'
> > Cc: 'Matthias Fischer'
> > Betreff: RE: Problems with font embedding
> > 
> > 
> > Sorry, that should have gone to the list.
> > 
> > Are you including xml-apis.jar in your classpath?
> > 
> > J.
> > 
> > > -----Original Message-----
> > > From: Matthias Fischer [mailto:m.fischer@abc-media.de]
> > > Sent: Wednesday, 06 March 2002 12:18 pm
> > > To: Morrison, John
> > > Subject: RE: Problems with font embedding
> > >
> > >
> > > Using the jar files.
> > >
> > >
> > > -----Original Message-----
> > > From: Morrison, John [mailto:John.Morrison@uk.experian.com]
> > > Sent: Wednesday, March 06, 2002 12:37 PM
> > > To: 'Matthias Fischer'
> > > Subject: RE: Problems with font embedding
> > >
> > >
> > > Hi, (I'm subscribed btw, you don't need to cc me :)
> > >
> > > The class you can't find (org.w3c.dom.ranges.DocumentRange) isn't
> > > part of _either_ FOP *or* Cocoon per se.
> > >
> > > In the current cvs of FOP it is delivered as part of 
> > xerces-1.4.3.jar.
> > > In the current (head) cvs of Cocoon it is delivered as part
> > > of xml-apis.jar.
> > >
> > > This is because Cocoon uses a later version (the current one) of
> > > xerces and xalan and this class (amongst many) have been split out
> > > into a seperate project (apis).  I don't know any other
> > > details - sorry.
> > >
> > > I have a question; are you trying to generate the font metric
> > > *using* Cocoon or using the jar files *supplied* with Cocoon?
> > >
> > > J.
> > >
> > 
> > 
> > ==============================================================
> > =========
> > Information in this email and any attachments are 
> > confidential, and may
> > not be copied or used by anyone other than the addressee, nor 
> > disclosed
> > to any third party without our permission.  There is no intention to
> > create any legally binding contract or other commitment 
> > through the use
> > of this email.
> > 
> > Experian Limited (registration number 653331).
> > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> > 
> > 
> ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message