/usr/include/fontforge/mem.h is in libfontforge-dev 1:20170731~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 | #ifndef FONTFORGE_MEM_H
#define FONTFORGE_MEM_H
#include "../inc/basics.h"
#include <inc/fontforge-config.h>
// FIXME: move from splinefont.h to a separate header
#ifdef FONTFORGE_CONFIG_USE_DOUBLE
# define real double
# define bigreal double
#else
# define real float
# define bigreal double
#endif
extern int32 memlong(uint8 *data, int len, int offset);
extern int memushort(uint8 *data, int len, int offset);
extern void memputshort(uint8 *data, int offset, uint16 val);
extern int getushort(FILE *ttf);
extern int get3byte(FILE *ttf);
extern int32 getlong(FILE *ttf);
extern real getfixed(FILE *ttf);
extern real get2dot14(FILE *ttf);
#endif /* FONTFORGE_MEM_H */
|