Lines Matching defs:font

44     le_font *font = le_simpleFontOpen(12, &status);
45 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status);
185 le_fontClose(font);
193 le_font *font = le_simpleFontOpen(12, &status);
199 engine = le_create(font, scriptCode, -1, 0, &status);
208 le_fontClose(font);
216 le_font *font = le_simpleFontOpen(12, &status);
217 le_engine *engine =le_create(font, arabScriptCode, -1, 0, &status);
284 le_fontClose(font);
339 static void checkFontVersion(le_font *font, const char *testVersionString,
342 le_uint32 fontChecksum = le_getFontChecksum(font);
345 const char *fontVersionString = le_getNameString(font, NAME_VERSION_STRING,
350 uFontVersionString = le_getUnicodeNameString(font, NAME_VERSION_STRING,
354 log_info("Test %s: this may not be the same font used to generate the test data.\n", testID);
357 log_info("Your font's version string is \"%S\"\n", uFontVersionString);
358 le_deleteUnicodeNameString(font, uFontVersionString);
360 log_info("Your font's version string is \"%s\"\n", fontVersionString);
361 le_deleteNameString(font, fontVersionString);
365 log_info("If you see errors, they may be due to the version of the font you're using.\n");
401 le_font *font;
405 font = le_portableFontOpen(getPath(path, fontName), 12, &fontStatus);
408 log_info("Test %s: can't open font %s - test skipped.\n", testID, fontName);
409 le_fontClose(font);
416 checkFontVersion(font, version, cksum, testID);
419 font = le_simpleFontOpen(12, &fontStatus);
422 return font;
454 le_font *font = openFont(fontName, fontChecksum, fontVersion, testID);
458 if (font == NULL) {
467 engine = le_create(font, scriptCode, languageCode, typoFlags, &status);
493 le_fontClose(font);
520 le_font *font;
645 font = le_simpleFontOpen(12, &status);
653 pl_addFontRun(fontRuns, font, charCount);
732 le_fontClose(font);