* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For


			
			
				LAYOUT
			
			
		
Werner Lemberg 21 years ago
parent 040616a116
commit 5a915c00e0
  1. 8
      ChangeLog
  2. 2
      src/cff/cffgload.c
  3. 3
      src/cff/cffload.c
  4. 2
      src/cff/cfftypes.h

@ -1,3 +1,11 @@
2003-12-19 Werner Lemberg <wl@gnu.org>
* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For
example, the Japanese Hiragino font already contains 15 subfonts.
* src/cff/cffload.c (cff_font_load): Deallocate `sids' array for
CID-keyed fonts.
2003-12-18 Werner Lemberg <wl@gnu.org>
* include/freetype/ttnameid.h (TT_ADOBE_ID_LATIN_1): New macro.

@ -663,6 +663,8 @@
CFF_Font cff = (CFF_Font)(face->extra.data);
/* XXX: What about CID-keyed fonts? */
bchar_index = cff_lookup_glyph_by_stdcharcode( cff, bchar );
achar_index = cff_lookup_glyph_by_stdcharcode( cff, achar );
}

@ -2267,6 +2267,9 @@
if ( error )
goto Exit;
}
else
/* CID-keyed fonts only need CIDs */
FT_FREE( font->charset.sids );
}
/* get the font name (/CIDFontName for CID-keyed fonts, */

@ -199,7 +199,7 @@ FT_BEGIN_HEADER
/* maximum number of sub-fonts in a CID-keyed file */
#define CFF_MAX_CID_FONTS 16
#define CFF_MAX_CID_FONTS 32
typedef struct CFF_FontRec_

Loading…
Cancel
Save