From: MORIOKA Tomohiko Date: Sun, 4 Apr 2010 18:31:35 +0000 (+0900) Subject: (www-glyph-generate-png): Support `=ruimoku-v6'. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=caccf2d6941810bfe53f59e48424693206f4da39;p=chise%2Fest.git (www-glyph-generate-png): Support `=ruimoku-v6'. (www-glyph-display-png): Support RUI6-hhhh; --- 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