Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: DM Font Clipping
From: Kenneth Kang <ksykang@SLAC.Stanford.EDU>
To: tech-talk@aps.anl.gov
Date: Mon, 09 Aug 1999 08:02:19 -0700 (PDT)
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  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: analog conversions Andrew Johnson
Next: CapFast source code Dr. Chong Lee
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·