Hi all,
I have almost completed the fix for this. While testing I have observed one
more issue that character spacing is not correct when Identity encoding is
used. For winansi encoding characters appear closely spaced. For identity
encoding some space appears between characters
Regards
Jaseem
From: Jaseem Ali K T
Sent: 06 June 2016 23:49
To: 'podofo-users@lists.sourceforge.net' <podofo-users@lists.sourceforge.net>
Subject: Issue in GetMultiLineTextAsLines
Hi all,
I have observed one more issue related to DrawMultiLineText of PdfPainter.
The issue happens when the rectangle width is less than individual character
width. Suppose we have string 'AB' and the width of A and width of 'B' is 20
each, width of rectangle is 15 and we set vertical top alignment. In this case
big gap will be displayed between each characters and between first character
and top. In this case GetMultiLineTextAsLines will return a vector of size 4 as
opposed 2 that we would expect.
If a single character can't be perfectly fit in the width of rectangle , it
should be still be drawn in that line itself rather than pushing it to next
line(which will make it more ugly).
If anyone wants to reproduce the issue set the rectangle width as 30. Create
font of size 48 with Arial and with string 'AB' and draw multi line text
I might be able to fix the issue, but if anyone can find an optimized fix, fast
enough, that would also be OK
Regrads
Ali
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and
other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users