MaterialSkin icon indicating copy to clipboard operation
MaterialSkin copied to clipboard

MaterialSkin and Mono/Linux Support

Open dydimos opened this issue 4 years ago • 1 comments

Hello,

I tried to start a test MaterialSkin-WinForms TestApp on my Raspberry Pi. Unfortunatelly I only get the error

System.EntryPointNotFoundException: AddFontMemResourceEx ...

Is it possible to get MaterialSkin running under Mono/Linux?

Thanks

dydimos avatar Oct 19 '20 09:10 dydimos

Hi, thanks for reporting!

I'm afraid it won't be possible to support mono, this lib uses a lot of hook to windows libraries, the error you're getting, for example, is used to temporarily add the roboto font to the system.

Feel free to try and add support it by removing some unnecessary calls, and then gate these calls behind a "if it's on windows" verification. But it will be a lot of work

Gl :)

leocb avatar Oct 19 '20 15:10 leocb