Right, the tiny fonts (but tiny to some people is not tiny to others!)
cannot currently be changed except by editing the C code and re-compiling.
I am just about to add an option to change this in the Python world (we
need a small data model addition for this). To change for now edit
ccpnmr1.0/c/ccpnmr/analysis/win_peak_list.c
Change line 208:
(drawing_funcs->set_draw_font)(data, "Helvetica", 10);
to have whatever font size you want (e.g. 12) and then do a "make" either
in ccpnmr1.0/c or in ccpnmr1.0/c/ccpnmr/analysis.
On the caption-lines / pointers front there is currently no way to turn
them off (but they are not supposed to appear unless far enough away from
the peak, but that might happen by default in some drawing modes I guess).
I'll add that as an option. If you want to turn them off permanently
(until I add the option to do so gracefully) then edit:
ccpnmr1.0/c/ccpnmr/analysis/peak.c
and look for the line (line 193) which contains fill_triangle:
(drawing_funcs->fill_triangle)(data, x0, y0, x1, y1, x2, y2);
and comment out. Then "make" as above.
Wayne
On Thu, 7 Dec 2006, Gary S. Thompson wrote:
> Dear All
> I have just upgraded to 1.0.12 and had a couple of problems that
> people maybe able to help with
>
> 1. my fonts on the spectrum canvases seem to be very small
> 2. the new caption lines? (I wasn't sure what to call them, i.e. the
> lines connecting peak crosses to peak labels) overlap the labels (see below)
> 3. can you switch off the caption lines?
>
> caption-lines
> regards
> gary
>
> --
> -------------------------------------------------------------------
> Dr Gary Thompson
> Astbury Centre for Structural Molecular Biology,
> University of Leeds, Astbury Building,
> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
> email: [log in to unmask] Fax +44-113-2331407
> -------------------------------------------------------------------
>
>
>
|