We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following pos-tip-show call displays correctly when Emacs is started with -Q.
pos-tip-show
-Q
(require 'pos-tip) (pos-tip-show "‘eldoc--message’")
Screenshot
However, adding the symbol font and setting (setq use-default-font-for-symbols nil) will cause pos-tip-show displays incorrectly.
(setq use-default-font-for-symbols nil)
(set-face-attribute 'default nil :font (font-spec :family "Courier New" :size 14)) (setq use-default-font-for-symbols nil) (set-fontset-font t 'symbol (font-spec :family "Segoe UI Symbol" :size 14) nil 'prepend) (require 'pos-tip) (pos-tip-show "‘eldoc--message’") ;
It can only display two characters.
Removing the line (setq use-default-font-for-symbols nil) or set t (default) can workaround the problem but we have to (setq use-default-font-for-symbols nil) for some reason, see https://emacs.stackexchange.com/questions/81051/how-can-i-override-character-ranges-in-default-font
t
Environment: Emacs 29.3 on Windows 10 with pos-tip 0.4.7
Thanks.
Related issue: #23
The text was updated successfully, but these errors were encountered:
So, essentially, any fontset use breaks string width calculation. How fascinating. I'll take a look.
Sorry, something went wrong.
Has it been a month already? Time flies.
Anyway, this seems to be Windows-specific. It does not reproduce on my Linux machine. I'll need to take a look on my other PC.
No branches or pull requests
The following
pos-tip-show
call displays correctly when Emacs is started with-Q
.Screenshot
However, adding the symbol font and setting
(setq use-default-font-for-symbols nil)
will causepos-tip-show
displays incorrectly.Screenshot
It can only display two characters.
Removing the line
(setq use-default-font-for-symbols nil)
or sett
(default) can workaround the problem but we have to(setq use-default-font-for-symbols nil)
for some reason, see https://emacs.stackexchange.com/questions/81051/how-can-i-override-character-ranges-in-default-fontEnvironment: Emacs 29.3 on Windows 10 with pos-tip 0.4.7
Thanks.
Related issue: #23
The text was updated successfully, but these errors were encountered: