Experimental Physics and Industrial Control System
This one has worked for me for many years (including ubuntu 22.04):
(bluesky_2023_2) prjemian@zap:/tmp/bluesky$ more /usr/local/epics/opi/medm_fonts.alias
widgetDM_4 5x7
widgetDM_6 widgetDM_4
widgetDM_8 5x8
widgetDM_10 widgetDM_8
widgetDM_12 6x10
widgetDM_14 6x12
widgetDM_16 7x14
widgetDM_18 widgetDM_16
widgetDM_20 8x16
widgetDM_22 widgetDM_20
widgetDM_24 10x20
widgetDM_30 widgetDM_24
widgetDM_36 12x24
widgetDM_40 widgetDM_36
widgetDM_48 widgetDM_40
widgetDM_60 widgetDM_48
On 3/28/2023 10:45 AM, Stein, Samuel Joshua via Tech-talk wrote:
TL;DR : Has anyone gotten an exported MEDM session to display properly on Ubuntu 22.04?
I am trying to get the font aliases working for MEDM running on a remote machine but exporting the display to a local Ubuntu (22.04) machine. The guide I found (https://www.slac.stanford.edu/grp/ssrl/spear/epics/extensions/medm/MEDM.html#Fonts <https://www.slac.stanford.edu/grp/ssrl/spear/epics/extensions/medm/MEDM.html#Fonts>) regarding font alias creation got me close, but given the way the newest version of Ubuntu seems to handle fonts, I can't seem to get it working.
When medm is invoked, I get the following alias errors:
medmInit: Unable to load font widgetDM_30
Trying default (fixed) instead
medmInit: Unable to load font widgetDM_36
Trying default (fixed) instead
medmInit: Unable to load font widgetDM_40
Trying default (fixed) instead
medmInit: Unable to load font widgetDM_48
Trying default (fixed) instead
medmInit: Unable to load font widgetDM_60
Trying default (fixed) instead
Note that these fonts in the alias file appear to be pointing to adobe flavors, which may be an issue.
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- References:
- MEDM font alias woes on Ubuntu 22 (Jammy) Stein, Samuel Joshua via Tech-talk
- Navigate by Date:
- Prev:
Re: Links between bob files in different support modules Andrew Johnson via Tech-talk
- Next:
RE: MEDM font alias woes on Ubuntu 22 (Jammy) Mark Rivers via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
- Navigate by Thread:
- Prev:
MEDM font alias woes on Ubuntu 22 (Jammy) Stein, Samuel Joshua via Tech-talk
- Next:
RE: MEDM font alias woes on Ubuntu 22 (Jammy) Mark Rivers via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024