[hb-view] Change subpixel bits from 8 to 6
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 26 Sep 2018 16:13:47 +0000 (12:13 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 26 Sep 2018 16:13:47 +0000 (12:13 -0400)
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

index ef75e6d..69a4c95 100644 (file)
@@ -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)