Marius Valentavicius
Marius Valentavicius

Reputation: 133

wxPython adding custom font from file

First of all I drawing text with GraphicsContext and want to import and change font from file (ttf) which is in my project folder. Thank you

Upvotes: 2

Views: 865

Answers (1)

VZ.
VZ.

Reputation: 22688

There is no functionality for adding fonts from external files in wxWidgets currently. Someone contributed code for doing this quite some time ago and it was almost ready for being merged, see http://trac.wxwidgets.org/ticket/13568, but this has never happened. If anybody needs this feature badly enough, I hope it might get done in the future.

Upvotes: 4

Related Questions