Commit 591a84de authored by James T. Lee's avatar James T. Lee
Browse files

Copy from puppet-manifests repository

parent 829ee6d1
# The baseline for module testing used by Puppet Inc. is that each manifest
# should have a corresponding test manifest that declares that class or defined
# type.
#
# Tests are then run by using puppet apply --noop (to check for compilation
# errors and view a log of events) or by fully applying the test in a virtual
# environment (to compare the resulting system state to the desired state).
#
# Learn more about module testing here:
# https://docs.puppet.com/guides/tests_smoke.html
#
include ::nest
diff --git a/ui/gfx/font_render_params_linux.cc b/ui/gfx/font_render_params_linux.cc
index 92f9edc5edd8..d0d4d3ee16c6 100644
--- a/ui/gfx/font_render_params_linux.cc
+++ b/ui/gfx/font_render_params_linux.cc
@@ -278,12 +278,6 @@ FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query,
params.hinting = FontRenderParams::HINTING_FULL;
params.subpixel_rendering = FontRenderParams::SUBPIXEL_RENDERING_NONE;
params.subpixel_positioning = false;
- } else {
- params.subpixel_positioning = actual_query.device_scale_factor > 1.0f;
-
- // To enable subpixel positioning, we need to disable hinting.
- if (params.subpixel_positioning)
- params.hinting = FontRenderParams::HINTING_NONE;
}
// Use the first family from the list if Fontconfig didn't suggest a family.
--- a/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2017-09-29 13:14:59.607873200 -0400
+++ b/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2017-09-29 13:15:06.452887969 -0400
@@ -677,11 +677,6 @@
// collapse full->normal hinting if we're not doing LCD
h = SkPaint::kNormal_Hinting;
}
- if ((rec->fFlags & SkScalerContext::kSubpixelPositioning_Flag)) {
- if (SkPaint::kNo_Hinting != h) {
- h = SkPaint::kSlight_Hinting;
- }
- }
// rotated text looks bad with hinting, so we disable it as needed
if (!isAxisAligned(*rec)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment