emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fail on osx between 2/4/2009 and 2/5/2009


From: William Xu
Subject: Re: fail on osx between 2/4/2009 and 2/5/2009
Date: Mon, 09 Feb 2009 22:39:26 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (darwin)

Will Farrington <address@hidden> writes:

> The error I'm seeing is:
>
> *ERROR*: Invalid script or charset name: mathematical-bold

Looks like some necessary updates is missing in
`international/characters.el' when: 

,----
| Author: Kenichi Handa <address@hidden>
| Date:   Thu Feb 5 06:23:19 2009 +0000
| 
|     (script-representative-chars): Remove
|     mathematical.
|     (setup-default-fontset): Add entries for each subgroup of
|     mathematical script.
`----

The following fixes the problem for me: 

diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index fd03468..97c2e59 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -1147,11 +1147,35 @@ Setup char-width-table appropriate for non-CJK language 
environment."
         (#x1D200 #x1D24F ancient-greek-musical-notation)
         (#x1D300 #x1D35F tai-xuan-jing-symbol)
         (#x1D360 #x1D37F counting-rod-numeral)
-        (#x1D400 #x1D7FF mathematical)
         (#x1F000 #x1F02F mahjong-tile)
         (#x1F030 #x1F09F domino-tile)
         (#x20000 #x2AFFF han)
-        (#x2F800 #x2FFFF han)))
+        (#x2F800 #x2FFFF han)
+         ;; math-subgroup
+         (#x1D400 #x1D433 mathematical-bold)
+         (#x1D434 #x1D467 mathematical-italic)
+         (#x1D468 #x1D49B mathematical-bold-italic)
+         (#x1D49C #x1D4CF mathematical-script)
+         (#x1D4D0 #x1D503 mathematical-bold-script)
+         (#x1D504 #x1D537 mathematical-fraktur)
+         (#x1D538 #x1D56B mathematical-double-struck)
+         (#x1D56C #x1D59F mathematical-bold-fraktur)
+         (#x1D5A0 #x1D5D3 mathematical-sans-serif)
+         (#x1D5D4 #x1D607 mathematical-sans-serif-bold)
+         (#x1D608 #x1D63B mathematical-sans-serif-italic)
+         (#x1D63C #x1D66F mathematical-sans-serif-bold-italic)
+         (#x1D670 #x1D6A3 mathematical-monospace)
+         (#x1D6A4 #x1D6A5 mathematical-italic)
+         (#x1D6A8 #x1D6E1 mathematical-bold)
+         (#x1D6E2 #x1D71B mathematical-italic)
+         (#x1D71C #x1D755 mathematical-bold-italic)
+         (#x1D756 #x1D78F mathematical-sans-serif-bold)
+         (#x1D790 #x1D7C9 mathematical-sans-serif-bold-italic)
+         (#x1D7CA #x1D7D7 mathematical-bold)
+         (#x1D7D8 #x1D7E1 mathematical-double-struck)
+         (#x1D7E2 #x1D7EB mathematical-sans-serif)
+         (#x1D7EC #x1D7F5 mathematical-sans-serif-bold)
+         (#x1D7F6 #x1D7FF mathematical-monospace)))
     (set-char-table-range char-script-table
                          (cons (car elt) (nth 1 elt)) (nth 2 elt))
     (or (memq (nth 2 elt) script-list)

-- 
William

http://xwl.appspot.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]