MATLAB Linux - How to increase font size Toolstrip? - linux

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.

Related

QB64 Console/Display Font Size

I am tutoring someone in my high school in QBasic and the QB64 font is really small making it difficult to edit it. How can I change the font?
In the IDE the font can be changed in options (Alt-O) in the Display settings.
Go to option section in top row:
Select display in down arrow
increase the size in pixels: 30
Note: size in pixes may differ from size of monitor so choose as per your display screen

fvwm gvim menu size smaller than text size

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.

Varying font size in gvim windows

Can I make the font size in my NERDTree window smaller than in all other windows of gvim?
Generally I need large font size of 15 but I'd like the folder tree window of NERDTree to be 12 - is this possible to set using code in _vimrc. Currently I have the following simple setting:
set guifont=Consolas:h16:cANSI
Slightly duplicated question and answered here:
Stackoverflow Post
Stackoverflow Post
Not possible bro. Vim uses the same font size for all its windows.
This is one (if not the only :D) limitation of Vim.

Change all font sizes in Eclipse

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).

How do I display same "proportional" text size on different resolutions?

I draw some text on screen using ID3DXFont::DrawText. This text should be displayed the same regardless of screen resolution.
For example, if screen resolution is low, text wrapped and when it is higher text is not wrapped. How can I avoid such situation? I want text size to be connected to screen resolution so if resolution is lower I want the text to be relatively smaller so that no wrapping happens. Is there any way?
Thanks in advance
Below is a logical solution. It doesn't have any of the code or procedures needed to make work in direct X but having done something similar outside of DirectX I wanted to share the logic
Working on whatever default screen resolution you want set the font to be the size needed.
Find the percentage of the screen height the font size you chose takes up.
Then having stored that value when you go to render again, in the final version of the program, calculate the font size based on the screen size and the percentage
What I was working in had functions like GetTextHeight and properties on the font size to allow you to set the height (which in turn set the font size appropriately). So if can find anything similar to this in DirectX than this could be a route for you to take.

Resources