You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by to...@apache.org on 2001/04/16 18:07:34 UTC

cvs commit: xml-fop/src/org/apache/fop/fonts TTFFile.java

tore        01/04/16 09:07:34

  Modified:    src/org/apache/fop/fonts TTFFile.java
  Log:
  Submitted by:	Rafal Maczewski
  Fixes a signedness bug in handling cmaps that caused some fonts to be invalid.
  
  Revision  Changes    Path
  1.4       +2 -2      xml-fop/src/org/apache/fop/fonts/TTFFile.java
  
  Index: TTFFile.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fonts/TTFFile.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TTFFile.java	2001/03/22 18:16:10	1.3
  +++ TTFFile.java	2001/04/16 16:07:30	1.4
  @@ -1,4 +1,4 @@
  -/* -- $Id: TTFFile.java,v 1.3 2001/03/22 18:16:10 fotis Exp $ --
  +/* -- $Id: TTFFile.java,v 1.4 2001/04/16 16:07:30 tore Exp $ --
    *
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
  @@ -179,7 +179,7 @@
               int startRangeOffset = in.getCurrentPos();
   
               for (int i = 0; i < (cmap_segCountX2 / 2); i++) {
  -                cmap_rangeOffsets[i] = in.readTTFShort();
  +                cmap_rangeOffsets[i] = in.readTTFUShort();
               }
   
               int glyphIdArrayOffset = in.getCurrentPos();
  
  
  

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