OK it seems you're confusing bitmap and scalable fonts and different font notations now.<br>If Emacs supports scalable you should use it (at least on hidpi).<br>So try the example given.<br>If droid isn't installed, install it, or use something else if you feel you're confident with the notation.<br>I repeat: misc fixed is NOT scalable!<br><br>@jimrees I'm pretty sure 20px is not a hard limit. Terminus goes larger and I never had problems with that.<br><br><br><br>On October 24, 2018 3:57:52 AM UTC, Ranjan Maitra <maitra@email.com> wrote:<br>>Hi,<br>><br>>Thank you for your detailed response. Your explanations make sense.<br>><br>>On Tue, 23 Oct 2018 09:59:36 -0400 Jim Rees <jim@rees.org> wrote:<br>><br>>> X bitmap fonts are measured in pixels. If 10x20 is too small, use<br>>something<br>>> bigger. But 10x20 is the biggest fixed font in X, so you may be out<br>>of luck.<br>>> <br>>> If it looks good in aNu, that means aNu is doing something<br>>non-standard,<br>>> like doubling the size of the font. You can't expect other<br>>applications to<br>>> do the same. That's why scalable fonts were invented. There may be<br>>some way<br>>> to scale bitmap fonts in emacs, but I don't know what it would be.<br>>Maybe<br>>> something like this?<br>>> <br>>> (set-face-attribute 'default nil :font "fixed" :height 120)<br>><br>>I tried this, but nothing seemed to change. So I looked around and<br>>found this with this response on the stackoverflow sites:<br>><br>>https://emacs.stackexchange.com/questions/10438/how-to-set-the-default-font-size/10439#10439<br>><br>>where I got from:<br>>https://unix.stackexchange.com/questions/242067/emacs-on-hidpi-screen-renders-unreadable-fonts-arch-linux#242155<br>><br>>(add-to-list 'default-frame-alist '(font . FONT ))<br>>(set-face-attribute 'default t :font FONT )<br>><br>>where FONT is a string naming the font you want, for example, "Droid<br>>Sans Mono-10".<br>><br>>Also, apparently we should also set the default font using .Xresources<br>>and the Emacs daemon. An example of a line suitable for ~/.Xresources<br>>for setting the default font size is<br>><br>>Emacs.default.attributeHeight: 94<br>><br>>So, I was not sure what to put in with the FONT? Should it be Fixed<br>>10x20 or Fixed Regular 10 or something else. I tried the first two but<br>>nothing seemed to change so was wondering for some more help here. I do<br>>understand that this is not an openbox question but an emacs on HiDPI<br>>question. <br>><br>>Many thanks and best wishes,<br>>Ranjan<br>><br>>> <br>>> But my recommendation to you is that you use scalable fonts. They<br>>should<br>>> look better than bitmap fonts, not worse, especially on a hi-res<br>>display. If<br>>> they don't look perfectly sharp and clear on your hi-dpi display,<br>>it's<br>>> likely you've got something configured wrong. At one time I had to<br>>add<br>>> something like this to my ~/.config/fontconfig/fonts.conf :<br>>> <br>>>   <match target="font"><br>>>     <edit mode="assign" name="rgba"><br>>>       <const>rgb</const><br>>>     </edit><br>>>     <edit mode="assign" name="hinting"><br>>>       <bool>true</bool><br>>>     </edit><br>>>     <edit mode="assign" name="hintstyle"><br>>>       <const>hintslight</const><br>>>     </edit><br>>>     <edit mode="assign" name="antialias"><br>>>       <bool>true</bool><br>>>     </edit><br>>>     <edit mode="assign" name="lcdfilter"><br>>>       <const>lcddefault</const><br>>>     </edit><br>>>   </match><br>>> <br>>> In any case this isn't an openbox issue, and you may get better<br>>advice in an<br>>> emacs or fontconfig forum.<br>>> _______________________________________________<br>>> openbox mailing list<br>>> openbox@icculus.org<br>>> <a href="http://icculus.org/mailman/listinfo/openbox">http://icculus.org/mailman/listinfo/openbox</a><br>><br>>-- <br>>Important Notice: This mailbox is ignored: e-mails are set to be<br>>deleted on receipt. Please respond to the mailing list if appropriate.<br>>For those needing to send personal or professional e-mail, please use<br>>appropriate addresses.<br>><br>>_______________________________________________<br>>openbox mailing list<br>>openbox@icculus.org<br>>http://icculus.org/mailman/listinfo/openbox<br>