GNU bug report logs -
#39482
26.3; set-fontset-font with emacs charset does not work correctly
Previous Next
Reported by: ynyaaa <at> gmail.com
Date: Fri, 7 Feb 2020 15:12:02 UTC
Severity: normal
Tags: moreinfo
Found in version 26.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: ynyaaa <at> gmail.com
> Cc: 39482 <at> debbugs.gnu.org
> 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.
This bug report was last modified 3 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.