EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: edm questions
From: Mark Rivers <[email protected]>
To: "'Sinclair, John William'" <[email protected]>, "'[email protected]'" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 2 Dec 2014 17:46:06 +0000
Hi John and all who responded,

I did resolve my edm problems, thanks.  There were 2 issues:

1) Using the following fonts.list from Linda at Diamond resolved the font issue:

corvette:local/idl_user/tomography>more ~/fonts.list
3 0 0
courier-bold-r-12.0
arial-medium-r-18.0
courier=-*-courier-(medium,bold)-(r,i)-normal--*-(80,100,120,140,160,180,200,240,280,320,360,420,480,600,720,960,1200,1680,2160,3120,4080,5040)-75-75-m-*-*-*   preload
arial=-*-arial-(medium,bold)-(r,i)-normal--*-(80,100,120,140,160,180,200,240,280,320,360,420,480,600,720,960,1200,1680,2160,3120,4080,5040)-75-75-p-*-*-*       preload
overview=-*-arial-(medium,bold)-(r,i)-normal--*-(280)-75-75-p-*-*-*     preload
sub domain=-*-arial-(medium,bold)-(r,i)-normal--*-(240)-75-75-p-*-*-*   preload
tech area=-*-arial-(medium,bold)-(r,i)-normal--*-(200)-75-75-p-*-*-*    preload
device=-*-arial-(medium,bold)-(r,i)-normal--*-(180)-75-75-p-*-*-*       preload
engineering=-*-arial-(medium,bold)-(r,i)-normal--*-(160)-75-75-p-*-*-*  preload
helvetica={
-adobe-helvetica-(medium,bold)-(r,o)-normal--*-(80,100,120,140,180,240)-75-75-p-*-*-*   preload
-urw-helvetica-(medium,bold)-(r,o)-normal--*-(80,100,120,140,160,180,200,240,280,320,360,420,480,600,720)-75-75-p-*-*-* preload
}

2) Tom Cobb from Diamond also sent a small patch for edm that eliminates the border padding for text entry widgets.  This makes the small text entry widgets in their edm screens usable.

Mark



-----Original Message-----
From: Sinclair, John William [mailto:[email protected]] 
Sent: Sunday, November 30, 2014 12:39 PM
To: Mark Rivers; '[email protected]'; [email protected]
Subject: Re: edm questions

Yes, the fonts come from exceed. The missing text is probably the result of the objects in question being motif widgets which have their own font requirements.

From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Friday, November 28, 2014 at 9:34 AM
To: "'[email protected]<mailto:'[email protected]>'" <[email protected]<mailto:[email protected]>>, aps <[email protected]<mailto:[email protected]>>
Subject: RE: edm questions

Thanks for the response to my edm question.

I should have said in my original post that I am running edm on a Fedora 15 Linux system, but I am displaying on a Windows 7 machine running Exceed 14 as the X11 server.  So the fonts come from Exceed, correct?

Since edm reports that it did successfully replace the missing arial fonts with my system default helvetica fonts, is the fact that my button and menu widgets have no text at all on them likely to be a font problem or something else?  Note that the menu widgets do display text for the dropdown list, but the currently selected item does not display its text.

Thanks,
Mark


From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of [email protected]<mailto:[email protected]>
Sent: Friday, November 28, 2014 4:21 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: edm questions

Mark,

Attachments of DLS colours and fonts, the result of running the file and asking EDM to view the font mappings on my RHEL6 and RHEL5 and a snapshot of part of the screen as it is intended to look in editing and run modes (PVs all disconnected though).
We mostly have RHEL6 in production use.

Linda

Software Systems Engineer
Controls Department
[email protected]<mailto:[email protected]>
+44 (0)1235 778058
www.diamond.ac.uk
Diamond Light Source Ltd



From: Bruce Hill [mailto:[email protected]]
Sent: 26 November 2014 22:01
To: [email protected]<mailto:[email protected]>
Subject: Re: edm questions

Hi Mark,
This sounds like a font problem.    I'm on vacation today
and need to get back to some furniture moving, but I'm attaching
a copy of our fonts.list and colors.list files so you have some
more examples to work from.    The colors are probably fine
with the default, but fonts can be tricky depending on your
linux distribution.    The attached ones work for us from RHEL5,
RHEL6, and from windows systems.

Edm widget layouts assume a standard dpi, so you should use
either 75dpi or 100dpi fonts exclusively in your fonts.list file.
I think the default is 75dpi, which is what we're using.

You should install xorg-x11-fonts-75dpi, or the xorg-x11-fonts-100dpi
depending on which way you go.   You should also install xorg-x11-fonts-misc
and xorg-x11-fonts-truetype as well.

If you're still having trouble, post a copy of your fonts.list file and
any console error msgs and I'll take a look later.

Cheers,
- Bruce
On 11/26/2014 1:25 PM, Mark Rivers wrote:
Folks,

I am new to edm and am having problems with fonts or colors or something.

The problem is that all of the buttons in the edm display appear to be lacking labels and the text entry widgets have no text.  I have attached a screen shot of the edm display showing the problem.

Is this due to the font errors, or a color problem, or something else?

When I run an edm display from Diamond Light Source I get the following errors repeating from edm in a message window:

Cannot find font: [arial-bold-r-10.0]
  Using default window font: [arial-bold-r-12.0]
Cannot find default window font: [arial-bold-r-12.0]
  Using default site font: [helvetica-medium-r-10.0]

It appears that it did find my default site font, helvetica-medium-r-10.0.

Here are the arial fonts on my system:

corvette:aravisGigEApp/op/edl>xlsfonts | grep arial
--arial-bold-i---0-0-0-0-p-0-iso8859-1
--arial-bold-i---0-0-0-0-p-0-iso8859-1
--arial-bold-r---0-0-0-0-p-0-iso8859-1
--arial-bold-r---0-0-0-0-p-0-iso8859-1
--arial-medium-i---0-0-0-0-p-0-iso8859-1
--arial-medium-i---0-0-0-0-p-0-iso8859-1
--arial-medium-r---0-0-0-0-p-0-iso8859-1
--arial-medium-r---0-0-0-0-p-0-iso8859-1
-monotype-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-bold-i-normal--0-0-100-100-p-0-iso8859-1
-monotype-arial-bold-i-normal--0-0-75-75-p-0-iso8859-1
-monotype-arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-bold-r-normal--0-0-100-100-p-0-iso8859-1
-monotype-arial-bold-r-normal--0-0-75-75-p-0-iso8859-1
-monotype-arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-medium-i-normal--0-0-100-100-p-0-iso8859-1
-monotype-arial-medium-i-normal--0-0-75-75-p-0-iso8859-1
-monotype-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
-monotype-arial-medium-r-normal--0-0-100-100-p-0-iso8859-1
-monotype-arial-medium-r-normal--0-0-75-75-p-0-iso8859-1

I added those fonts to my fonts.list, but I still get the same errors.

Thanks,
Mark



--

Bruce Hill

Member Technical Staff

SLAC National Accelerator Lab

2575 Sand Hill Road M/S 10

Menlo Park, CA 94025




--

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom




References:
edm questions Mark Rivers
Re: edm questions Bruce Hill
RE: edm questions Linda.Pratt
RE: edm questions Mark Rivers
Re: edm questions Sinclair, John William

Navigate by Date:
Prev: Re: xsubpp moved under Sscientif Linux 7.0 Wang Xiaoqiang (PSI)
Next: Re: mbboDirect vs. autosave Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: edm questions Sinclair, John William
Next: usage of CALC 梁雅翔
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·