summaryrefslogtreecommitdiff
path: root/personal/itches/emacs/cairo-hint-style.org
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-05-19 11:12:24 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-05-19 11:12:55 +0200
commitbca35afd1156dd59e60ffabd1ef50355398e5cdc (patch)
treee1836e0adf85e5b2c71dfe5943fc657d533b9399 /personal/itches/emacs/cairo-hint-style.org
parentfeba5646fc3b884c1ca4c166ba787422dadb14c3 (diff)
downloadmemory-leaks-bca35afd1156dd59e60ffabd1ef50355398e5cdc.tar.xz
Merge itches for Cairo bug and emoji support
Diffstat (limited to 'personal/itches/emacs/cairo-hint-style.org')
-rw-r--r--personal/itches/emacs/cairo-hint-style.org37
1 files changed, 0 insertions, 37 deletions
diff --git a/personal/itches/emacs/cairo-hint-style.org b/personal/itches/emacs/cairo-hint-style.org
deleted file mode 100644
index 4f3b0ea..0000000
--- a/personal/itches/emacs/cairo-hint-style.org
+++ /dev/null
@@ -1,37 +0,0 @@
-* patch
-
-I find that this patch makes fonts less "aggressively sharp" with
-Cairo builds:
-
-#+BEGIN_SRC diff
-diff --git a/src/ftcrfont.c b/src/ftcrfont.c
-index e7c73eac4d..51890dc18c 100644
---- a/src/ftcrfont.c
-+++ b/src/ftcrfont.c
-@@ -146,6 +146,7 @@ ftcrfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
- cairo_matrix_init_scale (&font_matrix, pixel_size, pixel_size);
- cairo_matrix_init_identity (&ctm);
- cairo_font_options_t *options = cairo_font_options_create ();
-+ cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_SLIGHT);
- ftcrfont_info->cr_scaled_font =
- cairo_scaled_font_create (font_face, &font_matrix, &ctm, options);
- cairo_font_face_destroy (font_face);
-#+END_SRC
-
-
-* visual impact
-** desktop 1: small
-*** DVI-I-0 1680x1050 474mm x 296mm
-*** openSUSE Tumbleweed
-** desktop 2: big
-*** DP-2 1920x1080 509mm x 286mm
-*** Xubuntu 16.04
-** laptop: noticeable
-*** LVDS1 1024x600 230mm x 140mm
-*** Debian stretch
-
-
-* TODO if this is made configurable,
-** TODO what actions to take when the variable is set?
-** TODO add variable
-** TODO add customization spec