Experimental Physics and
| |||||||||||||||
|
The recent post about mods necessary for MEDM were nice. What is the trick for getting the fonts DM2K needs? - I see many messages like:Late, but... all the fixed-size dm2k (and medm also IIRC) fonts are usually defined using aliases. There should be some sample fonts.aliases-files with every dm2k-distribution. Ours e.g. looks like that: widgetDM_4 -misc-fixed-medium-r-normal--8-60-100-100-c-50-iso8859-1 widgetDM_6 -misc-fixed-medium-r-normal--8-60-100-100-c-50-iso8859-1 widgetDM_8 -misc-fixed-medium-r-normal--9-80-100-100-c-60-iso8859-1 widgetDM_10 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1 widgetDM_12 -misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1 widgetDM_14 -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 widgetDM_16 -misc-fixed-medium-r-normal--15-120-100-100-c-90-iso8859-1 widgetDM_18 -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1 widgetDM_20 -misc-fixed-medium-r-normal--20-140-100-100-c-100-iso8859-1 widgetDM_22 -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1 widgetDM_24 -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1 widgetDM_30 -adobe-times-medium-r-normal--25-180-100-100-p-125-iso8859-1 widgetDM_36 -adobe-helvetica-medium-r-normal--34-240-100-100-p-176-iso8859-1 widgetDM_40 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1 widgetDM_48 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1 widgetDM_60 -adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1 1. Put these 16 lines in a file named "fonts.alias" in an otherwise empty directory 2. enter this directory and issue a "mkfontdir" once in there (it'll create a file named fonts.dir with contents "0") 3. You can now do on of the following (I usually do 2. but 3. could be easier to maintain...): 1. Issue the command "xset fp+ `pwd`" This will add the current directory to the font-path *for the current session*. This setting will be lost after logout! 2. add the path of your just created font-directory to you X-Server-config (/etc/X11/XF86Config or /etc/X11/xorg.conf or whatever...) to add this setting to the default font-path for every session managed by this X-server 3. Add this directory to your font-server-config (e.g. /etc/X11/fs/config), restart the fontserver and use this machine as the network-wide font-server for medm/dm2k-fonts For Windows-based X-Servers, the procedure is about the same, except, that there's usually graphical frontends to configure font-paths, -servers, -aliases and the like... Hope, it helps, Thomas -- ______________________________________________________________________ /homas.Birke @ bessy.de BESSY Tel: +49 30 6392 4934 Albert Einstein Straße 15 Fax: +49 30 6392 4859 12489 Berlin Germany
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |