3 ms·
> If text in Emacs looked as pretty as text on the web does Do you have an example of this? I can't tell any difference for the fonts that I use (with emacs-pg
by tazjin 2y ago
> If text in Emacs looked as pretty as text on the web does
Do you have an example of this? I can't tell any difference for the fonts that I use (with emacs-pgtk). I believe Emacs uses Harfbuzz (same as Chrom{e|ium}).
- abdullahkhalids 2y agoI have never figured out how to get a good font and rendering going for text in Urdu/arabic script.
- hollerith 2y agoIs vscode better at Urdu/arabic?
- abdullahkhalids 2y agoI have never tried but I assume you can do as well as a browser. But I would never use VSCode for writing generic notes. There is so much distracting mess in it. I did setup Obsidian for a friend to write in Urdu, and that worked almost perfectly modulo some minor stuff.
- hollerith 2y agoHuh. I use pgtk Emacs, too, and am surprised to find someone who doesn't find my statement obvious.
- tazjin 2y agoWell, if there's no further info then I'm going to speculate you've misconfigured something ;)
- actionfromafar 2y agoOk then, "make it harder to hold it wrong". :)
- hollerith 2y agoI'm not holding it wrong.
- actionfromafar 2y agoThat's the joke, people weren't holding the iPhone 4 wrong, either. :)
- hollerith 2y agoMost of the text on the web for example is in a proportional-pitch typeface. Does your Emacs usually use a proportional-pitch typeface? If so and you're on Linux, I'll install the font you are using. I've tried using proportional typefaces in Emacs (on Mac), but there was something off, so I went back to monospaced. I could try again now that I have a Linux machine. The text in my Emacs looks almost exactly like the text in my Gnome Terminal. (A slight difference in size is the only thing I notice. To be painfully precise, (window-system) evals to 'pgtk on my Emacs.) The text in Gnome Terminal is not terrible, for sure, but text on the web is a nicer in my experience.
- tazjin 2y agoI used to use proportional pitch fonts for telega.el and certain document buffers, but I stopped because I find that with Jetbrains Mono (for me personally) there isn't any benefit even for longer text. I'd rather have everything be uniform. Emacs is perfectly capable of rendering other fonts, too, though.
- hollerith 2y agoYes, I remember now that having everything be uniform was one reason I stopped with the proportional faces in Emacs.
- chrchr 2y agoPardon me if you're ahead of me on this, but it sounds like you might be using a proportional typeface as the default or fixed-pitch face. You should get nice-looking proportional type if you set the variable-pitch face to your desired typeface and enter variable-pitch-mode in the buffer. E.g., (custom-set-faces '(variable-pitch ((t :family "Verdana" :height 180)))) And then in the buffer you wish to view with proportional type, M-x variable-pitch-mode.
- hollerith 2y agoThanks for the info, but the result of that is not any better than the result of what I had already done. (I wrote a command that put an overlay on the buffer to change the typeface.) It's not as good text on the web IMHO. Typography is very complicated, and I think the people who did the typographical details of Chrome and Firefox were very skilled, is my guess.