Lines Matching refs:metrics
77 jint fmType; /* fractional metrics - on/off */
441 jobject metrics;
462 metrics = (*env)->NewObject(env,
467 return metrics;
472 it seems there is no way to adjust metrics accordingly.
480 TODO: In vertical direction we could do better job and adjust metrics
485 scalerInfo->face->size->metrics.y_scale)/24;
489 /**** Note: only some metrics are affected by styling ***/
495 (jlong) scalerInfo->face->size->metrics.y_scale));
500 (jlong) scalerInfo->face->size->metrics.y_scale));
508 (jlong) scalerInfo->face->size->metrics.y_scale))
512 scalerInfo->face->size->metrics.max_advance +
514 OBLIQUE_MODIFIER(scalerInfo->face->size->metrics.height));
517 metrics = (*env)->NewObject(env,
522 return metrics;
535 /* This method is rarely used because requests for metrics are usually
537 (to find out metrics we need to hint glyph).
571 jlong pScaler, jint glyphCode, jobject metrics) {
586 (*env)->SetFloatField(env, metrics, sunFontIDs.xFID, info->advanceX);
587 (*env)->SetFloatField(env, metrics, sunFontIDs.yFID, info->advanceY);