Lines Matching full:hinting
1348 * we want to retain hinting in the direction orthogonal to the baseline.
1349 * e.g. for horizontal baseline, we want to retain hinting in Y.
1350 * The way we remove hinting is to scale the font by some value (4) in that
1359 // now see if we need to restore hinting for axis-aligned baselines
1362 scaleY = SK_Scalar1; // want hinting in the Y direction
1365 scaleX = SK_Scalar1; // want hinting in the X direction
1962 // Normal hinting will cause the A8 masks to be generated from CoreGraphics subpixel masks.
1976 // Only two levels of hinting are supported.
1979 // If there is no lcd support, hinting (dilation) cannot be supported.
1980 SkPaint::Hinting hinting = rec->getHinting();
1981 if (SkPaint::kSlight_Hinting == hinting || !lcdSupport) {
1982 hinting = SkPaint::kNo_Hinting;
1983 } else if (SkPaint::kFull_Hinting == hinting) {
1984 hinting = SkPaint::kNormal_Hinting;
1986 rec->setHinting(hinting);
1991 // so arbitrarilly ignore the hinting request and honor lcd.
1993 // Hinting and smoothing should be orthogonal, but currently they are not.
1994 // CoreGraphics has no API to influence hinting. However, its lcd smoothed
2004 // Currenly side with LCD, effectively ignoring the hinting setting.
2026 if (SkMask::kA8_Format == rec->fMaskFormat && SkPaint::kNo_Hinting == hinting) {