On 09/22/13 15:21, Bob Babcock wrote:
Larry Evans wrote:
I'm trying to extract the characters from page 41 of:
www.irs.gov/pub/irs-pdf/i1040.pdf‎

The above link doesn't work, but I have a copy of this pdf from doing my taxes.
If I try to extract text from page 41 with Adobe Reader 11, I get garbage. If I
go back to the 2011 tax year, the equivalent worksheet is on page 37 and Adobe
Reader has no problem extracting text.

Thanks for the feedback Bob.

I got something simlar.

When I run the itext on the i1040.pdf on page 37, I get the attached.
This attached does show mostlyreadable characters; however, some are
still not readable.

I've also looked at the pdf with rups and it shows several different
Dictionaries of type /Font; however, I've no idea how to use that
information (yet).

I've also browsed the _IText in Action, 2nd ed._, Chapter 12,
"Chosing the right font"; however, I've still not figured what
to do :(

-regards,
Larry

***Page:37
2011 Form 1040?Line 44
Qualified Dividends and Capital Gain Tax Worksheet?Line 44 Keep for Your Records

 See the earlier instructions for line 44 to see if you can 
use this worksheet to figure your
tax.

 If you do not have to file Schedule D and you received capital gain 
distributions, be sure
you checked the box on line 13 of Form 1040.
1. Enter the amount from Form 1040, line 43. However, if you are filing Form
2555 or 2555-EZ (relating to foreign earned income), enter the amount from
line 3 of the Foreign Earned Income Tax Worksheet .................... 1.
2. Enter the amount from Form 1040, line 9b*......... 2.
3. Are you filing Schedule D?*
 Yes. Enter the smaller of line 15 or 16 of
Schedule D. If either line 15 or line 16 is
blank or a loss, enter -0- 3.
}
 No. Enter the amount from Form 1040, line 13
4. Add lines 2 and 3 ............................ 4.
5. If filing Form 4952 (used to figure investment interest
expense deduction), enter any amount from line 4g of
that form. Otherwise, enter -0-................... 5.
6. Subtract line 5 from line 4. If zero or less, enter -0- 
..................... 6.
7. Subtract line 6 from line 1. If zero or less, enter -0- 
..................... 7.
8. Enter:
$34,500 if single or married filing separately,
$69,000 if married filing jointly or qualifying widow(er), ........... 8.
}
$46,250 if head of household.
9. Enter the smaller of line 1 or line 8 ................................. 9.
10. Enter the smaller of line 7 or line 9................................. 10.
11. Subtract line 10 from line 9. This amount is taxed at 0% ................. 
11.
12. Enter the smaller of line 1 or line 6................................. 12.
13. Enter the amount from line 11..................................... 13.
14. Subtract line 13 from line 12...................................... 14.
15. Multiply line 14 by 15% (.15) 
................................................... 15.
16. Figure the tax on the amount on line 7. If the amount on line 7 is less 
than $100,000, use the Tax
Table to figure this tax. If the amount on line 7 is $100,000 or more, use the 
Tax Computation
Worksheet ................................................................. 16.
17. Add lines 15 and 16 
.......................................................... 17.
18. Figure the tax on the amount on line 1. If the amount on line 1 is less 
than $100,000, use the Tax
Table to figure this tax. If the amount on line 1 is $100,000 or more, use the 
Tax Computation
Worksheet ................................................................. 18.
19. Tax on all taxable income. Enter the smaller of line 17 or line 18. Also 
include this amount on
Form 1040, line 44. If you are filing Form 2555 or 2555-EZ, do not enter this 
amount on Form
1040, line 44. Instead, enter it on line 4 of the Foreign Earned Income Tax 
Worksheet ......... 19.
*If you are filing Form 2555 or 2555-EZ, see the footnote in the Foreign Earned 
Income Tax Worksheet before completing this line.
-37- Need more information or forms? Visit IRS.gov.
***Page:37
2011 Form 1040?Line 44
Qualified Dividends and Capital Gain Tax Worksheet?Line 44 Keep for Your Records

 See the earlier instructions for line 44 to see if you can 
use this worksheet to figure your
tax.

 If you do not have to file Schedule D and you received capital gain 
distributions, be sure
you checked the box on line 13 of Form 1040.
1. Enter the amount from Form 1040, line 43. However, if you are filing Form
2555 or 2555-EZ (relating to foreign earned income), enter the amount from
line 3 of the Foreign Earned Income Tax Worksheet .................... 1.
2. Enter the amount from Form 1040, line 9b*......... 2.
3. Are you filing Schedule D?*
 Yes. Enter the smaller of line 15 or 16 of
Schedule D. If either line 15 or line 16 is
blank or a loss, enter -0- 3.
}
 No. Enter the amount from Form 1040, line 13
4. Add lines 2 and 3 ............................ 4.
5. If filing Form 4952 (used to figure investment interest
expense deduction), enter any amount from line 4g of
that form. Otherwise, enter -0-................... 5.
6. Subtract line 5 from line 4. If zero or less, enter -0- 
..................... 6.
7. Subtract line 6 from line 1. If zero or less, enter -0- 
..................... 7.
8. Enter:
$34,500 if single or married filing separately,
$69,000 if married filing jointly or qualifying widow(er), ........... 8.
}
$46,250 if head of household.
9. Enter the smaller of line 1 or line 8 ................................. 9.
10. Enter the smaller of line 7 or line 9................................. 10.
11. Subtract line 10 from line 9. This amount is taxed at 0% ................. 
11.
12. Enter the smaller of line 1 or line 6................................. 12.
13. Enter the amount from line 11..................................... 13.
14. Subtract line 13 from line 12...................................... 14.
15. Multiply line 14 by 15% (.15) 
................................................... 15.
16. Figure the tax on the amount on line 7. If the amount on line 7 is less 
than $100,000, use the Tax
Table to figure this tax. If the amount on line 7 is $100,000 or more, use the 
Tax Computation
Worksheet ................................................................. 16.
17. Add lines 15 and 16 
.......................................................... 17.
18. Figure the tax on the amount on line 1. If the amount on line 1 is less 
than $100,000, use the Tax
Table to figure this tax. If the amount on line 1 is $100,000 or more, use the 
Tax Computation
Worksheet ................................................................. 18.
19. Tax on all taxable income. Enter the smaller of line 17 or line 18. Also 
include this amount on
Form 1040, line 44. If you are filing Form 2555 or 2555-EZ, do not enter this 
amount on Form
1040, line 44. Instead, enter it on line 4 of the Foreign Earned Income Tax 
Worksheet ......... 19.
*If you are filing Form 2555 or 2555-EZ, see the footnote in the Foreign Earned 
Income Tax Worksheet before completing this line.
-37- Need more information or forms? Visit IRS.gov.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to