Roman Shapiro

Results 58 comments of Roman Shapiro

Yeah, compiling with that option solved the problem.

Sorry for the late response. I've noticed that you've changed the formatting of the source code, which makes it hard to review the code. Can I ask you to revert...

I'd suggest adding xenko project template(s) to the nuget. So one could install it through `dotnet new -i Xenko.Game.Template` and use through `dotnet new xenkogame`

I've tried to build Xenko.CodeOnlySample from the console using dotnet and it failed: ![image](https://user-images.githubusercontent.com/1057289/51080049-f8a02c00-1706-11e9-9830-111453848097.png) Is it a bug? Or did I do something wrong? It builds in VS2017 without problems.

Thanks! The new Xenko release "3.1.0.1-beta01-0396" allows to build Xenko.CodeOnlySample from the command line using "dotnet build".

Another solution would be to use StbSharp/StbTrueType. Right now, it's MonoGame Sample demonstrates how to dynamically create a SpriteFont: https://github.com/rds1983/StbSharp/blob/c3220a9dae71fd3491d7b5bf8bfe0d1f82f08ea8/Samples/StbSharp.MonoGame.Test/Game1.cs#L44 ![image](https://user-images.githubusercontent.com/1057289/47949817-07869780-df7c-11e8-94d1-240dcaef6b73.png)

It has downside - the font baker API(which is wrapper over stb_truetype) is very simple: https://github.com/rds1983/StbSharp/blob/master/StbSharp/FontBaker.cs I've made it just to check whether the thing works.

btw, there's another stb_truetype port to C# made by @KonajuGames: https://github.com/KonajuGames/TrueTypeSharp/tree/master/TrueTypeSharp I haven't reviewed it throughfully. But from the glance it doesnt have unsafe code.

@mrhelmut > Do you think it would be possible to add an option to Sichem to produce safe code? The FakePtr from TrueTypeSharp looks like a solution (and is of...