Experimental Physics and Industrial Control System
|
Carl,
At some time in the past, an individual made some nice changes to the XY
graph and added the feature you describe. The problem is
that this makes things display properly for non-scalable fonts (which
don't get rotated). So previously, the scalable fonts displayed
properly and the non-scalable ones did not. Now, the reverse is true. I
guess I can change it back and add a check-box to indicate the
desired direction.
John Sinclair
so,
Carl Schumann wrote:
Hi,
We are upgrading from a 3-year old version of EDM to the current
version. For the xyGraphClass we find that the yLabel is displayed
properly by the old version of EDM but backwards by the new version of
EDM. E.g., "current(mA)" becomes ")Am(tnerruc". The spacing between
letters is also off with the new version as well. I did some
initial investigation of the new EDM and also compared old and new EDM
code. The relevant routine within EDM's source is
xyGraphClass::drawYlabel(...). From the old version the code for
moving along the y-axis ...
lY = plotAreaY + ( plotAreaH + lW ) / 2;
for ( i=0; i<strlen(label); i++ ) {
lY -= inc;
From the new version the code for moving along the y-axis ...
lY = plotAreaY + ( plotAreaH - lW ) / 2;
for ( i=0; i<strlen(label); i++ ) {
lY += inc;
The difference in code is what accounts for the backward text. So
now I am wondering what to do about this issue. We don't really want
to maintain our own version of EDM with code changes. Guidance
please. Thank you for your time.
Sincerely,
Carl Schumann
- References:
- EDM xyGraphClass yLabel displaying backwards Carl Schumann
- Navigate by Date:
- Prev:
Re: epics dbpf problem Thomas Birke
- Next:
RE: a question about mbbiDirect and fanout Owens, PH (Peter)
- 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:
EDM xyGraphClass yLabel displaying backwards Carl Schumann
- Next:
How have folks been dealing with the Channel Archiver's 2GB index file limit? Tom Cumming
- 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
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|