Closed Khoulaiz closed 2 years ago
I forgot to mention: My current workaround is to add the following to dotspacemacs/user-config
(unicode-fonts-setup)
After that I of course still have the annoying warning, but the fonts and ligatures are working as expected.
does checking out https://github.com/syl20bnr/spacemacs/commit/9010d8d3cae530b5a29e6b34883f860d411088d0 fix it?
does checking out https://github.com/syl20bnr/spacemacs/commit/9010d8d3cae530b5a29e6b34883f860d411088d0 fix it?
No, but I guess that's the wrong commit. I am already on develop
btw.
The commit that breaks it is the recent unicode change 4f6413e82ff9778e7ac1e85ece6b3218f0c888e4
@Khoulaiz
If https://github.com/syl20bnr/spacemacs/commit/4f6413e82ff9778e7ac1e85ece6b3218f0c888e4 breaks it as you said, then https://github.com/syl20bnr/spacemacs/commit/9010d8d3cae530b5a29e6b34883f860d411088d0 certainly should fix it, because that's before the changes made to unicode-fonts layer.
@Khoulaiz
What if you change this line https://github.com/syl20bnr/spacemacs/blob/c5c69ce239577ce1e0fb468698d7aeb2453a6cbb/layers/%2Bfonts/unicode-fonts/packages.el#L41 to
'(decorative low-quality-glyphs)))
| If https://github.com/syl20bnr/spacemacs/commit/4f6413e82ff9778e7ac1e85ece6b3218f0c888e4 breaks it as you said, then https://github.com/syl20bnr/spacemacs/commit/9010d8d3cae530b5a29e6b34883f860d411088d0 certainly should fix it, because that's before the changes made to unicode-fonts layer.
Ahh, you meant going back to that commit. Yes, everything works fine up to the breaking commit.
What if you change this line
to
'(decorative low-quality-glyphs)))
That did the trick for me. No warning anymore and ligatures are working without my workaround from above.
BTW: my settings are
dotspacemacs-enable-server t
dotspacemacs-persistent-server nil
I will push the fix (along with a few other small changes) after I finished my work at hand. (Hopefully this week)
any update for this issue? I still have the problem with the newest version
I've not got time. PR is welcomed.
You want a PR for the one-line fix you already suggested above? I can do that if you want, but you wanted to add some more unicode related stuff as well. I can't deliver that, though
for me it shows Error (use-package): unicode-fonts/:init: Symbol’s value as variable is void: \.\.\.
I had to manually add lines with the corresponding variables in the function to even get the names to show up in the warning..
after applying the lines from @lebensterben it still shows this message..
Looks like unicode-fonts//setup-fonts
is void, too, which is super weird..
Any idea on why this is happening?
(I'm on the latest dev commit and all updated packages with emacs 28.2)
Description :octocat:
Unicode Package in Spacemacs causes error in init function and fonts are not loaded correctly.
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart:
Expected behaviour: :heart: :smile:
System Info :computer:
Backtrace :paw_prints: