Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 12-02-2010, 12:48   #1
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Vector Soundings Font Size?

Is there any way to tune the font size of the depth soundings when displaying ENC's?
(without having to recompile the software... )

I find the numbers are quite large and they can get a bit cluttered when zooming out.

/j
JesperWe is offline   Reply With Quote
Old 12-02-2010, 12:59   #2
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Not that I'm aware of, but you may wish to try fiddling with the vector chart settings in the tools menu, or turning down the level of vector chart detail for a given level of zoom.
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 12-02-2010, 13:06   #3
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Yeah tried all those...

Maybe I suck at searching, but I tried to find building instructions and failed.
Does it build with MinGW or do I need VS?

Any pointers to where in the source I would fiddle with the font used to render soundings?
JesperWe is offline   Reply With Quote
Old 14-02-2010, 03:06   #4
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
People have been building it on VS with a file supplied by Mark (Psyches), the current "VP" of dev.. Not sure what thread it's on..
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 14-02-2010, 03:14   #5
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
I checked out the CVS. The readme says it uses Watcom.

Since the code was not self explanatory, and I only have MinGW installed I think I'll wait and see if there are some tips on where to mess with the font before I attempt to build :-)
JesperWe is offline   Reply With Quote
Old 14-02-2010, 03:26   #6
Registered User

Join Date: Nov 2009
Location: France
Posts: 63
JesperWe,
Did you try to toggle the soundings on / off :
tools / settings -> vector charts -> ShowSoundings
Build help can be found on several threads. This one seems to be up-to-date (except route manager and / or AIS patches) :
http://www.cruisersforum.com/forums/...n32-34824.html
Totobeloeil is offline   Reply With Quote
Old 15-02-2010, 00:55   #7
Registered User

Join Date: Oct 2009
Posts: 50
Quote:
Originally Posted by JesperWe View Post
I checked out the CVS. The readme says it uses Watcom.

Since the code was not self explanatory, and I only have MinGW installed I think I'll wait and see if there are some tips on where to mess with the font before I attempt to build :-)
Hi Jesper,

Its very easy to download and install VC2008 Express from MS site(free). I now use VC2010 Express Beta 2 which I think is an improvement, but a little harder/longer install time. Use this with the VCProj file pointed to previously and you should be able to compile the CVS code. (A certain amount of experience is needed with VC, to get going)

When you have sorted all this, then you can focus on file s52plib.cpp line:2853 where you will find the font creation.

Good luck..
/Pete
PeteCross is offline   Reply With Quote
Old 15-02-2010, 03:10   #8
Registered User

Join Date: Oct 2009
Posts: 50
Quote:
Originally Posted by PeteCross View Post
Hi Jesper,

Its very easy to download and install VC2008 Express from MS site(free). I now use VC2010 Express Beta 2 which I think is an improvement, but a little harder/longer install time. Use this with the VCProj file pointed to previously and you should be able to compile the CVS code. (A certain amount of experience is needed with VC, to get going)

When you have sorted all this, then you can focus on file s52plib.cpp line:2853 where you will find the font creation.

Good luck..
/Pete

Update

There is a fairly simple method to changing the text format for an object and that is editing the rules text file.(S52razds.rle)
Rename it then so as not to get confused!

In this file there are formats similar to the following:

TX($TXSTR,$JUSTH=3,$JUSTV=1,$SPACE=2,'15110',0,0,C HBLK,27)

Searching on TX will give you all these.

To format this text information.
the '15110' is used to give the following:
1 = Style
5 = Weight
1 = Width
10 = Text Size

Text Size seems mostly to be 10 but 20 is used sometimes!

Could save time compiling etc...

/Pete
PeteCross is offline   Reply With Quote
Old 15-02-2010, 05:48   #9
Registered User

Join Date: Oct 2009
Posts: 50
I have done a global change in S52razds.rle from '15110' to 1518' and '15120' to 15116'.
This gives gobally smaller text on vector charts and to my mind less obstrucktive, but still informative.

/Pete
PeteCross is offline   Reply With Quote
Old 15-02-2010, 11:32   #10
Registered User
 
Psyches's Avatar

Join Date: Apr 2008
Location: SF Bay Area
Boat: Tartan 30 - Bluegrass
Posts: 187
Send a message via Yahoo to Psyches Send a message via Skype™ to Psyches
Thanks Pete. I'm interested to hear in other folks comments - I suggest if several agree, we add a feature request on sf.net to make the change the default.

I'd make the change myself but I really want to get Dave's review for this kind of thing.
Psyches is offline   Reply With Quote
Old 15-02-2010, 12:44   #11
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Quote:
Originally Posted by Psyches View Post
Thanks Pete. I'm interested to hear in other folks comments - I suggest if several agree, we add a feature request on sf.net to make the change the default.

I'd make the change myself but I really want to get Dave's review for this kind of thing.
I'd hate to seem presumptuous, but I'd bet that Dave will object on account of the loss of legibility at a distance (sticking to the ENC doxa ).
Across the board reduction (see PeteCross post) does improve US ENC rendering (some geographic labels were way too huge).
Strangely, sounding size (see original query) is not affected.
I wonder why !
Attached Thumbnails
Click image for larger version

Name:	ENC1.jpg
Views:	186
Size:	180.1 KB
ID:	13273   Click image for larger version

Name:	ENC2.jpg
Views:	200
Size:	215.7 KB
ID:	13274  

sailorF54 is offline   Reply With Quote
Old 15-02-2010, 23:56   #12
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Note the geographic labels problem is an NOAA ENC specific issue - doesn't occur on C-MAP.
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 16-02-2010, 00:52   #13
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Quote:
Originally Posted by idpnd View Post
Note the geographic labels problem is an NOAA ENC specific issue - doesn't occur on C-MAP.
Granted, but it seems easier to tweak OpenCpn according to one's taste / requirement than to modify an ENC chart
Here's a snapshot of some Spanish ENC
Attached Thumbnails
Click image for larger version

Name:	Spain.jpg
Views:	202
Size:	226.4 KB
ID:	13281  
sailorF54 is offline   Reply With Quote
Old 16-02-2010, 01:59   #14
Registered User

Join Date: Oct 2009
Posts: 50
Quote:
Originally Posted by Psyches View Post
Thanks Pete. I'm interested to hear in other folks comments - I suggest if several agree, we add a feature request on sf.net to make the change the default.

I'd make the change myself but I really want to get Dave's review for this kind of thing.
I was thinking that this sort of thing should belong to a special customization section (web page) as Dave suggested for color schemes, before going on vacation. He was going to modify the library code to enable this sort of thing. Maybe by having an extra keyword in the rules file to identify customization.
Dave then has the ability to maintian the standard/default rules.
As we see from this small example, it does not solve everyones problems of soundings text size.

/Pete
PeteCross is offline   Reply With Quote
Old 17-02-2010, 22:00   #15
Registered User

Join Date: Oct 2009
Posts: 50
Here is the result of my customization so far. Rule file is included.

/Pete
Attached Thumbnails
Click image for larger version

Name:	screenshot.10.jpg
Views:	188
Size:	434.1 KB
ID:	13307  
Attached Files
File Type: doc S52custom1.rle.zip.doc (83.6 KB, 107 views)
PeteCross is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Depth Soundings by Color Code for the World ? H Romberg General Sailing Forum 9 31-12-2011 17:37
DNC Vector compared to ENC vector chart? adjuvantjfoster Marine Electronics 8 17-09-2006 17:19

Advertise Here


All times are GMT -7. The time now is 08:11.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.