Questions tagged [scaling]

14 questions
5
votes
0 answers

Emacs is blurry on scaled Windows displays (eg. Surface)

To smooth my embedded workflow I have succombed to buying a Microsoft Surface. Like the early days of MacOS retina screens Emacs is all blurry. Does anyone know if there is any support for scaled displays in Windows? Google turns up few results, but…
Mark
  • 1,409
  • 1
  • 15
  • 20
2
votes
2 answers

Zoom with mouse-button + scroll wheel?

I'd like to enable changing the font size by holding down the right mouse button and using the scroll-wheel. Emacs does however treat mouse buttons as keys, so this obviously cannot be achieved directly by a straight-forward (define-key ... (kbd…
kdb
  • 1,561
  • 12
  • 21
2
votes
1 answer

Display JPEGs scaled to fit buffer, but PNGs without scaling?

In almost all cases, I want to see JPEGs such as photos scaled to the current buffer size. This is the default with image-mode. However, for PNG files, primarity screenshots, I want to view them without scaling by default. How do I best assign…
feklee
  • 1,029
  • 5
  • 17
2
votes
2 answers

Why does `text-scale-increase` not affect `window-text-width`

I am trying to calculate how many characters are being displayed in a window, but the information I get from (window-text-width) isn't updated if I call (text-scale-increase). Why? A typical session might be (window-text-width) ; =>…
Tássio
  • 209
  • 1
  • 8
2
votes
1 answer

How to determine the current text scaling?

When I type C-x C-+ the height of the default face in the current buffer is increased. However, when I revert the buffer, the text scaling is reset to normal. I would like to keep the same scaling after reverting the buffer. Is there a way to…
Håkon Hægland
  • 3,608
  • 1
  • 20
  • 51
2
votes
2 answers

Zooming / font sizes / text scaling has a very limited range?

I would like to increase my font size, so I used the C-x C-= keybinding, followed by = to further increase the size. However, it stops zooming far too soon, and I realized that I can only cycle through 8 levels of zoom. I can zoom in twice past…
modulitos
  • 2,432
  • 1
  • 18
  • 36
1
vote
1 answer

font scaling on multiple monitors with different scalings

I have a 4k laptop display and dual 1920x1200 external monitors, one rotated vertically so emacs can have a million lines in view. Font scaling is set to 200% on the laptop display and 100% on the externals. This is in Gnome under Ubuntu 22.04.2…
Joe
  • 13
  • 5
1
vote
1 answer

How to get `Info-mode`'s text to horizontally fit the window like in the html version?

See images for a comparison. The emacs version line-wraps much before the horizontal space ends. Html version was screenshotted from here
habit
  • 143
  • 4
1
vote
1 answer

Resizing window with text scaling

I often have multiple windows in emacs. I would like to have a function that modifies the width of a window to a certain value, then scales the text such that the longest line in the buffer fits the window leaving a small margin at the end (e.g. of…
Dilna
  • 1,173
  • 3
  • 10
1
vote
1 answer

Scale images to fit the frame width by default?

When displaying images in Image mode the default seems to be to scale the image to fit completely within the frame. (Or within the document area of the frame to be more precise.) I find this inconvenient for images which are much taller than they…
1
vote
1 answer

scale text in eww with proportional fonts enabled

when i use eww, which is v often, coz i love reading the web by just text in a format i choose, i can scale the text (with C-x +/-) until i enable "proportional fonts" with F. it changes my display text to be the same as my settings for…
user27075
  • 488
  • 3
  • 11
0
votes
0 answers

Scaling tools in master branch 28.1.91 of 2022-09-08

The master branch 28.1.91 of 2022-09-08 should have some tools to scale the text as one resizes the window or frame. What are the commands called?
Dilna
  • 1,173
  • 3
  • 10
0
votes
1 answer

Using `:scale` with org-mode's image links and include first and last page of pdf in latex export

I'm trying to include the first and last page of a PDF document in a new PDF document that I create via org-mode's Latex export engine. With this I have two issues: I would like to include the first and last page of the external PDF document scaled…
Daniel
  • 99
  • 9
0
votes
1 answer

Emacs not being scaled properly?

I had to reinstall my OS but I made a backup of my .emacs.d. Then, once the new OS was installed, I copied it back and installed all the fonts. This time however, the scaling is really small! With the same .emacs.d, OS, machine and the fonts my…
scribe
  • 930
  • 4
  • 15