FDK/Tools/Programs/makeotf/source/cb.c
/* [fcdb callback] Add encoding from requested font record. */
[fcdb callback] Add encoding from requested font record.
[ fcdb callback ] Add encoding from requested font record .
static void fcdbAddEnc(void *ctx, int code, char *gname)
	{
	cbCtx h = ctx;
	if (h->mac.encoding == NULL)
		{
		int i;
		for (i = 0; i < 256; i++)
			h->fcdb.macenc[i] = ".notdef";
		h->mac.encoding = &h->fcdb.macenc;
		}
	h->fcdb.macenc[code] = gname;
	}
static void fcdbAddEnc ( void * ctx , int code , char * gname ) { cbCtx h = ctx ; if ( h -> mac . encoding == NULL ) { int i ; for ( i = 0 ; i < 256 ; i ++ ) h -> fcdb . macenc [ i ] = " " ; h -> mac . encoding = & h -> fcdb . macenc ; } h -> fcdb . macenc [ code ] = gname ; }
[fcdb callback] Add encoding from requested font record.
[ fcdb callback ] Add encoding from requested font record .
/* Initialize encoding accumulator */