sbarisic / NuklearDotNet

.NET binding for the Nuklear immediate mode GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font Issue

yatesm4 opened this issue · comments

Hello,

I've been trying to use NuklearDotNet (with SFML.NET) but keep running into the same issue.

Font's just aren't rendering correctly. I can check the image that my SfmlDevice is getting for the font, and I know its getting the right image (default font, same as the examples) but its never rendering them correctly.

image

In my case, I think its due to trying to use NuklearDotNet with .NET Core instead of .NET Framework. I've gone so far as to make a replacement NuklearDotNet project thats based in .NET Core but even still, the issue persists. Does anyone know why this might occur? I don't get the issues in the example projects, its only when trying to work with .NET Core

Can you upload a whole sample project working with .NET core somewhere? This looks like alpha blending issue.

Yea sure, sorry its on Gitlab - I am too lazy to switch my local git config to github atm https://gitlab.com/mattyates/nuklearnetcore

Ignore the additional Nuklear submodule, I messed up adding nuklear_c originally and now it thinks the submodule is in there twice.

I made this from a blank slate, but copying over NuklearDotNet (to walk through what could possibly be the issue) instead of forking it.

Once you pull it, you will probably need to do a Nuget restore on the whole solution since the SFML packages are added via nuget.