Search found 2267 matches

by JackZ
Mon May 29, 2017 12:55 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

I have created a wiki page where I will try to keep track of any changes that have to be made between AM 2.x and 3.x. Please let me know if I missed something. Corjan Corjan, may I suggest you also specify the need to place EACH font .tff file used in a 3.00 instrument in the respective resource fo...
by JackZ
Mon May 29, 2017 12:41 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Hi, The dial offset is actually a bug in 2.1.3, something that is fixed with AM 3.0. I'm afraid you have to change your instrument code in order to fix this misalignment. Corjan Wow, that's going to be a nightmare, converting all the gauges! Though most of the time the offset is unnoticeable. Would...
by JackZ
Sat May 27, 2017 4:25 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Another thing I noticed: The dials seem to be slightly offset (1 or 2 pixel to the left and up) in v3.0, when compared to the 2.1.3 Here's an example with the same code ( v3.0 is above) Capture.PNG Capture.PNG Still trying to figure the text display logic in v3.0. Up to now I get strange results to ...
by JackZ
Sat May 27, 2017 2:10 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Hmmm.. here's a first Hint: Apparently on the OpenGL version, the text is now positioned without using the font ascender. Noticing the text is displayed using FreeType via the SDL library, Here's what I found Let's say we want to draw the surface of glyph 'g' (retrived via 3.4.4 TTF_RenderGlyph_Soli...
by JackZ
Sat May 27, 2017 1:59 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

First test of Text display in AM: The main problem I see is that apparently accentuated characters are not displayed properly if at all. It seems as well that the rastering process of fonts make them slightly bolder than they should (v3.0 text is on the right). Capture.PNG Still investigating about ...
by JackZ
Sat May 27, 2017 10:59 am
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Thanks, I had it working and started experimenting with text in AM3.0.

One thing I don't get (yet):
Does Each font file used need to be put in the resources folder to be used, including generic ones such as Arial?


Jacques
by JackZ
Sat May 27, 2017 6:01 am
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Russ you're the man!
Exactly what I was looking for to start experimenting

Thanks

Jacques
by JackZ
Fri May 26, 2017 7:57 pm
Forum: Air Manager
Topic: User properties
Replies: 2
Views: 1725

Re: User properties

Corjan That's a GREAT improvement! One can use it to program more user friendly gauges, especially for optional display of graphic items such as screws and or bezels without having to fiddle with the code. The other thing is to have generic parametric gauges, where those parameters can be used to mo...
by JackZ
Fri May 26, 2017 6:29 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Re: Air Manager 3.0 New Lua functions and differences?

Thanks Corjan for the input. Could you only give us a hint on what are the new properties for text manipulations? I believe txt_add() has new parameters? I want to see what has to be done on a current 2.1.3 gauge (namely the new KDI 283 DME) to have it working on v3.0 beta, so even a snippet of code...
by JackZ
Fri May 26, 2017 12:29 pm
Forum: Air Manager
Topic: Air Manager 3.0 New Lua functions and differences?
Replies: 25
Views: 9740

Air Manager 3.0 New Lua functions and differences?

Everything is in the title: Have you documented somewhere the new functions and the differences in Lua and AM additional functions in AM v3.0 versus v2.1.3? This in order to evaluate the work needed to convert a gauge from one version to another. I noted that the text handling has been changed, so w...