add test for bad missing-glyph handling
This commit is contained in:
parent
af9bab7426
commit
573ce9492a
|
@ -491,6 +491,14 @@
|
|||
|
||||
(void))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
(let ()
|
||||
(define bm (make-screen-bitmap 100 100))
|
||||
(define dc (make-object bitmap-dc% bm))
|
||||
(define-values (aw ah aa ad) (send dc get-text-extent "x " #f #t))
|
||||
(define-values (bw bh ba bd) (send dc get-text-extent "x ⇒ y" #f #t))
|
||||
(test #t 'no-missing-glyph-truncation (bw . > . aw)))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user