become root...
dnf install xorg-x11-fonts-75dpi
dnf install xorg-x11-fonts-ISO8859-1-75dpi
Use the version 5 font file.
Version 3 is described in https://ics-web.sns.ornl.gov/edm/eum.html#id2503129 .
Version 4 adds substitutions for all instances of a font spec. See https://ics-web.sns.ornl.gov/edm/log/show.php?mon=Apr&theDay=16&year=2012 .
Version 5 adds substitutions for single instances of a font spec. See https://ics-web.sns.ornl.gov/edm/log/show.php?mon=Jul&theDay=22&year=2013 .
Before Redhat released the liberation fonts, the scalable Helvetica font that shipped with their distribution rendered 16 point fonts smaller than it should have been. Liberation san-serif 16 point would not fit in objects that were sized based on the contents of text. Version 5 allows a font rendering adjustment that can be used as a temporary fix (until some poor developer takes the time to change 10000 screens).
John
-----Original Message-----
From: Pierrick Hanlet [mailto:[email protected]]
Sent: Thursday, February 02, 2017 3:38 PM
To: Sinclair, John William; [email protected]
Subject: Re: problem compiling edm
Thank you John,
That did the trick.
Now I need to revisit the fonts issue. There's an old message of adding Fonts.conf to /etc/X11/xorg.conf, but that doesn't appear to work with this newer os.
Perhaps the problem is that I've not been able to find the "unscaled"
fonts. Any ideas?
Thanks again,
Pierrick
On 02/02/2017 04:12 PM, Sinclair, John William wrote:
I believe I added the following to the makefile locally for newer versions of gcc:
USR_CXXFLAGS += -fpermissive -Wno-narrowing -Wno-write-strings
-Wno-unused-but-set-variable
John Sinclair
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Pierrick Hanlet
Sent: Thursday, February 02, 2017 9:16 AM
To: [email protected]
Subject: problem compiling edm
I've a new pc on which I'm running Fedora release 25. I'm using base 3.15.5.
I'm attempting to build edm, but whilst attempting to compile, I get:
make[2]: Entering directory
'/home/epics/epicsDEV/extensions/src/edm/lib/O.linux-x86_64'
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX
-Dlinux -O3 -g -Wall -DSINGLE_THREADED=1 -D__epics__=1
-mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I..
-I../../../../include/edm/compiler/gcc
-I../../../../include/edm/os/Linux -I../../../../include/edm
-I/home/epics/epicsDEV/base/include/compiler/gcc
-I/home/epics/epicsDEV/base/include/os/Linux
-I/home/epics/epicsDEV/base/include
-I/home/epics/epicsDEV/extensions/include -I../../util
-I../../lib -I/usr/include -I/usr/include -c ../cursor.cc
../cursor.cc: In member function ‘void cursorClass::create(Display*, Window, Colormap)’:
../cursor.cc:82:50: error: narrowing conversion of ‘224’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
^
../cursor.cc:82:50: error: narrowing conversion of ‘224’ from ‘int’ to
‘char’ inside { } [-Wnarrowing]
../cursor.cc:82:50: error: narrowing conversion of ‘224’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] and many more lines of the same.
I can't find this problem in tech-talk, nor with a web search. Has anyone run into this problem and if so, how did you resolve it?
Many thanks,
Pierrick