[Xastir] Map Fonts

Ken Koster n7ipb at wetnet.net
Tue Jun 27 08:45:45 PDT 2017


On Tuesday, June 27, 2017 8:14:38 AM PDT Curt, WE7U wrote:
> On Mon, 26 Jun 2017, Lee Bengston wrote:
> > The first thing I do is change the station text style to "Text on Black".
> > 
> > [Map - Configure - Station Text Style] via the menu. Changing the font
> > itself can be a little tricky, and may require additional fonts to be
> > installed.
> 
> I agree with the above. I run "text on black".
> 
> Took a quick run through xastir.org Wiki. Don't see anything about changing
> fonts in the HowTos, FAQ, or Tips & Tricks pages.
> 
> Guess we need to add a new one!
> 
> *) Install the "xfontsel" program. That's short for X Font Selector I
> believe.
> 
> *) Go to File -> Configure -> Fonts. You'll get a popup showing the
> different fonts. Make note of what's there just in case you want to get
> back. Maybe take a picture or a screenshot. You can also find these in the
> ~/.xastir/confif/xastir.cnf file. Here are mine:
> 
>   
> MAPS_LABEL_FONT_TINY:-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859
> -1
> MAPS_LABEL_FONT_SMALL:-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso885
> 9-1
> MAPS_LABEL_FONT_MEDIUM:-adobe-helvetica-bold-r-normal--12-*-*-*-*-*-iso8859
> -1
> MAPS_LABEL_FONT_LARGE:-adobe-helvetica-medium-r-normal--24-*-*-*-*-*-iso885
> 9-1
> MAPS_LABEL_FONT_HUGE:-adobe-helvetica-medium-r-normal--24-*-*-*-*-*-iso8859
> -1
> MAPS_LABEL_FONT_BORDER:-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso88
> 59-1 SYSTEM_FIXED_FONT:fixed
>    STATION_FONT:fixed
>    ATV_ID_FONT:-*-helvetica-*-*-*-*-*-240-*-*-*-*-*-*
> 
> *) Click on the "Xfontsel" button on the right of one you want to change. An
> xfontsel window should appear with that font in it.
> 
> *) Change it at will to something you like.
> 
> *) Once you're happy, hit "select" in xfontsel2 and that font should get
> written back to the Xastir Fonts dialog.
> 
> *) Hit "OK" at the bottom of that dialog and it should get saved in Xastir.
> 
> Whether or not you have to restart Xastir to see it is another question (try
> it and find out, then report back).

Do everything Curt said plus make sure you're running a recent version of Xastir.  The 
handling of proportional fonts and font sizing was fixed about a year ago and as a result 
you will have more font choices. 

Personally I use droid sans, bold and medium.

If you're running Xastir on an RPi you will need to build from source since the version of 
Xastir installed by raspian is ancient and unfortunately was the version handed out to 
100+ attendees of the RPi workshop at SeaPac a few weeks ago. 
-- 
Ken - N7IPB
Email: n7ipb at wetnet.net
JID: n7ipb at jabber.wetnet.net
PGP Sig: F42B EF90 3CD3 31C7 3056  122E 993A 7B2E 5138 C42A 
“I never am really satisfied that I understand anything; because, understand 
it well as I may, my comprehension can only be an infinitesimal fraction of 
all I want to understand” -Ada Lovelace 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://xastir.org/pipermail/xastir/attachments/20170627/e762889e/attachment.sig>


More information about the Xastir mailing list