nextdayy
nextdayy
hi, here is a color picker that I made for use with one of my libraries using NanoVG, hope this helps! https://github.com/Polyfrost/OneConfig/blob/master/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java lines 254-351 have the math involved in parsing...
hi, thanks for your reply! here is my code (note this is the LWJGL bind, in java): public static float getTextWidth(long vg, String text, float fontSize) { float[] bounds =...
Hi, thanks for your help! Just setting the font size using the nvg function before made it calculate correctly. I have a couple more things as well that I have...
hi, thanks for your help! I tried this earlier, but still nothing :( At least instead of crashing it just hangs now! Do you have any idea what would be...
Okay, thanks. Is there any major performance impact to rasterization? I haven't been wanting to use it because I was concerned about lag when the GUI opens, and high memory...
hi! thanks for all your help, we decided in the end to just use PNGs! back to my original point, it seems after much troubleshooting that nanoVG renders text at...
Okay, yet why would this differ from many other programs, such as figma? It appears nanoVG calculates the font size as the maximum ascend and descend height scaled to the...
no, just trying to build for JNA. we are specifically targeting Linux, MacOS, MacOS ARM, and Windows. I was trying to build on Linux.
yeah, I'm not sure how I'd build against glew into JNA - firstly when I tried with it with glew, it wouldn't work as shared library, but also, I don't...
thank you for the speedy fix!