Searched refs:UNITS_PER_EM (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/fonttosfnt/dist/
H A Dfonttosfnt.h71 #define UNITS_PER_EM 2048 macro
77 round(((double)(x)) / TWO_SIXTEENTH * UNITS_PER_EM)
79 floor(((double)(x)) / TWO_SIXTEENTH * UNITS_PER_EM)
81 ceil(((double)(x)) / TWO_SIXTEENTH * UNITS_PER_EM)
H A Dwrite.c550 writeUSHORT(out, UNITS_PER_EM); /* unitsPerEm */
976 width = UNITS_PER_EM / 3;
1087 writeSHORT(out, UNITS_PER_EM / 5); /* ySubscriptXSize; */
1088 writeSHORT(out, UNITS_PER_EM / 5); /* ySubscriptYSize; */
1090 writeSHORT(out, UNITS_PER_EM / 5); /* ySubscriptYOffset; */
1091 writeSHORT(out, UNITS_PER_EM / 5); /* ySuperscriptXSize; */
1092 writeSHORT(out, UNITS_PER_EM / 5); /* ySuperscriptYSize; */
1094 writeSHORT(out, UNITS_PER_EM / 5); /* ySuperscriptYOffset; */
1097 writeSHORT(out, UNITS_PER_EM / 4); /* yStrikeoutPosition; */

Completed in 4 milliseconds