tyoma/agge

sample/text: font change lead to assert or exception

DaMilyutin opened this issue · 4 comments

In here (this works)
image

But changing font to ex. "Consolas" (I have it on my system) leads to this:
image

text-gdi works
image

what samples/text assertion says:
image

Ops. My bad. Arial was preinstalled as the only asset. It was the intent.

tyoma commented

Hey @DaMilyutin! Right on - to see font mapping in action you may check out samples in https://github.com/tyoma/wpl - that's a MV-controls library with a freetype font loader (you'll need CMake/conan for build).