Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

modelsim ase 10.4d/quartus lite 16.0,15.1 on linux source font problem

I can't read vhdl/verilog source because of too small font around 1pt.

tools->edit preference->source windows->fixed font or text font size setting change was no effect.

This problem is same after version down to quartus prime 15.1.

Modelsim(vsim) looks porting soft from windows .net.wm application. So I can't find how to change X11 font setting.

Does anyone know the workaround of this problem ?

16 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    adjusting font scaling to -1120 px per 11 inches gives giant fonts in modelsim 10.4d source window, without any of the library tricks described earlier.. this is huge.. :3

    Note:

    please do not replicate this, it seems to break the modelsim interface permanently :( need to find the control file to readjust the font scaling option.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I don't think tcl/tk font scale accept a negative value. please confirm manual.

    As for the control file, according to the modelsim command manual, they might be .modelsim or modelsim.ini.

    pref.tcl might be possible, I think.

    As for the negative font size specifying, I found the behavior has been quite strange via editing the preference menu(by name).

    So I recommend editing default textfont size of $HOME/.modelsim file to the negative value(such as -12 or -10), and don't touch.

    I think you can specify any fixed font as you wish.

    I'm going to test these settings. My environment is Ubuntu16.04_64 and CentOS7.2_64.

    On CentOS, all defualt fonts were specified by negative value at first, but preference menu does not show negative value on the menu.

    The behavior is slightly strange. I guess this is also some trick by Altera or Mentor. That's why I think it might be no use to reinstall

    fonts or libraries.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    do you find ?

    I guess default scale initialize file might be 'screenscalesV2' of $HOME/.modelsim,

    because my screen setting exists only there.

    the scale value syntax might be,

    host-name:0.0 {pixels-point inch pixel}

    here, pixels-point is tk scaling factor of pixels/point. it's around 1(me, 1.3546).

    I'm not sure how they calculate it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I am using Quartus Prime Version 15.1.2 Build 193 02/01/2016 SJ Standard Edition (as well as Quartus 13.1) on Windows 10. I am having issues with the GUI. Some buttons are too small for the writing inside to be readable. For example, in Qsys, every elements in the lists under "IP Catalog>Project", "IP Catalog>Library" as well as the lists under "Hierarchy" are overlapping each other and therefore unreadable. Also, when I select an IP from the IP catalog, the font is too small to be readable.

    Can you help me to figure out which settings I have to change? Thank you very much for your help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I also installed Quartus16 on win10_64, and I don't find out any Qsys overlapping font problem now.

    I mainly use linux sorry. I'm not familiar with windows. However, I found out I didn't have IP

    catalog dialog in Quartus16 :( I have to look into them well.

    I didn't find out any option menu to customize font in Qsys. It also look like tcl/tk app, but ...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    1. Open ~/.modelsim

    2. Find: PrefDefault = ... textFontV2 {Verdana 12}

    3. Change 12 to -12, so it will looks like this: textFontV2 {Verdana -12}

    4. Save ~/.modelsim

    5. Reopen modelsim