-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
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
Symbol being rendered from wrong font when face is modified #207
Comments
I'm particularly confused by the difference between
|
@andreyorst that looks like a bug in orgmode. @TikhonJelvis have you read the readme? |
@wyuenho I looked through the Readme and especially the troubleshooting guide when I was first setting this up. I'm pretty sure that it isn't an installation or caching issue, and I couldn't understand how to apply the suggestions in part 3 of the troubleshooting guide (Emacs configuration) when it seems to be a problem with font-lock overriding something (not sure what) rather than the icons not working in general. |
I don't think so. I tried this in Also the "org" symbol displays fine but changes to a circle like symbol when I restart emacs. |
any update on this? I'm experiencing the same font-lock issue I see that:
|
I can't reproduce this issue. This package has nothing to do with font-locking whatsoever, but it is possible for external code to change the text properties of certain glyphs. There are a couple of ways to debug this.
I can't help anyone unless someone provides me with the exact reproduction steps. |
@wyuenho here: bug.zip
|
I have the same issues as @Arian-D on WSL. I don't seem to have the issue on MacOS. In org-mode, the correct battery icon is only displayed correctly in the normal org-mode text. The wrong icon is displayed in the org source blocks (whether or not it is in a string): In elisp mode, the correct icon is normally correctly displayed, but it shows the wrong icon if I put it in a string (also not sure why this is different from an elisp source block in org-mode): Inspecting the symbol using For some reason the fontset is changed in the string... I tried to set |
I have the same issue on Emacs 29 but I think I had it with Emacs 28 too.
For example the folder icon in dired is wrong. |
Same issue without GDK scaling. |
emacs seems to pick up some installed fonts that then override the icons: I had this in
The "fix" was to remove |
I suspected that Computer Modern is used due to the edit: No, commenting these out doesn't change anything... I don't know, something sets these fontsets. I'll stop investigating for now, but spacemacs also contains more calls to |
Certain symbols are showing up incorrectly when the face is modified with font-lock or as part of my mode-line. I've run into this problem with a few different symbols like the Haskell logo and some of the link symbols (but not the one from the
material
font):The behavior is not consistent. When I set up my modeline to render a symbol using
all-the-icons-icon-for-buffer
,*.el
files rendered the Emacs symbol correctly, but my.emacs
file didn't.Just for reference, here's the function I used to set the major mode icon:
I am using version 20200411.520 of this package from Melpa with Emacs 26.3 on Linux. This problem seems to be related to #106, but my version of the package has the changes from that PR, and I don't know what else to try.
The text was updated successfully, but these errors were encountered: