33 #define REALLY_QUOTE_IT(x) QUOTE_IT(x) 35 #define MAX_CUTOFF 1000 63 if (!shapetable_cutoffs_.
DeSerialize(swap, CutoffFile)) {
64 tprintf(
"Error during read of shapetable pffmtable!\n");
70 while ((end_offset < 0 || ftell(CutoffFile) < end_offset) &&
72 Class, &Cutoff) == 2) {
73 if (strcmp(Class,
"NULL") == 0) {
78 Cutoffs[ClassId] = Cutoff;
void ReadNewCutoffs(FILE *CutoffFile, bool swap, inT64 end_offset, CLASS_CUTOFF_ARRAY Cutoffs)
bool DeSerialize(bool swap, FILE *fp)
ShapeTable * shape_table_
uinT16 CLASS_CUTOFF_ARRAY[MAX_NUM_CLASSES]
int tfscanf(FILE *stream, const char *format,...)
const UNICHAR_ID unichar_to_id(const char *const unichar_repr) const
void SkipNewline(FILE *file)
#define REALLY_QUOTE_IT(x)