comparison lisp/msw-faces.el @ 414:da8ed4261e83 r21-2-15

Import from CVS: tag r21-2-15
author cvs
date Mon, 13 Aug 2007 11:21:38 +0200
parents 697ef44129c6
children
comparison
equal deleted inserted replaced
413:901169e5ca31 414:da8ed4261e83
37 37
38 38
39 (defun mswindows-init-frame-faces (frame) 39 (defun mswindows-init-frame-faces (frame)
40 ) 40 )
41 41
42 ;; Other functions expect these regexps
43 (defconst mswindows-font-regexp
44 (let
45 ((- ":")
46 (fontname "\\([a-zA-Z ]+\\)")
47 (weight "\\([a-zA-Z]*\\)?")
48 (style "\\( [a-zA-Z]*\\)?")
49 (pointsize "\\([0-9]+\\)?")
50 (effects "\\([a-zA-Z ]*\\)?")
51 (charset "\\([a-zA-Z 0-9]*\\)")
52 )
53 (concat "^"
54 fontname - weight style - pointsize - effects - charset "$")))
42 55
43 ;;; Fill in missing parts of a font spec. This is primarily intended as a 56 ;;; Fill in missing parts of a font spec. This is primarily intended as a
44 ;;; helper function for the functions below. 57 ;;; helper function for the functions below.
45 ;;; mswindows fonts look like: 58 ;;; mswindows fonts look like:
46 ;;; fontname[:[weight][ style][:pointsize[:effects]]][:charset] 59 ;;; fontname[:[weight][ style][:pointsize[:effects]]][:charset]