summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--personal/itches/emacs/bulk.md18
-rw-r--r--personal/itches/emacs/cairo-hint-style.org37
-rw-r--r--personal/itches/emacs/emoji.org29
4 files changed, 30 insertions, 56 deletions
diff --git a/README.md b/README.md
index 3c780a7..0b998fc 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Peniblec's Memory Leaks
-## still reachable: 8326 words in 19 pages
+## still reachable: 8232 words in 19 pages
Hi! I am a software engineer interested in [a bunch of things].
diff --git a/personal/itches/emacs/bulk.md b/personal/itches/emacs/bulk.md
index 21dc52f..17554c6 100644
--- a/personal/itches/emacs/bulk.md
+++ b/personal/itches/emacs/bulk.md
@@ -164,24 +164,6 @@
paragraphs; somehow transient-mark-mode knows not to highlight this
space, maybe the answer lies there
-## Emoji support
-
-When built `--with-cairo`, it seems that Emacs can
-[now][emacs-devel-emoji] display color Emojis.
-
-Some remaining issues:
-
-- not sure whether combining ZWJ sequences work…?
-- no convenient way to `set-fontset-font` e.g. Noto Color Emoji for
- "all emojis"; valid TARGETs for this function are
- - single characters
- - character ranges
- - scripts, as defined in `script-representative-chars`
- - charsets
- - nil ≑ any character not already covered by another font-spec
-
-[emacs-devel-emoji]: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00996.html
-
## Ellipses customization
Make ellipses for "invisible" text easily customizable (src/xdisp.c).
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
diff --git a/personal/itches/emacs/emoji.org b/personal/itches/emacs/emoji.org
new file mode 100644
index 0000000..768eadf
--- /dev/null
+++ b/personal/itches/emacs/emoji.org
@@ -0,0 +1,29 @@
+Support for color fonts has landed on version 27.0 (master).
+Remaining issues:
+
+* Fix font-hinting =--with-cairo=
+
+See bug#35781. Potentially useful reading:
+
+- https://bugs.freedesktop.org/show_bug.cgi?id=11838
+- https://unix.stackexchange.com/questions/321857/why-is-xft-ignoring-font-settings
+
+* Check whether combining sequences work
+
+For example:, regional flags, ZWJ sequences from
+
+- ZWJ sequences from
+ <https://unicode.org/emoji/charts/emoji-zwj-sequences.html>:
+ - πŸ§Ÿβ€β™‚οΈ, πŸ§Ÿβ€β™€οΈ
+ - πŸ•β€πŸ¦Ί
+- regional indicators: πŸ‡ͺπŸ‡Ί, πŸ‡«πŸ‡·
+
+* Add a convenient way to set a font for all emojis
+
+AFAICT there is no convenient way to =set-fontset-font= e.g. Noto
+ Color Emoji for "all emojis"; valid TARGETs for this function are
+ - single characters
+ - character ranges
+ - scripts, as defined in =script-representative-chars=
+ - charsets
+ - nil = any character not already covered by another font-spec