I had to make one small change (adding a declaration of "long get_text_width"
to draw_symbols.h) to get it to compile with the default compiler on my
system (clang), but otherwise it looks good.  I committed the change I had
to make, since it is correct for all systems.

(the function was defined as returning long *after* it had been used in the
file without being declared --- so the compiler was implicitly declaring it
as returning an "int", then puking when it hit the function definition)

On Sun, Apr 10, 2016 at 08:11:36PM -0700, we recorded a bogon-computron 
collision of the <[email protected]> flavor, containing:
> 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: [email protected]
> JID: [email protected]
> 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
> 



> _______________________________________________
> Xastir mailing list
> [email protected]
> http://xastir.org/mailman/listinfo/xastir


-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]

 


_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to