Lines Matching refs:hinting
1238 * we want to retain hinting in the direction orthogonal to the baseline.
1239 * e.g. for horizontal baseline, we want to retain hinting in Y.
1240 * The way we remove hinting is to scale the font by some value (4) in that
1249 // now see if we need to restore hinting for axis-aligned baselines
1252 scaleY = SK_Scalar1; // want hinting in the Y direction
1255 scaleX = SK_Scalar1; // want hinting in the X direction
1743 // Only two levels of hinting are supported.
1746 // If there is no lcd support, hinting (dilation) cannot be supported.
1747 SkPaint::Hinting hinting = rec->getHinting();
1748 if (SkPaint::kSlight_Hinting == hinting || !lcdSupport) {
1749 hinting = SkPaint::kNo_Hinting;
1750 } else if (SkPaint::kFull_Hinting == hinting) {
1751 hinting = SkPaint::kNormal_Hinting;
1753 rec->setHinting(hinting);
1758 // so arbitrarilly ignore the hinting request and honor lcd.
1760 // Hinting and smoothing should be orthogonal, but currently they are not.
1761 // CoreGraphics has no API to influence hinting. However, its lcd smoothed
1771 hinting setting.
1786 if (SkMask::kA8_Format == rec->fMaskFormat && SkPaint::kNo_Hinting == hinting) {