/* Dump FontMatrix. */ static void dumpFontMatrix(abfDumpCtx h, char *name, abfFontMatrix *FontMatrix) { if (!abfIsDefaultFontMatrix(FontMatrix)) { /* Print values with higher precision than dumpRealArray() provides */ int i; char *sep; fprintf(h->fp, "%-20s", name); sep = "{"; for (i = 0; i < FontMatrix->cnt; i++) { fprintf(h->fp, "%s%.8g", sep, FontMatrix->array[i]); sep = ","; } fprintf(h->fp, "}\n"); } }
/* Save normal FontMatrix. */ static void saveFontMatrix(DICT *dict, abfFontMatrix *FontMatrix) { if (!abfIsDefaultFontMatrix(FontMatrix)) { saveRealArrayOp(dict, 6, FontMatrix->array, cff_FontMatrix); } }