Permalink
Browse files

Adjust default fonts...

- It now defaults to 120-pt font for local display, and 140-pt when
  DISPLAY appears to be remote. That's to support my usual
  configuration of using ssh X forwarding to my Windows box, where the
  140-pt font looks better.
  • Loading branch information...
1 parent 8a0adcc commit d80a2e7980c9aa17d39b4280ebb1d2c8c3453e9d @candera committed Dec 10, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 colors.el
View
@@ -25,10 +25,13 @@
:height 160
:width normal))
((eq system-type 'gnu/linux)
- '(:foundry "unknown"
- :family "DejaVu Sans Mono"
+ `(:foundry "unknown"
+ :family "Courier 10 Pitch"
:weight normal
- :height 120
+ ;; We want to use a different font if we're doing remote
+ ;; display back to Windows, so we look to see if DISPLAY
+ ;; is something like :0.0
+ :height ,(if (string= (substring (getenv "DISPLAY") 0 1) ":") 120 140)
:width normal))))))
;; '(mode-line ((((class color) (min-colors 88)) (:background "#8888ff" :foreground "black" :box (:line-width -1 :style released-button)))))
;; '(cursor ((t (:background "red"))))

0 comments on commit d80a2e7

Please sign in to comment.