EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: More on fonts and RHEL4
From: Thomas Birke <[email protected]>
To: "Chestnut, Ronald P." <[email protected]>, [email protected]
Date: Wed, 02 Nov 2005 10:19:43 +0100
Chestnut, Ronald P. wrote:
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:

dm2kInit: unable to load font widgetDM_4, trying default (fixed) instead.

Which magic widget manipulating command must one enter to resolve this?

Ron Chestnut
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


Navigate by Date:
Prev: RE: SDDS build error Kevin Tsubota
Next: caSnoop build problem Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: More on fonts and RHEL4 Emmanuel Mayssat
Next: FMB LoCuM-4 current monitor Gillingham, IJ (Ian)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·