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]



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 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]



RE: Error while creating metric file

2006-04-28 Thread Susant

Archna,
I would like to know how you generated the metrics file for that OCR font.
I've a font that generates a logo which says it's a TrueType font, but
complains while generating metrics file using TTFReader.

Suggestion would be appreciated.

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


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