From 04caf11608d2db13eb6ed2ecc3d406e284b4c13c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 26 Sep 2018 12:13:47 -0400 Subject: [PATCH] [hb-view] Change subpixel bits from 8 to 6 To match FreeType units, such that FreeType gets correct size from us. This matters more now that we allow setting --ft-load-flags. --- util/hb-view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-view.cc b/util/hb-view.cc index ef75e6da7..69a4c9504 100644 --- a/util/hb-view.cc +++ b/util/hb-view.cc @@ -30,7 +30,7 @@ #include "view-cairo.hh" #define DEFAULT_FONT_SIZE 256 -#define SUBPIXEL_BITS 8 +#define SUBPIXEL_BITS 6 int main (int argc, char **argv)