Changing font for Hydrogen Atom Code Inspector - atom-editor

How do I change the font (and font size) for the Code Inspector pane (accessible from the Command Palette 'Hydrogen: Toggle Inspector')?
Asking mainly because the font size is a tad too small for me when I pull up the Inspector pane.
Thanks in advance!

As of Hydrogen version 1.22.0 you can configure the font size for the output and side panels (including the inspector) inside the Hydrogen settings.
For older versions you need to customize the user style sheet of Atom.

Related

How to reset the size of the Qt's window font?

I have left my computer on overnight and in the morning I have noticed, that the font of the windows in QtCreator is significantly bigger as it was, though not everywhere. The text editor, the menu and the side panels are shown with the usual font size (see the first screenshot). I have also noticed, that this change affects other Qt programs, as the Maintenance tool and QtLinguist.
Legend: Red - huge font, should be reset. Green - font is as it should be.
The font size of all other installed programs is unchanged. Just in case I have checked the display settings of Windows and the scale is at 100%, where it was.
Note: I have tried deleting the settings under user/AppData..., but it didn't help.
How to reset the font back to normal?
for changing the size of the font in the source code you can use the short cuts (with the editor focused)
to zoom in: "ctrl" and "+"
to zoom out: "ctrl" and "-"
for the environment the you can set the environment variable
export QT_SCALE_FACTOR=1.5

How can I compensate for fonts rendering differently on windows on a web page

I have a web page with text and an image. I want to place the text very precisely over the image.
I have discovered that with the font I am using, when viewing the page on windows, everything gets shifted down by about 4px. On Mac, iphone and android, it is placed correctly.
This does not happen if I use Courier New as the font, so I know that the problem is the font, however I have no choice but to use this font.
Is there a way to compensate for this purely in CSS, or do I need a javascript callback to detect windows and add a class so I can deal with it?
first of all, I would try tuning ling height, if that did not work, then I think you need to edit the font itself, you can do that using this site: https://transfonter.org/, uploading your font file and convert it to the formats you use and the important point is to check this toggle button, it adjusts some properties in the font so it has similar experience on different operating systems
if that did not work, there is a program called fontforge it gives you the ability to change font metrics, for more info you could check this question
Font Rendering / Line-Height Issue on Mac/PC (outside of element)

How to zoom in Rstudio help window? [duplicate]

This is not a question about changing the font size in graphs produced using RStudio. I already know how to do that.
I use RStudio under Linux on a MacBook Pro with a 'retina' display. I use KDE as my window manager. I can (and do) enlarge the default font size in the user interface of other programs in KDE. I increase the font size for the user interface in Firefox and Thunderbird using program specific tools.
How do I increase the font size in the user interface - not the console, which is easy [Options -> Appearance -> font size], but, for example, the help text, the keyboard shortcuts list, and so on. At the moment I find these very hard to read. I've fiddled with everything I can fiddle with, but had no joy.
All help gratefully appreciated!
As some people pointed out, by clicking the ctrl & + together, you can enlarge the font size for everything including for the console & code script. (You will have to do it with a help page pop up as suggested by user3619015.) Then go to the global option and resize the fonts. That changes the font size for everything except the help page. So you will have larger fonts for the help page but everything else in your normal preferred font size.
On a Mac you can do it by going to: view -> actual size or just with the key combo: cmd+= (not cmd++) to zoom in (bigger), cmd+- or zoom out or cmd+0 (zero) to go back to the actual size.
Rstudio doesn't support changing fonts yet, at least for Linux server. However, one can change fonts in browser for a specific page. At least in chrome, you can customize fonts using an extension called font changer. I think it is packed with all GNU free fonts for legal issues. But, since you have the font files in the OS, like consolas, you can practically change to whatever font and size you like. Just play with it.
I had the same problem here using a MacBook Pro although not with KDE, but you could try on the menu of RStudio:
View -> Actual size
After a couple of days struggling to read the help, this worked: increased the size of letters in all windows of RStudio.
Help, Files, Packages can be opened in a new browser window where zoom in and out options are possible. Even a selected specific package can be opened in a new window for clear view
While this is quite an old question, you can now also change your font size under Linux like that:
Tools -> Global Options... -> Appearance -> Editor font size
Here's how I got around the problem:
Simply copy and paste into your word processor or text editor. Text will be pasted in the default text.
I'm using Windows 8.1, Office 2013 and R 64 bit. Not optimal but it works.

Qt: How to make window icon bigger (SVG)?

I'm using Qt 4.8.1, and set the window icon with:
app.setWindowIcon(QIcon("/path/to/icon.svg"));
However, no matter how big the svg icon is, the icon shown in the menu bar or when using "alt-tab" in gnome is always very low resolution and "pixelized".
How can I make it render the icon in a higher resolution?
Seems like this can be only avoided when providing a desktop menu entry with a high a resolution icon.
I downloaded qtcreator to test it: When running the version from the web, the icon is bad. As soon as the installed version is run, it works, because the icon from the menu is used.

Increase size of my code font - DWCS5

I'm trying to do something pretty basic here. I just want to make the font of my code larger so I can see it better. How do I do that?
Thanks!
Edit (Dreamweaver on Mac) -> Preferences, Fonts
In DreamWeaver CS6 Option are changed, On the left hand top side on the screen
Dreamweaver > Preference > Fonts > Code view
This image display where to change fonts..
On Windows you can use Ctrl+= to increase font size and Ctrl+- to decrease the font size.
In CS5 most importantly on Windows the preference option is under the edit menu. Where font category contains the option of code view font size. Its normally 9px. You can change it as you want.

Resources