Comments (5)
Found a band-aid fix.
The issue is that in nyan.el, for some reason when the .xpm
images are created in nyan-cat-image
and nyan-animation-frames
, the scaling wasn't automatically inferred by create-image
even though it's supposed to.
Fix: add the following code to init file after the lines where you (nyan-mode t)
:
(setq nyan-cat-image
(create-image nyan-cat-face-image 'xpm nil :scale 2 :ascent 'center))
(setq nyan-animation-frames
(mapcar
(lambda (id)
(create-image (concat nyan-directory (format "img/nyan-frame-%d.xpm" id))
'xpm nil :scale 2 :ascent 95))
'(1 2 3 4 5 6)))
from nyan-mode.
nyan-mode works perfectly when I use 1.00x scaling but when I increase the scaling I face this same problem.
from nyan-mode.
I kinda found a way to make it somewhat better, locally. All you need to do Is resize all of the xpm images equally in the img folder to suit your particular scaling.
from nyan-mode.
Are you launching emacs server as systemd service? I have the same problem, but the cat size appears to be normal when I launch emacs from my distro's application menu instead of as systemd
OS: 5.16.18-1-MANJARO
Emacs: 28.1 with native compilation
from nyan-mode.
Are you launching emacs server as systemd service? I have the same problem, but the cat size appears to be normal when I launch emacs from my distro's application menu instead of as systemd OS: 5.16.18-1-MANJARO Emacs: 28.1 with native compilation
I don't have systemd.
from nyan-mode.
Related Issues (20)
- How to make both of them work? HOT 6
- Potential memory leak HOT 5
- Click to scroll buffer to point scrolls wrong window
- Bad link in readme HOT 1
- Trail length is wrong in narrowed buffer
- Page not find HOT 1
- if: Symbol’s value as variable is void: colors-enable-nyan-cat-progress-bar HOT 1
- Nyan is small on HiDPI screens HOT 1
- No longer seems to be breaking powerline
- Duplicate nyans after reload init file HOT 3
- animate nyan makes highlight on buttons broke HOT 1
- Nyan only in text mode on Emacs 26.2 HOT 2
- how to show +nyan-catface+ instead of nyan-*.xpm ?
- Disabling nyan-mode leaves an expensive timer running
- [QUESTION] Display graphical nyan cat in emacs terminal mode HOT 1
- Getting rid of cl
- FEATURE REQUEST: Add support for MooGnu HOT 1
- Link broken(trivial)
- Add possibility to customize nyam faces HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyan-mode.