[Xastir] Font and Station Text style

Ken Koster n7ipb at wetnet.net
Sun Apr 10 20:11:36 GMT 2016


On Friday, April 8, 2016 8:00:05 PM PDT Ken Koster wrote:
> Checked in to CVS is an update to draw_symbol.c with the following:
> 
> For Station Text Styles the grey and black backgrounds now scale with
> changes in font size. The positions of text around the station symbol now
> also take into account the font size. Still no support for proportional
> fonts so you're best off using one of the fixed or mono fonts. Tested up to
> the ludicrous size of 100pt
> 
> I've been casting the xastir main screen to the chromecast on my big screen.
> The small fonts just wouldn't hack it and the big fonts overlapped and
> looked ugly.
> 
> So I fixed it.

Re-worked to handle proportional fonts and scale with font size changes.  To bad we don't 
scale the symbol but I'm not about to open that can of worms.

Tested with a view from Alaska to Cuba and over six thousand visible stations.  All text 
elements turned on, and no easily observable memory issues.  Yes it took about four seconds 
to redraw when you switch Station Styles but displaying that many is a bit impractical.

Those feeling adventurous have at it.
-- 
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 have now exceeded my BFS (Budget For Stupid) for the month" - Me to  WE7U

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://xastir.org/pipermail/xastir/attachments/20160410/c7c0d3d5/attachment-0001.sig>


More information about the Xastir mailing list