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  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EDM fonts on Raspian ... (Solved)
From: Ernesto Paiser via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sat, 1 Aug 2020 17:34:22 +0000
Hello guys, here is the solution
HOWTO make EDM fonts working in Raspberry Pi4 (8GB) - Raspian OS:

1. Enable the high quality scalable fonts in the default font path:
sudo -s
cd /usr/share/fonts/truetype/liberation2
mkfontscale
mkfontdir

2. Check the current fontpath:
xset -q

NOTE:
The fontpath must contains:
/usr/share/fonts/truetype/liberation2:scaled,
/usr/share/fonts/X11/75dpi:unscaled,/usr/share/fonts/X11/75dpi,built-ins

3. Install 75 and 100 dpi fonts:
sudo -s
apt-get install xfonts-75dpi
apt-get install xfonts-100dpi

4. Give 512MB for the GPU from system preferences:

sudo raspi-config

7 Advanced Options [Enter]
A3 Memory Split    [Enter]
512                [Enter]
OK                 [Enter]
Finish             [Enter]
OK                 [Enter]

5. Use another way to add the liberation2 font to the default font path:
cd /usr/share/X11/xorg.conf.d
sudo vi 50-fp.conf

Add the following content:

Section "Files"
    FontPath "/usr/share/fonts/truetype/liberation2/:scaled:pri:10"
EndSection

That's all Folks
 Thank you John Sinclair for your help!
Ernesto

-----Original Message-----
From: Ernesto Paiser <ernesto_paiser at lynceantech.com> 
Sent: Monday, July 27, 2020 11:09 AM
To: tech-talk at aps.anl.gov
Subject: EDM fonts on Raspian ...

Hello all,

I tried to used Raspberry Pi 4 (8G RAM) to act as OPI for some tests, but, when loading the EDM screens, the fonts became ugly. I tried some different configurations and different fonts installation without success. Using MEDM it works well, the fonts are nice and the screens are the same on the original server.

Has someone experience EDM in Raspian? (They are becoming promising with the new 8G Ram model).

Thank you

  Ernesto




Navigate by Date:
Prev: RE: Lucid Vision Cameras Mark Rivers via Tech-talk
Next: edm logging Silver 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Lucid Vision Cameras Wlodek, Jakub via Tech-talk
Next: edm logging Silver 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  <20202021  2022  2023  2024 
ANJ, 01 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·