Thread: CMake
View Single Post
Old 08-12-2017, 02:21 PM   #22
MSK
Human being with feelings
 
Join Date: Jan 2017
Posts: 43
Default

Quote:
Originally Posted by Youlean View Post
I would suggest you to use create_global_font_from_path from ycairo base and to put it in the plugin constructor, then you will be able to use ycairo text with that font in any ycairo text instance. You can also use similar method in ycairo text. You can also use font from memory but you will need to declare font in resource.h and .rc for windows.

Btw, I am on vacation so I probably won't be able to reply you anymore until I get back.
Great, I'll give it a go. Thanks Youlean!

MSK
MSK is offline   Reply With Quote