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