Home | History | Annotate | Download | only in ports

Lines Matching defs:hinting

1318      *  we want to retain hinting in the direction orthogonal to the baseline.
1319 * e.g. for horizontal baseline, we want to retain hinting in Y.
1320 * The way we remove hinting is to scale the font by some value (4) in that
1329 // now see if we need to restore hinting for axis-aligned baselines
1332 scaleY = SK_Scalar1; // want hinting in the Y direction
1335 scaleX = SK_Scalar1; // want hinting in the X direction
1830 // Normal hinting will cause the A8 masks to be generated from CoreGraphics subpixel masks.
1844 // Only two levels of hinting are supported.
1847 // If there is no lcd support, hinting (dilation) cannot be supported.
1848 SkPaint::Hinting hinting = rec->getHinting();
1849 if (SkPaint::kSlight_Hinting == hinting || !lcdSupport) {
1850 hinting = SkPaint::kNo_Hinting;
1851 } else if (SkPaint::kFull_Hinting == hinting) {
1852 hinting = SkPaint::kNormal_Hinting;
1854 rec->setHinting(hinting);
1859 // so arbitrarilly ignore the hinting request and honor lcd.
1861 // Hinting and smoothing should be orthogonal, but currently they are not.
1862 // CoreGraphics has no API to influence hinting. However, its lcd smoothed
1872 // Currenly side with LCD, effectively ignoring the hinting setting.
1887 if (SkMask::kA8_Format == rec->fMaskFormat && SkPaint::kNo_Hinting == hinting) {