BCDA-APS / epics-bluesky-vm

Simulate a beam line using EPICS IOCs, GUIs, Bluesky and related components.
Other
1 stars 0 forks source link

MEDM fonts not found #4

Closed prjemian closed 3 years ago

prjemian commented 3 years ago
(base) apsu@apsu-beamline-simulator:~$ /tmp/docker_ioc/iocgp/xxx-R6-1/start_MEDM_xxx &
[2] 10495
(base) apsu@apsu-beamline-simulator:~$ 

medmInit: Unable to load font widgetDM_4
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_6
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_8
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_10
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_12
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_14
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_16
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_18
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_20
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_22
  Trying default (fixed) instead

medmInit: Unable to load font widgetDM_24
  Trying default (fixed) instead

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
MEDM Version 3.1.16: Loading aliased fonts.................
prjemian commented 3 years ago

In planning document, the font file will not be found. It is created with

cd ${EPICS_EXT}
# ! MEDM widget font aliases
# !
# ! add to /usr/X11R6/lib/X11/fonts/misc/fonts.alias
# !     or /usr/share/fonts/X11/misc/fonts.alias
# !
cat > ./medm_fonts.alias << EOF

but deployed here:

# run these steps from the root account
sudo su
cp /usr/share/fonts/X11/misc/fonts.alias{,.original}
cat ${EPICS_EXT}/fonts.alias >> /usr/share/fonts/X11/misc/fonts.alias
xset fp rehash

Use the same file name.