You are not logged in.

#1 2018-03-30 14:21:27

mizuchi
Member
Registered: 2017-03-09
Posts: 14

Tcl/tk fonts

Hi all,

I have a problem with fonts in the Tcl/tk application VMD, they look ugly making the work in the program very uncomfortable.
Does anybody know how to force tcl/tk to use system fonts or at least set custom?

Thanks in advance

Offline

#2 2018-03-30 15:22:30

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Tcl/tk fonts

Make sure legacy Xorg font packages such as xorg-fonts-100dpi and xorg-fonts-75dpi are not installed! Then Tk should use nice-looking TrueType fonts by default.

Offline

#3 2018-03-30 15:47:59

mizuchi
Member
Registered: 2017-03-09
Posts: 14

Re: Tcl/tk fonts

Morn wrote:

Make sure legacy Xorg font packages such as xorg-fonts-100dpi and xorg-fonts-75dpi are not installed! Then Tk should use nice-looking TrueType fonts by default.

They are definitely not installed. And I see this: https://image.ibb.co/nRewAS/tk.png

Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code

Last edited by Slithery (2018-03-30 16:08:01)

Offline

#4 2018-03-30 16:06:38

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Tcl/tk fonts

That looks like an old X bitmap font to me. Maybe try "locate pcf" to find if you have any other fonts like that installed.

Also make sure you have Times New Roman, Helvetica, Arial, etc. installed as TrueType.

Offline

#5 2018-03-30 17:39:44

mizuchi
Member
Registered: 2017-03-09
Posts: 14

Re: Tcl/tk fonts

Morn wrote:

That looks like an old X bitmap font to me. Maybe try "locate pcf" to find if you have any other fonts like that installed.

Also make sure you have Times New Roman, Helvetica, Arial, etc. installed as TrueType.

Both TNR and Arial are installed but not Helvetica. What does "as TrueType" stand for?
"locate pcf" returns a lot of output, strings like "/usr/share/fonts/misc/ter-x???.pcf.gz" are among others.

Offline

#6 2018-03-30 18:20:56

mizuchi
Member
Registered: 2017-03-09
Posts: 14

Re: Tcl/tk fonts

Well, I  recompiled VMD from source, and the issue disappeared. Maybe those ugly fonts hardcoded in binaries?
https://ibb.co/cRDFn7

Offline

Board footer

Powered by FluxBB