aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/term/w32-win.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 80afcb36040..5d1dc606676 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -532,7 +532,7 @@ characters from these blocks.")
532 (let (val) 532 (let (val)
533 (dolist (elt script-representative-chars) 533 (dolist (elt script-representative-chars)
534 (let ((subranges w32-no-usb-subranges) 534 (let ((subranges w32-no-usb-subranges)
535 (chars (cdr elt)) 535 (chars (append (cdr elt) nil)) ; handle vectors as well
536 ch found subrange) 536 ch found subrange)
537 (while (and (consp chars) (not found)) 537 (while (and (consp chars) (not found))
538 (setq ch (car chars) 538 (setq ch (car chars)
@@ -595,7 +595,11 @@ default font on FRAME, or its best approximation."
595 0 nchars script-chars) 595 0 nchars script-chars)
596 '[nil])) 596 '[nil]))
597 ;; Does this font support ALL of the script's 597 ;; Does this font support ALL of the script's
598 ;; representative characters? 598 ;; representative characters? Note that, when the
599 ;; representative characters are specified as a
600 ;; vector, this is a more stringent test than font
601 ;; selection does, because supporting _any_
602 ;; character from the vector is enough.
599 (setq idx 0) 603 (setq idx 0)
600 (while (and (< idx nchars) (not (null (aref glyphs idx)))) 604 (while (and (< idx nchars) (not (null (aref glyphs idx))))
601 (setq idx (1+ idx))) 605 (setq idx (1+ idx)))