Re: New User needs assistance

2006-05-01 Thread CalvinD

That was it. Now all I have to do is figure out how to use it.
Thanks
Calvin
--
View this message in context: 
http://www.nabble.com/New-User-needs-assistance-t1525633.html#a4172223
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error while creating metric file

2006-05-01 Thread Susant

Thank you Jeremi.

I was using that logo as an image with a very high resolution. Let me try it
out with svg.
Is there any way to add a cmap table in these kind of fonts? Because i still
have a whole set of fonts which has the same problem. My FOP version is
'0.20.5'.

Error message:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:449)
at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:439)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:222)
at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:184)

--
View this message in context: 
http://www.nabble.com/Error-while-creating-metric-file-t1398534.html#a4172244
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error while creating metric file

2006-05-01 Thread Jeremias Maerki
I guess it should be possible to add cmap tables with a font editor, but
I've never done this. The other option is to improve FOP to handle
TrueType fonts without a cmap table. I can't imagine that it's difficult,
it's just that somebody has to sit down and take it on.

On 01.05.2006 19:00:37 Susant wrote:
 
 Thank you Jeremi.
 
 I was using that logo as an image with a very high resolution. Let me try it
 out with svg.
 Is there any way to add a cmap table in these kind of fonts? Because i still
 have a whole set of fonts which has the same problem. My FOP version is
 '0.20.5'.
 
 Error message:
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 at java.util.ArrayList.RangeCheck(ArrayList.java:507)
 at java.util.ArrayList.get(ArrayList.java:324)
 at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:449)
 at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:439)
 at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:222)
 at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:184)


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



About FOP Web Service

2006-05-01 Thread anand kumar
Hi,I came across a page which says there is a Web Service implementation of Apache FOP. However, the site mentioned (http://www.capescience.com/webservices/fop/index.shtml) doesn't exist anymore and I am being re-directed to another site. I couldn't find it there as well.  I am very interested on having a look at it. If possible, can you mail the source code if you have it? I am urgently in need of it. Please help.  Thanks a lot.Regards,Anand
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Re: About FOP Web Service

2006-05-01 Thread Patrick Paul

Try this link: http://xmlgraphics.apache.org/fop/trunk/servlets.html

Good luck,

Patrick

anand kumar wrote:


Hi,

I came across a page which says there is a Web Service implementation
of Apache FOP.  However, the site mentioned
( http://www.capescience.com/webservices/fop/index.shtml 
http://www.capescience.com/webservices/fop/index.shtml) doesn't exist

anymore and I am being re-directed to another site.  I couldn't find it
there as well.

I am very interested on having a look at it.  If possible, can you
mail the source code if you have it?  I am urgently in need of it. 
Please help.

Thanks a lot.

Regards,
Anand



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FOP generated pdf content to clipboard

2006-05-01 Thread Susant

When i copied a section of pdf and paste that on an editor or a
word-processor, it shows nothing and sometimes shows some zunk characters.

FOP Version: 0.20.5
Jdk Version: 1.4.2

Observation:
After copying text to ms-word, font name has some preceding characters like
'24Ea37a', though the output of the pdf seems correct.

I'm using font-triplet name(in userConfig.xml) as the same as font-name in
generated font-metrics file and also using the same font-name in FO.

Am i doing anything wrong?
--
View this message in context: 
http://www.nabble.com/FOP-generated-pdf-content-to-clipboard-t1535652.html#a4172265
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP generated pdf content to clipboard

2006-05-01 Thread Jeremias Maerki
You're not doing anything wrong. It's a FOP limitation. See here for
more information:
http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#embedding

On 01.05.2006 22:11:12 Susant wrote:
 
 When i copied a section of pdf and paste that on an editor or a
 word-processor, it shows nothing and sometimes shows some zunk characters.
 
 FOP Version: 0.20.5
 Jdk Version: 1.4.2
 
 Observation:
 After copying text to ms-word, font name has some preceding characters like
 '24Ea37a', though the output of the pdf seems correct.
 
 I'm using font-triplet name(in userConfig.xml) as the same as font-name in
 generated font-metrics file and also using the same font-name in FO.
 
 Am i doing anything wrong?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP generated pdf content to clipboard

2006-05-01 Thread Susant

Got the solution.

I was generating font-metrics using TTFReader with default settings, i just
added a switch '-enc ansi' and thing are doing well now.
--
View this message in context: 
http://www.nabble.com/FOP-generated-pdf-content-to-clipboard-t1535652.html#a4172312
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]