Re: [ft-devel] [patch] distinguish overlapped and unsorted segments in cmap format 4

2005-11-29 Thread Werner LEMBERG

 The problem I mentioned in the last mail is solved by replacing the
 bool `cmap-unsorted' by `cmap-flags.'  So here is the patch.

Both patches look good!  Please add them to the CVS.  I'll then run my
suite of bad and problematic fonts...


Werner


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] New warnings

2005-11-29 Thread Ismail Donmez
Hi all,

Looks like latest cmap commit introduced some new warnings:

freetype2/src/sfnt/ttcmap.c: In function `tt_cmap4_char_map_binary':
freetype2/src/sfnt/ttcmap.c:1036: warning: 'end' might be used uninitialized 
in this function
freetype2/src/sfnt/ttcmap.c:1038: warning: 'mid' might be used uninitialized 
in this function
freetype2/src/sfnt/ttcmap.c: In function `tt_cmap12_char_map_binary':
freetype2/src/sfnt/ttcmap.c:2049: warning: 'end' might be used uninitialized 
in this function
freetype2/src/sfnt/ttcmap.c:2050: warning: 'mid' might be used uninitialized 
in this function


Regards,
ismail


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] New warnings

2005-11-29 Thread Chia-I Wu
On Wed, Nov 30, 2005 at 01:06:58AM +0200, Ismail Donmez wrote:
Hi,

 Looks like latest cmap commit introduced some new warnings:
I've commit a fix.  Please test again. (they are false positive, btw)

-- 
Regards,
olv


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] A simple script to test

2005-11-29 Thread Chia-I Wu
Hi,

I've commit a patch to make ftdump support -c, show charmap contents.
With that, and the simple script `cmaptest' which can be found in the
attachment, you can easily test if things still work correctly.

The usage is ./cmaptest fonts-dir and it will show the differences.
Note that it assumes there is an unmodified version of freetype under
/usr/lib.

-- 
Regards,
olv
#!/bin/sh

[ -d $1 ] || exit

for i in $1/*.{ttf,TTF,ttc,TTC,otf,OTF}
do
  [ -f $i ] || continue

  fn=`basename $i`
  echo testing $fn

  LD_LIBRARY_PATH=/usr/lib ftdump -c -c $i  $fn.old
  ftdump -c -c $i  $fn.new

  diff -u $fn.old $fn.new || echo
  rm $fn.old $fn.new
done
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel