Attempting to port the orienteering course setting program PurplePen (.net/WPF based) to Linux.

So far it uses a new Avalonia UI base and it looks like that I have gotten the underlying libraries to both compile and work.

Opening and rendering maps ✅
Got zoom and pan working.
Didn't realize that PurplePen was not only capable of rendering Mapper files but it will try to render them with all of their templates, etc. Kinda explains why using my most complex mapping project with several GBs of raster templates would fail. 🤷‍♂️
Got controls rendering! Kinda useful already as I can inspect my collection of PurplePen files without starting a VM.
By starting a VM I mean going to my parents who have a Windows PC. A tricky thing porting this is actually that I'm not sure what bugs are mine, quite sure the OMAP related crashes so far aren't issues on my end.

We are getting somewhere, next up control symbols in the control description, then course rendering when switching course.

When that's in place I think we got a very nice application for viewing PurplePen files.

Other than print and everything PDF I think most of the tricky parts are done, still so much work left as one needs to port so much code from WPF.
I got this weirdest bug where controls and forms will only appear when I hover them, thing is this happen a lot on my stuff with various GUI toolkits(mostly Qt) so my hope and bet is that it's my system rather than this port.

Final progress update for today, control description kinda working.

When I first thought of this port (years ago), I never imagined that I would approach this by writing a new GUI but instead using some hacky solution for running WPF on Linux.

This has however gone rather smoothly, probably going to finish the basics of viewing events and courses tomorrow and publish it. I do want to tackle editing, printing and all of its features but that's quite an undertaking.

Okay, got course rendering working, done for the time being!

Lot's of potential side projects here, in particular it would be wonderful if I could port the OCAD and Mapper rendering to WebAssembly.