original commit: 9336628a90b137d5aff37d42f847170eb78c8770
This commit is contained in:
Robby Findler 2004-01-26 15:24:02 +00:00
parent 4d0fdd4624
commit d1228aad7f
2 changed files with 3 additions and 3 deletions

View File

@ -346,10 +346,10 @@
(define (set-standard-style-list-pref-callbacks)
(set-font-size (preferences:get 'framework:standard-style-list:font-size))
(set-font-name (preferences:get 'framework:standard-style-list:font-name))
(set-font-smoothing (preferences:get 'framework:standard-style-list:font-smoothing))
(set-font-smoothing (preferences:get 'framework:standard-style-list:smoothing))
(preferences:add-callback 'framework:standard-style-list:font-size (lambda (p v) (set-font-size v)))
(preferences:add-callback 'framework:standard-style-list:font-name (lambda (p v) (set-font-name v)))
(preferences:add-callback 'framework:standard-style-list:font-smoothing (lambda (p v) (set-font-smoothing v)))
(preferences:add-callback 'framework:standard-style-list:smoothing (lambda (p v) (set-font-smoothing v)))
(unless (member (preferences:get 'framework:standard-style-list:font-name) (get-face-list 'mono))
(preferences:set 'framework:standard-style-list:font-name (get-family-builtin-face 'modern))))

View File

@ -35,7 +35,7 @@
(lambda (x) (and (number? x) (exact? x) (integer? x) (positive? x))))
(preferences:set-default
'framework:standard-style-list:font-smoothing
'framework:standard-style-list:smoothing
'default
(lambda (x)
(memq x '(unsmoothed partly-smoothed smoothed default))))