I am new to fvwm machine which is used by my new employers.
I am struggling in customizing gvim menu (File, Edit,etc) font size.
As you can see in the attached image, the font size are decent, but menu size is pretty small as compared to text font size.
How to solve this??
Reference Image:
gvim uses gnome gtk in the gnome version of gvim and in this case you can configure your environment using a .gtkrc file see https://unix.stackexchange.com/questions/25043/what-is-this-gtkrc-file. As another answer pointed out for Gtk 2.x programs ~/.gtkrc-2.0 is the configuration file.
To modify your font see e.g.
https://ubuntuforums.org/showthread.php?t=846348
https://bbs.archlinux.org/viewtopic.php?id=164044
https://unix.stackexchange.com/a/478303/38701
examples:
gtk-font-name = "Sans 12"
which gives you a Sans-Serif font with size 12
gtk-font-name = "DejaVu Sans 11"
which is more specific regarding the font and uses size 11
Create .gtkrc-2.0 in your home directory if it isn't present already
and add:
gtk-font-name = "bitstream bold 16"
That should solve your problem.
Related
I only case about the font size, I want nothing to do with the font other than its size set guifont makes me put in a font, therefor its useless to me.
Update: all of the answers here weren't what I was asking for but I gave up on trying to fix it and moved on to using vim on Cmder.
For nvim-qt used in Windows, the following command works after nvim-qt has started:
execute join(["GuiFont! ", split(GuiFont, ":")[0], ":h14"], "")
With your font size in place of 14.
To set the font size at start, you have to use ginit.vim instead of init.vim, since init.vim starts before the GUI is loaded. Location of ginit.vim is C:\Users[User]\AppData\Local\nvim.
I can't seem to change the font in Godot's script editor. I want to change it to the monaco_linux.ttf I downloaded. I've specified which file to use, but the font only seems to increase in size a bit when I set it.
How can I change the font in Godot's script editor?
Editor Font Setting:
Editor >> Editor Settings >> Code Font >> Path/To/ttf
It seems like the font wasn't working because I was trying to use size 14 font. When I switched to size 16, it worked fine..
How do I increase the font size of MATLAB's GUI? I mean specifically the text of the 'Toolstrip', the menu items under the tabs HOME/PLOTS/APPS, which seem to be unaffected by modifying Settings > Fonts.
Editing my system font size did not solve the problem.
I suspect that it is currently not possible.
This question already has answers here:
How do I set the default font size in Vim?
(8 answers)
Closed 8 years ago.
gvim for windows has tiny text and icons on my ultra-HD Dell laptop (3200-1800) . In fact, it is barely readable. How does one change gvim gui fonts and increases the icons to obtain readable text on a high resolution, windows 8 laptop?
you should configure you font size, one possible solution is is like this(you can put it in your vimrc):
set guifont=Consolas:h13
"Consolas" is the font name and "h13" is the font size, you should change 13 to a proper number~
(I'm not sure about Windows, but...)
It really depends. If you're using vim from a terminal emulator the settings must be changed in your terminal emulator (let's say PuTTy).
But if you're using GVIM, then use :set guifont font\ name\ size to specify the font size.
In order to check witch font and size you're using, simple call :set guifont and it will promt you with the current settings
In my case I use the following: :set guifont=Ubuntu\ Mono\ 18
Is there a way to change all fonts at once in Eclipse?
I have a very large monitor, so my system fonts are quite small (40" screen, size 4 pt on it looks like size 16 on a 19" screen).
The problem is that on my Linux box, Eclipse's fonts are all huge. I changed the key ones (console font, system dialog font), but there are the odd occasions where I have a dialog box or open a certain type of file and the fonts are huge.
Is there a way to set all fonts to a specific size in Eclipse?
There's a post about doing it for the Java editor here: How can I change font size in Eclipse for Java text editors?
Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Text Font seems to work for me for all all the files I open/write (I'm using Indigo on Fedora).