In these cases, it is important that the fonts.alias file specifies the correct character set. In some cases, applications rely upon the fonts named 'fixed' or something like '9x18'. $ grep 'iso8859-15"' fonts.alias > new_alias $ grep 'iso8859-1"' fonts.alias > new_alias To create a fonts.alias file you could use the usual mkfontalias.py script by copying the fonts.dir file onto a machine with Python (the methods above produce lower case in the fonts.dir file so the script needs altering see my mkfontalias.py) and then grep out the aliases you want and copy the fonts.alias file back to the Windows machine %WINDIR%\Fonts directory Some applications can't manage only with the data supplied in the fonts.scale and fonts.dir files and need more traditional X names in an alias file. When you adjust the application be aware that you are adjusting its configuration on the remote host to fix a problem on the local display. So, remote client applications rendered by Xming may display with smaller or larger fonts than you expect. The render size of some fonts on Windows is different from the render size on a Linux desktop. It is however better to adjust font size in the client application. Hint: use xdpyinfo to examine actual screen resolutions. Plus the -dpi auto option matches the xserver to the native Windows resolution dots per inch. dpi 144 makes some fonts larger for me). You can also play with the -dpi parameter (e.g. putting 75dpi fonts in front of 100dpi fonts can make fonts appear smaller on some monitors. Note: Type1 PS fonts are no longer supplied or supported.Īltering the font path search order can sometimes be used to alter font size, e.g. >Xming -fp "C:/Program Files/Xming/fonts/misc/,C:/Program Files/Xming/fonts/TTF/,Ĭ:/Program Files/Xming/fonts/100dpi/,C:/Program Files/Xming/fonts/75dpi/,Ĭ:/Windows/Fonts" -multiwindow -clipboard Or by including the font directory at startup like this (you have to include any defaults you need) Or by appending to the default font path during runtime (or prepending to put the new fonts first in the search order) # In file font-dirs make sure you have any font path additions, before startup not in misc, TTF, 100dpi or 75dpi) by adding the font directory to the default font path using the font-dirs file in the install directory Note: You will have to run the Windows Command Prompt (cmd.exe) as Administrator to be able to write to the C:\Windows\Fonts directory with latest Windows versions.Īdditionally you have to tell Xming to use a font directory not in the default font path (i.e. >mkfontscale -b -s -l C:/Windows/Fonts ignore the many 'Couldn't.fon' messages >mkfontscale -b -s -l fonts/TTF makes a fonts.dir file from fonts.scale Better still just simply access Windows System TrueType fonts directly, without copying, by creating harmless fonts.scale and fonts.dir text files in the Windows System fonts directory (typically C:\Windows\Fonts), like this >mkfontscale fonts/TTF makes a fonts.scale file in directory fonts\TTF >mkdir fonts\TTF if directory TTF doesn't exist and then copy additional *.TTF files into it Warning: check you are licensed to copy the fonts first! Run mkfontscale, from the Xming install directory, to create a fonts.dir file, to make the fonts usable, like this To add new fonts copy the required *.TTF font files to directory fonts/TTF (or different font types e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |