shithub: freetype+ttf2subf

Download patch

ref: 3da9d565ee639c50f8460697c084694bd766fd45
parent: 0fc54d0078a9c32a155e3c962a25d2bf19f88bb4
author: Tom Kacvinsky <[email protected]>
date: Wed Nov 22 22:43:14 EST 2000

In function T2_Get_String, we called T2_Get_Name with an string id
that was off by one.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/cff/t2load.c
+++ b/src/cff/t2load.c
@@ -302,7 +302,7 @@
   {
     /* if it is not a standard string, return it */
     if ( sid > 390 )
-      return T2_Get_Name( index, sid - 390 );
+      return T2_Get_Name( index, sid - 391 );
 
     /* that's a standard string, fetch a copy from the PSName module */
     {