Opened 4 years ago

Last modified 4 years ago

#70 new enhancement

Print in colour

Reported by: Erin Lynch Owned by: Olly Betts
Priority: minor Milestone:
Component: aven Version:
Keywords: Cc:

Description

I would like to print survey legs, stations, and LRUD markers in colour so they are easy to distinguish from my pencil sketch. I thought this had been implemented, but can no longer find the option.

Change History (2)

comment:1 Changed 4 years ago by Olly Betts

Some of the old printer drivers (printps, etc) supported specifying colours.

In theory aven's printing code did too, but I discovered while working on the code about 6 months ago that it's never actually worked, and the approach wasn't a great fit for a GUI app so I removed the dud code, as 1.2.18's NEWS file notes:

  • Aven's support for reading colours and font sizes for printouts from print.ini has never worked - the contents of the ini files are ignored due to a bug which has been there since the code was added in 2005 - but nobody has ever complained. So just strip out that code entirely - we should support setting the colours and font sizes, but a GUI interface for setting them would be better.

The UI part is probably most of the work - just reading colours stored in aven's config wouldn't be too hard. Are you using Linux these days? It's easy to adjust the config by hand there (just edit ~/.aven); trying to insert values into the Windows registry by hand is more awkward.

comment:2 Changed 4 years ago by Olly Betts

Component: Otheraven
Note: See TracTickets for help on using tickets.