plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

SWS-AlexVletsas avatar image
SWS-AlexVletsas asked Simbol answered

[BUG] Problems with rendering of XML gauges in NanoVG


As you can see in the two images below, XML gauges will not render the same under NanoVG as they do under GDI+. Things to note:

  • OAT lacks unit
  • All vector texts seems squashed (OAT, baro pressure)
  • Bank markings are offset
  • Not visible in the pictures, but the text that appears in the black boxes at the bottom is also offset.

This issue goes back to the initial implementation of SU5 preview and seems incomplete.

esi500.png 1. XML Gauge rendered with GDI+

esi500-nanovg.png
2. XML Gauge rendered with NanoVG


aircraftgauges
esi500.png (563.1 KiB)
esi500-nanovg.png (499.7 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

·
Simbol avatar image
Simbol answered

Following.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.