As you can see, the font of modelsim's text editor is very small. But I can't change the size in Tools->Edit Preferences->Source Window->Fonts.
However, I can make the letters bigger by set the DPI higher(through System Settings->Fonts) or set the resolution of the screen to a appropriate value, such as 1024X720, while 1366x768 is the actual resolution of my screen. These ways are not comfortable, because everything else look strange.My OS is Fedora 22, and the version of my Modelsim is 10.3d.
I want to get a more comfortable way to the font-size problem of Modelsim, I'll appreciate it!
I ran into this too in Ubuntu 16.04 LTS with modelsim 10.5 ASE. I fixed it as follows:
Open ~/.modelsim (use "nano ~/.modelsim" in terminal)
Find: PrefDefault = ... textFontV2 {Verdana 12} (the name of the font may differ)
Change 12 to -12, so it will looks like this: textFontV2 {Verdana -12}
Save ~/.modelsim (Ctrl+O and then Enter)
Reopen modelsim
I ran into this too in Xubuntu, just use Ctrl++ or Ctrl+- to enlarge or shrink the text dynamically.
Tools->Edit preferences->source windows-> textFont
I am using CentOS Linux, Questa Sim-64 10.1a and had the same problem. I fixed it as follows :
Select "Tools" option from the toolbar at the top.
From the drop down menu select "Edit Preferences ..."
On the lower left pane, there are various Font types like fixedFont, footerFont, textFont etc. To change the size of textFont, select it and you get the choice of font type and size.
Choose what you are most comfortable with.
menuFont is used for command prompt and treeFont is used to display the folder structure.
On Xubuntu/XFCE4: Going to Settings⟶Appereance⟶Fonts and disabling the "Custom DPI setting" checkbox solved the problem for me.
The strange thing is that xdpyinfo says the screen resolution is 96x96 dpi regardless of the checkbox. Leaving the checkbox on and setting something like 200 dpi scales the Modelsim editor font, but also all other fonts on the screen, so that doesn't help. I didn't dig any further towards the root cause.
Related
My VB6 application is having a layout problem on certain end user PCs, but so far we are unable to identify what is causing this.
Normal layout:
Broken layout:
The text on the left are the captions of the radio buttons. The text in the upper right is a label.
I am familiar with two different settings in Windows Control Panel which can affect text size, and initially we suspected this was the cause. In Windows 10, they are:
Control Panel >
Appearance and Personalization >
Display >
(1) "Use these display settings" > "Customize your display"
or
(2) "Set a custom scaling level"
(Terminology was different in earlier Windows versions but I think the features were the same?)
However upon testing these settings with our app neither reproduces the problem.
What else might be causing the text layout issue shown in the image?
This appears to be caused by a Windows bug.
The description & fix as mentioned in the source website are as follows:
if you have a high resolution screen at install time, Win7 will install a larger font set (125%) by default. If you then choose go back to the standard font size (100%), Windows will keep some of the large fonts even though everything else is adjusted for standard fonts, causing programs that use these fonts to break because the text will not always fit inside the GUI.
By editing the Windows registry you can get the original, intended fonts back:
Open the start menu and type regedit and then press Enter.
Locate the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Find the value MS Sans Serif 8,10,12,14,18,24
Change from SSERIFF.FON to SSERIFE.FON
Find MS Serif 8,10,12,14,18,24
Change from SERIFF.FON to SERIFE.FON
Finally find Courier 10,12,15
Change from COURF.FON to COURE.FON
Restart your system in order for the changes to take effect!
The exact font names may vary depending on locale settings.
I was able to create the problem scenario as described here on Windows 10, and that reproduced the problem with our VB6 app. I think that confirms this as the fix.
A Microsoft blog post seems to be the authoritative original source of this information.
I've been having this problem with the Matlab GUI (linux) that has been annoying me for over a year but I still haven't found a solution.
Basically, the autofix hints are not displayed. When I move the mouse cursor over a potential warning/suggestion, a gray-background pop-up appears but the text inside is missing. The same happens when I hover over those little warning bars on the right hand side of the editor. Does anyone have any clue what might be causing this?
Screenshot: http://i58.tinypic.com/4veu.png
This happens only on my linux machine (Ubuntu 14.04 LTS, NVidia GeForce with nvidia driver).
Thanks!
For those interested, this issue appears to be related to the Unity Desktop. Mathworks does not provide a fix but suggests using a different XServer instead. Here is the answer I received from support:
This issue is known to occur due to a windowing system used with
"linux" on which MATLAB has not been tested. It has been observed that
if you are using "Unity desktop" in "linux", then the tooltips are
displayed as blanks.
To work around this issue, you may try switching off "Unity desktop".
You can refer to the following links for more information on this
issue:
http://www.mathworks.com/matlabcentral/answers/116987-empty-tooltips-in-code-analyzer
matlab code analyzer produces empty tooltips
Indeed, I tried lubuntu and XUbuntu (Xfce) and the tooltips in Matlab were working in both cases. I find Unity very handy because I got used to it, so for now, I will probably simply not use this Matlab feature. Hopefully this will be fixed eventually.
It's an old post but some people may be still looking for a solution or a hack. Well, I also had this issue on R2015a when using two monitors and hiding Ubuntu 14.04 sidebar seems to do the trick. This link explains how to do it: http://www.howtogeek.com/198218/how-to-easily-hide-the-unity-launcher-in-ubuntu-14.04/. Hope it helps!
This is accomplished, in the article, by:-
1) Select “System Settings” from the drop-down menu.
2) The “System Settings” dialog box displays. In the “Personal”
section, click “Appearance.”
3) On the “Appearance” screen, click the “Behavior” tab.
4) On the right side of the “Behavior” tab, there’s an ON/OFF switch.
Click the switch so it reads ON.
5) The ON/OFF switch also turns orange. Additional options for how to
show the hidden Unity Launcher become available in the “Auto-hide the
Launcher” section of the “Behavior” tab. Under “Reveal location,”
select whether you want to move the mouse to any location on the “Left
side” or just to the “Top left corner” of the screen to reveal the
Unity Launcher. Use the “Reveal sensitivity” slider to change the
sensitivity of the reveal location.
6) Once you have chosen your settings, close the “Settings” dialog box
by clicking the “X” button in the upper-left corner of the dialog box.
This happens to me in Ubuntu 15.10 using xfce, with two monitors connected to an Nvidia GeForce 8600 GT, one of which is rotated to portrait orientation. The "workaround", from the page Anton linked, is to resize my matlab desktop such that the red underlined text or red scrollbar annotation is in the bottom third of my left monitor. Unbelievable.
My preferred workaround is to use Python+Scipy+Matplotlib instead of Matlab.
By mistake, the option on "custom sizing options" was set at 500% in the section "change the size of all items".
The result is all elements on the screen are huge, and whereas I am able to reach the display section and through tab I am able to navigate some options on the left panel, I am unable to reach the change the size of all items section.
I have tried several things to revert it to 100%, but all have failed so far:
Restart on safe mode. Displaying it on a different monitor and proyector using both hdmi and vga. Uninstalling the graphics driver didnt help. Using the "zoom" only has option to zoom in. Changing the screen orientation to vertical in hopes of accessing more options allowed me to see the left panel but not more. Using ctrl + mouse doesnt change the size inside the Display section. The computer doesnt have a restoration point to go back to, and I cant uninstall the applications because it isnt my laptop.
I have been searching for the correct command to execute but the closest I have found is "Display Properties control desk.cpl" and it is not the command I need. By the way, the computer is a lenovo using windows 8.1 in spanish. I have tried in other computers, for example a dell in windows 8 and the percetage is limited to 200%, so I cant test it correctly.
If somebody has a solution or any suggestion please share.
English is not my mother language so please excuse the grammar and misspelings.
if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.
I'm using two environments, one with 24" screen, second one with 15". I need default font size of content of project/package explorer in the first one, but small font size for the other one.
Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I'm reffering to this question.
If there is no way, please describe how would you do it in Linux - distribution independently.
I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.
on Mac OS X you can change edit the eclipse.ini file and remove -Dorg.eclipse.swt.internal.carbon.smallFonts restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.
You make have to use the Finder option "Show Contents" on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.
For Mac OS X, download TinkerTool from http://bresink.de/osx/TinkerTool.html and then change the font size for "Help tags".
That changed the font size of package explorer for me. :)
I can say pretty confidently that you cannot change that font size from within eclipse, only choice is on the operating system. And on ubuntu you are able to change that font size.
I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.
This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,
and Version : 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
and BuildID : M20130204-1200
With the above version, I am able to change the font within eclipse. The process to change the font is very simple
1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.
The screen shot of above option looks like...
For windows check below link:
Window > Preferences > General > Appearance > Colors and Fonts > View
and Editor Folders > Tree and Table font for views
https://www.bootng.com/2021/01/change-project-explorer-tree-view-font.html
For linux: Check out this link, it was very useful to me! I'm using the author's favourite option and works seamlessly.
http://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/
For Eclipse Oxygen on Sierra, deleting
-Dorg.eclipse.swt.internal.carbon.smallFonts
from Eclipse.app » Contents » Eclipse » eclipse.ini
didn't change anything visible