/usr/include/hpdf_conf.h is in libhpdf-dev 2.3.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /*
* << Haru Free PDF Library >> -- hpdf_conf.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
* It is provided "as is" without express or implied warranty.
*
*/
#ifndef _HPDF_CONF_H
#define _HPDF_CONF_H
#include <stdlib.h>
#include <stdio.h>
#if defined(_MSC_VER)
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES 1
#endif /* _USE_MATH_DEFINES */
#endif
#ifndef __USE_XOPEN
#define __USE_XOPEN /* for M_PI */
#endif /* __USE_XOPEN */
#include <math.h>
/*----------------------------------------------------------------------------*/
/*----- standard C library functions -----------------------------------------*/
#define HPDF_FOPEN fopen
#define HPDF_FCLOSE fclose
#define HPDF_FREAD fread
#define HPDF_FWRITE fwrite
#define HPDF_FFLUSH fflush
#define HPDF_FSEEK fseek
#define HPDF_FTELL ftell
#define HPDF_FEOF feof
#define HPDF_FERROR ferror
#define HPDF_MALLOC malloc
#define HPDF_FREE free
#define HPDF_FILEP FILE*
#define HPDF_TIME time
#define HPDF_PRINTF printf
#define HPDF_SIN sin
#define HPDF_COS cos
/*----------------------------------------------------------------------------*/
/*----- parameters in relation to performance --------------------------------*/
/* default buffer size of memory-stream-object */
#define HPDF_STREAM_BUF_SIZ 4096
/* default array size of list-object */
#define HPDF_DEF_ITEMS_PER_BLOCK 20
/* default array size of cross-reference-table */
#define HPDF_DEFALUT_XREF_ENTRY_NUM 1024
/* default array size of widths-table of cid-fontdef */
#define HPDF_DEF_CHAR_WIDTHS_NUM 128
/* default array size of page-list-tablef */
#define HPDF_DEF_PAGE_LIST_NUM 256
/* default array size of range-table of cid-fontdef */
#define HPDF_DEF_RANGE_TBL_NUM 128
/* default buffer size of memory-pool-object */
#define HPDF_MPOOL_BUF_SIZ 8192
#define HPDF_MIN_MPOOL_BUF_SIZ 256
#define HPDF_MAX_MPOOL_BUF_SIZ 1048576
/* alignment size of memory-pool-object
*/
#define HPDF_ALIGN_SIZ sizeof int;
#endif /* _HPDF_CONF_H */
|