Quote:
Originally Posted by MSK
Awesome thanks. Looking at the class, only thing that isn't clear to me is how to set the font, what would the member calls look like for that?
MSK
|
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.