Experimental Physics and Industrial Control System
In short, we have made hundreds of DM screens. The fonts looked fine.
However, some changes to the system have caused the DM text to be clipped.
As a temporary fix, I've inserted the following code in
extensions/opi/util/draw_strings.c:
185,193d184
< /* Avoid clipping at all costs
< handing off control to the non-clipping string drawing
< routine. */
< draw_horizontal_string(d, w, gc, prec, pfont_table, pstring,
< length, format);
< return;
< /* going back to calling function--thus we'll never execute
< the rest of this function */
<
419,427d409
< /* Avoid clipping at all costs
< handing off control to the non-clipping string drawing
< routine. */
< draw_vertical_string(d, w, gc, prec, pfont_table, pstring,
< length, format);
< return;
< /* going back to calling function--thus we'll never execute
< the rest of this function */
<
Thus the draw_fixed_horizontal_string and draw_fixed_veritcal_string are
handed over to the non-fixed routines.
We're running EPICS 3.13 R313B12-LBL.2 on solaris. We compiled with
scalable fonts. I also tried the CEBAF fonts, but they look worse. I
also tried to hard-code a font table into the preload_fonts utility but
that didn't produce any acceptable results.
Kenneth
- Navigate by Date:
- Prev:
Re: analog conversions Andrew Johnson
- Next:
CapFast source code Dr. Chong Lee
- 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:
Re: analog conversions Andrew Johnson
- Next:
CapFast source code Dr. Chong Lee
- 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