  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Problems with reading a TTF font | Problems with reading a TTF font 2007-06-26 - By Schal?ck, Elmar
Back Hi, anyone got a similar problem? I am embedding a free TTF font (DejaVu-Mono,http://dejavu.sourceforge.net/) read in via resources in a web environment. In some strange situations (not within Eclipse-DIE, but within ant unit tests from command line) I have a java.lang.NegativeArraySizeException thrown from TrueTypeFont.readFormat4 in the line int glyphId[] = new int[table_lenght / 2 - 8 - segCount * 4]; BTW, table_lenght was odd, not even.
Don't know whats the problem. Thanks for any hints Elmar
Mit freundlichem Gru?
Dr. Elmar Schal?ck
Produkte und L?sungen Leiter Research und Professional Services
Erfolg durch L?sungen
Ceyoniq Technology GmbH
Boulevard 9
33613 Bielefeld
Tel. +49 (0)5 21/93 18-2150 Fax +49 (0)5 21/93 18 88-2150 E-Mail: e.schalueck@(protected)
www.ceyoniq.com <http://www.ceyoniq.com/>
__ ____ ____ ____ ____ ____ Gesch?ftsf?hrer: Andr? Ferlings Amtsgericht Bielefeld HRB 37641 USt-IdNr.: DE813503229
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |