You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Gerard BUNEL <ge...@ago.fr> on 2003/02/07 17:24:03 UTC

TTFReader problem

Hello,

I 've tried to use TTFReader to extract metrics from a font file from a
customer.
The process fail with the following exception:

D:\fop-0.20.4>java -cp build\fop.jar org.apache.fop.fonts.apps.TTFReader
D:\fop-
0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF ditimes.xml
TTF Reader v1.1.1

Reading D:\fop-0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF...

Number of glyphs in font: 170
Unicode cmap table not present
java.util.NoSuchElementException: Vector Enumeration
        at java.util.Vector$1.nextElement(Vector.java:303)
        at org.apache.fop.fonts.TTFFile.createCMaps(Unknown Source)
        at org.apache.fop.fonts.TTFFile.readFont(Unknown Source)
        at org.apache.fop.fonts.apps.TTFReader.loadTTF(Unknown Source)
        at org.apache.fop.fonts.apps.TTFReader.main(Unknown Source)

I've also tried using evaluation version of XEP and everything is
correct with it.
Any Idea ?

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
atlantide-rennes@ago.fr



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: TTFReader problem

Posted by Gerard BUNEL <ge...@ago.fr>.
That's done and that's OK.
Another problem but I'll see later
Thanks

Oleg Tkachenko a écrit :

> Gerard BUNEL wrote:
> > No, I'm using FOP-20.4
> So what? I told you, the bug was fixed (afaik) in FOP-0.20.5rc. Wanna
> get fixed vesion - upgrade to 0.20.5rc.
>
> --
> Oleg Tkachenko
> Multiconn Technologies, Israel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
atlantide-rennes@ago.fr



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: TTFReader problem

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Gerard BUNEL wrote:
> No, I'm using FOP-20.4
So what? I told you, the bug was fixed (afaik) in FOP-0.20.5rc. Wanna 
get fixed vesion - upgrade to 0.20.5rc.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: TTFReader problem

Posted by Gerard BUNEL <ge...@ago.fr>.
No, I'm using FOP-20.4

Oleg Tkachenko a écrit :

> Gerard BUNEL wrote:
>
> > I 've tried to use TTFReader to extract metrics from a font file from a
> > customer.
> > The process fail with the following exception:
> >
> > D:\fop-0.20.4>java -cp build\fop.jar org.apache.fop.fonts.apps.TTFReader
> > D:\fop-
> > 0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF ditimes.xml
> > TTF Reader v1.1.1
> >
> > Reading D:\fop-0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF...
> >
> > Number of glyphs in font: 170
> > Unicode cmap table not present
> > java.util.NoSuchElementException: Vector Enumeration
>
> AFAIR that was fixed couple of months ago, have you tried FOP 0.20.5rc?
> --
> Oleg Tkachenko
> Multiconn Technologies, Israel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
atlantide-rennes@ago.fr



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: TTFReader problem

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Gerard BUNEL wrote:

> I 've tried to use TTFReader to extract metrics from a font file from a
> customer.
> The process fail with the following exception:
> 
> D:\fop-0.20.4>java -cp build\fop.jar org.apache.fop.fonts.apps.TTFReader
> D:\fop-
> 0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF ditimes.xml
> TTF Reader v1.1.1
> 
> Reading D:\fop-0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF...
> 
> Number of glyphs in font: 170
> Unicode cmap table not present
> java.util.NoSuchElementException: Vector Enumeration

AFAIR that was fixed couple of months ago, have you tried FOP 0.20.5rc?
-- 
Oleg Tkachenko
Multiconn Technologies, Israel


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org