[Xastir] Map Fonts

Curt, WE7U curt.we7u at gmail.com
Tue Jun 27 08:14:38 PDT 2017


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-*-*-*-*-*-iso8859-1
   MAPS_LABEL_FONT_MEDIUM:-adobe-helvetica-bold-r-normal--12-*-*-*-*-*-iso8859-1
   MAPS_LABEL_FONT_LARGE:-adobe-helvetica-medium-r-normal--24-*-*-*-*-*-iso8859-1
   MAPS_LABEL_FONT_HUGE:-adobe-helvetica-medium-r-normal--24-*-*-*-*-*-iso8859-1
   MAPS_LABEL_FONT_BORDER:-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-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).

-- 
Curt, WE7U.        http://we7u.wetnet.net
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."  -Stephen Hawking


More information about the Xastir mailing list