I believe there is a bug in the opentype validator.

If I have a MarkToBase table with multiple mark classes and multiple
bases, and where at least one base is missing an attachment site
(anchor) for at least one mark class, then the validator will still
attempt to validate the missing anchor. (and often fail if the bass
array table doesn't look like an anchor.)

I believe that valid->extra2 should be set to 1 in
otv_MarkBasePos_validate. This will allow for a NULL anchor.


--- otvgpos.c~  2008-06-15 07:33:42.000000000 -0700
+++ otvgpos.c   2008-06-15 07:45:32.000000000 -0700
@@ -664,7 +664,7 @@
     switch ( PosFormat )
     {
     case 1:
-      valid->extra2 = 0;
+      valid->extra2 = 1;
       OTV_NEST2( MarkBasePosFormat1, BaseArray );
       OTV_RUN( table, valid );
       break;
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to