[Xastir] Font and Station Text style
Ken Koster
n7ipb at wetnet.net
Fri Apr 8 21:06:56 GMT 2016
On Friday, April 8, 2016 9:45:54 PM PDT Tom Russo wrote:
> Hmmm.
>
> Just built this, and now the "last heard time" stands so far off to the
> left of a station that it almost doesn't look associated with the station.
>
> http://pages.swcp.com/~russo/imgs/snapshot.png
It looks like you're using a proportional font so the calculated widths are wrong. Try turning
on Text on Black and I bet the area between the time and the symbol is a big black area.
The old code had it wrong too but because of the fixed offsets it wasn't as noticable.
Is this a show stopper for you? Or am I going to have to work on figuring out how to calculate
the whole text width.
> I coulda sworn it used to be closer.
>
> On Fri, Apr 08, 2016 at 08:00:05PM -0700, we recorded a bogon-computron collision of the
<n7ipb at wetnet.net> flavor, containing:
> > 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.
> >
> >
> >
> > _______________________________________________
> > Xastir mailing list
> > Xastir at lists.xastir.org
> > http://xastir.org/mailman/listinfo/xastir
--
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/20160408/cd458518/attachment-0001.sig>
More information about the Xastir
mailing list