[Xastir] Dbfawk font_size

Troy M. Campbell troymc at epicalliance.com
Tue Apr 17 16:05:09 EDT 2007


I accidentally discovered the symbolic link/2 dbfawk files method.  It
_is_ kind of squirrelly but works.  My only concern is that this isn't
considered "normal behavior" for a program and someone will "fix" it one
of these days.

73 de Troy, KC0MIC 

-----Original Message-----
From: Tom Russo [mailto:russo at bogodyn.org] 
Sent: Tuesday, April 17, 2007 2:07 PM
To: Jason Winningham
Cc: Troy M. Campbell; Xastir at xastir.org
Subject: Re: [Xastir] Dbfawk font_size

On Tue, Apr 17, 2007 at 01:56:54PM -0500, we recorded a bogon-computron
collision of the <jdw at eng.uah.edu> flavor, containing:
> 
>  On Apr 17, 2007, at 1:58 PM, Troy M. Campbell wrote:
> 
> > I'd like to display the label of a county (for example) depending on

> > the zoom level.
> 
> > Is there a way to do this?   I can't figure out the expression for
it.

This is not possible directly through dbfawk.  The dbfawk language is
limited to setting a few specific internal rendering variables based on
the contents of the DBF file, and there's no way to *read* xastir
internals such as zoom level from a dbfawk file, only *set* them.  To
accomplish what you want through dbfawk alone would require enhancements
to the dbfawk language.

>  I wanted to display borders in a different line style based on zoom 
> level,  but couldn't figure out a way to do it.  I ended up playing 
> some games with  symbolic links (to make it appear that there were two

> different copies of  the same map) and using display levels and
different dbfawks to get it done.
>   Pretty hokey, but if you _really_ want it...

Yeah, hokey, but a usable workaround given dbfawk's limitations.

-- 
Tom Russo    KM5VY   SAR502   DM64ux
http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1
http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a
one-trick pony anyway? I mean all you get is  one trick, rational
thinking, but when you're good and crazy, oooh, oooh,  oooh, the sky is
the limit!"  --- The Tick



More information about the Xastir mailing list