The font of my modelsim is too small to see

Wtswkz picture Wtswkz · Jul 22, 2015 · Viewed 12.2k times · Source

Modelsim screenshot

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!

Answer

Alexey Khaylov picture Alexey Khaylov · Jan 17, 2017

I ran into this too in Ubuntu 16.04 LTS with modelsim 10.5 ASE. I fixed it as follows:

  1. Open ~/.modelsim (use "nano ~/.modelsim" in terminal)
  2. Find: PrefDefault = ... textFontV2 {Verdana 12} (the name of the font may differ)
  3. Change 12 to -12, so it will looks like this: textFontV2 {Verdana -12}
  4. Save ~/.modelsim (Ctrl+O and then Enter)
  5. Reopen modelsim