bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39482: 26.3; set-fontset-font with emacs charset does not work corre


From: Eli Zaretskii
Subject: bug#39482: 26.3; set-fontset-font with emacs charset does not work correctly
Date: Sun, 09 Feb 2020 19:19:59 +0200

> From: address@hidden
> Cc: address@hidden
> Date: Sat, 08 Feb 2020 11:27:53 +0900
> 
> #'setfontset-font does not work well if ADD argument is non-nil.
> In the example below, dummy3 should be added for both 199 and 200,
> but it is not added for 200.
> 
> (progn (set-fontset-font t 199 "dummy1")
>        (set-fontset-font t 200 "dummy2")
>        (set-fontset-font t '(199 . 200) "dummy3" nil 'append)
>        (mapcar (lambda (c) (cons c (aref (fontset-info t) c)))
>                '(199 200)))
> => ((199 ("-*-dummy1-*-*-*-*-*-*-*-*-*-*-*-*")
>          ("-*-dummy3-*-*-*-*-*-*-*-*-*-*-*-*"))
>     (200 ("-*-dummy2-*-*-*-*-*-*-*-*-*-*-*-*")))

There was an off-by-one error in this function, which is now fixed.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]