diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2009-12-01 23:50:21 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2009-12-01 23:50:21 +0000 |
commit | 028c7f711a944bc0c86a0946cea86f087d8ce2a9 (patch) | |
tree | e1f164c46cdff61056a49650d61f516f37238d15 /lib | |
parent | 973fb6af06b904bdaf2cbc870c4393d9b3d88860 (diff) |
tidy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicode-tokens.el | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/unicode-tokens.el b/lib/unicode-tokens.el index 15c79fda..d95d6f99 100644 --- a/lib/unicode-tokens.el +++ b/lib/unicode-tokens.el @@ -282,14 +282,6 @@ This is used for an approximate reverse mapping, see `unicode-tokens-paste'.") ;; "The font used for large symbols." ;; :group 'unicode-tokens-faces) -;; note: -;; Sometimes have difficulty selecting font from :font -;; (set-face-attribute 'unicode-tokens-script-font-face nil :font "URW Chancery L Medium Italic 12") -;; fails with 'no font available' but -;; (set-face-attribute 'unicode-tokens-script-font-face nil :family "URW Chancery L") -;; works. - - (defface unicode-tokens-script-font-face '((t :family "URW Chancery L" :slant italic)) "Script font face." @@ -1183,7 +1175,8 @@ Commands available are: "A subroutine of `unicode-tokens-set-font-var'." (let (spec) (when font - ;; sometimes (on Linux/xft) :font doesn't work but :family does. + ;; Trac #311 - sometimes (on Linux/xft) :font doesn't work but + ;; :family does. (condition-case nil (set-face-attribute fontvar (selected-frame) ;; da: don't try to reset these for token fonts. |