Home | History | Annotate | Download | only in ports

Lines Matching refs:Hinting

1261      *  we want to retain hinting in the direction orthogonal to the baseline.
1262 * e.g. for horizontal baseline, we want to retain hinting in Y.
1263 * The way we remove hinting is to scale the font by some value (4) in that
1269 // now see if we need to restore hinting for axis-aligned baselines
1272 scaleY = SK_Scalar1; // want hinting in the Y direction
1275 scaleX = SK_Scalar1; // want hinting in the X direction
2016 // Normal hinting will cause the A8 masks to be generated from CoreGraphics subpixel masks.
2030 // Only two levels of hinting are supported.
2033 // If there is no lcd support, hinting (dilation) cannot be supported.
2034 SkPaint::Hinting hinting = rec->getHinting();
2035 if (SkPaint::kSlight_Hinting == hinting || !lcdSupport) {
2036 hinting = SkPaint::kNo_Hinting;
2037 } else if (SkPaint::kFull_Hinting == hinting) {
2038 hinting = SkPaint::kNormal_Hinting;
2040 rec->setHinting(hinting);
2045 // so arbitrarilly ignore the hinting request and honor lcd.
2047 // Hinting and smoothing should be orthogonal, but currently they are not.
2048 // CoreGraphics has no API to influence hinting. However, its lcd smoothed
2058 // Currenly side with LCD, effectively ignoring the hinting setting.
2080 if (SkMask::kA8_Format == rec->fMaskFormat && SkPaint::kNo_Hinting == hinting) {