saxenashyam wrote:

hi
I am using itext1.4.1  to make pdf file from xml.
I am writing a servlet for it using Saxitexthandler.

I am getting  underscore sign whenever i using newline tag.
I have already sent you the proof that this is NOT an iText problem.
When I inspect the content stream of the PDF I see PDF syntax that draws
lines that are 0.8 point thick and 3.34 point long.
This is NOT a font problem as I assumed earlier.
The problem is that YOU are adding the underscores DELIBERATELY
somewhere inside your code. Nobody on the list is clairvoyant, so nobody
knows WHY and HOW you are adding these underscores.
My best guess is that you have copied somebody else's code without
knowing what it does.
Anyway, the JAVA sample I have sent you earlier SOLVES the problem.
br,
Bruno

PS: this is the PDF syntax inside your document that is responsible for
the underscores: the m is a moveTo, the l a lineTo.

0.8 w
295.83 790 m
299.17 790 l
S
1 w
0.8 w
36 766 m
39.34 766 l
S
1 w
0.8 w
422 742 m
425.34 742 l
S
1 w
0.8 w
36 730 m
39.34 730 l
S
1 w
0.8 w
288.43 694 m
291.77 694 l
S
1 w
0.8 w
36 682 m
39.34 682 l
S
1 w
0.8 w
542.46 658 m
545.79 658 l
S
1 w
0.8 w
36 646 m
39.34 646 l
S
1 w
0.8 w
36 610 m
39.34 610 l
S
1 w
0.8 w
188.48 598 m
191.81 598 l
S
1 w
0.8 w
36 586 m
39.34 586 l
S
1 w
0.8 w
501.45 550 m
504.79 550 l
S
1 w
0.8 w
36 538 m
39.34 538 l
S
1 w
0.8 w
230.45 466 m
233.78 466 l
S
1 w
0.8 w
36 454 m
39.34 454 l
S
1 w
0.8 w
122.45 370 m
125.79 370 l
S
1 w
0.8 w
36 358 m
39.34 358 l
S
1 w
0.8 w
36 346 m
39.34 346 l
S
1 w
0.8 w
36 334 m
39.34 334 l
S
1 w
0.8 w
295.83 310 m
299.17 310 l
S
1 w
0.8 w
295.83 298 m
299.17 298 l
S
1 w
0.8 w
295.83 286 m
299.17 286 l
S


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to