Samuel Ugochukwu
Samuel Ugochukwu
Nice one.... > I hope lunasvg can also have a way to do like this. Thanks. Things are different and complex here, I'm glad you found a solution to your...
> So, if lunasvg's parser can extract the Text elements, I will certainly give it a try. (I mean I can draw text by myself, and all the other stuffs...
https://github.com/sammycage/lunasvg/blob/ef111f983225d7598cb9044796ed3b1146927135/3rdparty/plutovg/plutovg-blend.c#L470-L471 The Radial Gradient mathematics failed here....
Use `Document::render` instead. Example : ## Original ![original](https://user-images.githubusercontent.com/29164324/185590862-5d28d221-b2a2-48db-b6d5-e3f50736ac16.png) ## Rotate ```cpp Matrix matrix; matrix.rotate(45, document->width() / 2, document->height() / 2); Box box(0, 0, document->width(), document->height()); box.transform(matrix); Bitmap bitmap(box.w, box.h); bitmap.clear(0x8080FFFF);...
Current text support is submininal. TSpan, TRef and TextPath are on the roadmap. > Would it be possible to add it to the list? I'll update the to-do list later
I will take a closer look at it... Thank you for reporting this wonderful issue
Can you please send me the complete file
Fixed.. Thanks for reporting
@jry2 Are you still searching?
@jry2 I'll let you know when it's ready.