[reportlab-users] Center align emoji's png images inside Paragraph

Robin Becker robin at reportlab.com
Tue Jul 14 08:36:26 EDT 2015


On 14/07/2015 10:54, Kaviraj Kanagaraj wrote:
> Hi
>
> I am trying to insert emjo's png inside Paragraph in reportlab. Basically
> image size Im using 18x18 with Paragraph Font size of 18 with center
> alignment. If Paragraph contains less than 6 pngs, All emojis are center
> aligned. But once its more than that Its no more center aligned.
>
> How to add those pngs inside paragraph without disturbing the paragraph
> styles?
I tried the attached example in latest reportlab it seems to put the image in 
the right place, but perhaps you can modify to show the problem you are having.
-- 
Robin Becker


>
> Thanks in advance
...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: img-example.zip
Type: application/x-zip-compressed
Size: 7558 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20150714/60be105a/attachment.bin>


More information about the reportlab-users mailing list