diff lisp/font.el @ 4103:b4f4e0cc90f1

[xemacs-hg @ 2007-08-07 23:08:47 by aidan] Eliminate byte compiler warnings, give nicer errors in the absence of packages.
author aidan
date Tue, 07 Aug 2007 23:09:22 +0000
parents a5e2d0f90f97
children f5693b5f7f2d e214ff9f9507
line wrap: on
line diff
--- a/lisp/font.el	Tue Aug 07 21:51:12 2007 +0000
+++ b/lisp/font.el	Tue Aug 07 23:09:22 2007 +0000
@@ -49,7 +49,11 @@
    mswindows-font-regexp mswindows-canonicalize-font-name
    mswindows-parse-font-style mswindows-construct-font-style
    ;; #### perhaps we should rewrite font-warn to avoid the warning
-   font-warn))
+   ;;   Eh, now I look at the code, we definitely should. 
+   font-warn
+   fc-pattern-get-family fc-pattern-get-size fc-pattern-get-weight
+   fc-font-weight-translate-from-constant make-fc-pattern
+   fc-pattern-add-family fc-pattern-add-size))
 
 (globally-declare-boundp
  '(global-face-data