Open ghost opened 4 years ago
NanoVG uses fontstash for font rendering, can you test the fontstash example to see if you get similar problem: https://github.com/memononen/fontstash
It uses premake too, so same procedure to run the example as with nanovg.
--mikko
On Fri, Oct 18, 2019 at 10:51 PM Oliver notifications@github.com wrote:
This is not necessarily a bug report, but rather to see if some further help could be provided.
In zynaddsubfx/zyn-fusion-issues#151 https://github.com/zynaddsubfx/zyn-fusion-issues/issues/151, I reported about a text display issue with Zyn-Fusion. Suggestion by the author of that program is that there might be an issue with the 'font atlas' in nanovg, which is used by that program.
Would there be some idea how to fix this problem?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/memononen/nanovg/issues/549?email_source=notifications&email_token=ABIBXSBWCURVY3ELEUU7XZDQPIHUBA5CNFSM4JCLTLQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS27QFQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBXSCCUPUY5O2SSJ2XBL3QPIHUBANCNFSM4JCLTLQA .
Thanks for the suggestion, but the result when running the compiled example
is identical to https://github.com/memononen/fontstash/blob/master/screenshots/screen-01.png?raw=true.
Yep, that's how it should look like. I was trying to see if we could replicate the problem with simpler setup.
I have to say, I have no idea what might cause your problem. NanoVG demo slowing down seems very odd. The error you get on console means that one of the draw commands is doing "invalid operation". It can mean many things. It could be buggy opengl driver, bug in nanovg, or zyn-fusion using the api unexpected way. Sorry, I cant be more helpful this time.
On Sun, Oct 20, 2019 at 10:39 AM Oliver notifications@github.com wrote:
Thanks for the suggestion, but the result when running the compiled example is identical to https://github.com/memononen/fontstash/blob/master/screenshots/screen-01.png?raw=true .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/memononen/nanovg/issues/549?email_source=notifications&email_token=ABIBXSFVQ67CSIEZATU6B3LQPQDLBA5CNFSM4JCLTLQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYELUY#issuecomment-544228819, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBXSBFCAW2SXMMAOP75M3QPQDLBANCNFSM4JCLTLQA .
This is not necessarily a bug report, but rather to see if some further help could be provided.
In https://github.com/zynaddsubfx/zyn-fusion-issues/issues/151, I reported about a text display issue with Zyn-Fusion. Suggestion by the author of that program is that there might be an issue with the 'font atlas' in nanovg, which is used by that program.
Would there be some idea how to fix this problem?