X11 linux apps in xming - how to fix font and size?
0
votes
0
answers
2069
views
I'm running LiClipse (a version of Eclipse IDE targeted at Python development) on a remote CentOS 7 host with X11 forwarding to xming on Windows 10.
The application starts up fine, but the fonts are incredibly small, and the wrong type (the default is 'sans', but the displayed font is different). Changing the font type and size in the application preferences has no effect.
Is it possible that I'm missing some font package in CentOS or Xming (I have installed xming-fonts 7.7.0.10)? How can this be solved?
**EDIT:**

xset q
shows the following font paths (I switched between xming and VcXsrv and the results are the same, I have now stuck to VcXsrv)
Font Path:
C:\apps\VcXsrv\fonts/misc/,C:\apps\VcXsrv\fonts/TTF/,C:\apps\VcXsrv\fonts/OTF,C:\apps\VcXsrv\fonts/Type1/,C:\apps\VcXsrv\fonts/100dpi/,C:\apps\VcXsrv\fonts/75dpi/,C:\apps\VcXsrv\fonts/cyrillic/,C:\apps\VcXsrv\fonts/Speedo/,C:\apps\VcXsrv\fonts/terminus-font/,built-ins
I have successfully changed the text editor font in the application, by picking the Courier 10 Pitch
font in the appearance settings menu. The problem is that none of the default-selected fonts, like Monospace
or Sans
render properly.
I suspected the missing fonts might be in the C:\Windows\Fonts
folder, so I tried added it to the font-dirs
file, and the -fp
command-line argument of both xming and VcXsrv with no success. That folder is simply ignored, it does not show in the output of xset q
even if it's the only option provided, which is now an even bigger mystery.
So it seems the issue is that there's a mismatch between what fonts LiClipse/X11 is expecting to use and what Xming/VcXsrv are providing.
**EDIT 2:** Not a duplicate of https://unix.stackexchange.com/questions/107807/how-to-configure-fonts-on-a-remote-x-connection-xdmcp-vs-ssh
The solution to that question does not solve this one, and software in use is different.
Asked by André Fernandes
(151 rep)
Sep 26, 2018, 12:20 PM
Last activity: Sep 28, 2018, 09:45 AM
Last activity: Sep 28, 2018, 09:45 AM