From caccf2d6941810bfe53f59e48424693206f4da39 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Mon, 5 Apr 2010 03:31:35 +0900 Subject: [PATCH] (www-glyph-generate-png): Support `=ruimoku-v6'. (www-glyph-display-png): Support RUI6-hhhh; --- cwiki-glyph.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cwiki-glyph.el b/cwiki-glyph.el index cffdab6..dfcc901 100644 --- a/cwiki-glyph.el +++ b/cwiki-glyph.el @@ -57,6 +57,12 @@ char (decode-char '=big5-pua code-point) png-file (format "/opt/chisewiki/glyphs/%d/CDP/%04X.png" size code-point)) + ) + ((eq ccs '=ruimoku-v6) + (setq font "/usr/local/share/fonts/TrueType/Zinbun/rui6-eudc.ttf" + char (decode-char '=ucs code-point) + png-file (format "/opt/chisewiki/glyphs/%d/Ruimoku-v6/%04X.png" + size code-point)) )) (when font (if (= (call-process @@ -100,6 +106,12 @@ '=big5-cdp (string-to-int (match-string 1 char-rep) 16) size) + ) + ((string-match "^RUI6-\\([0-9A-F]+\\)" char-rep) + (www-glyph-generate-png + '=ruimoku-v6 + (string-to-int (match-string 1 char-rep) 16) + size) )) )) (when png-file -- 1.7.10.4