Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
testcase updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Shinyama committed May 14, 2011
1 parent c134596 commit 56917a2
Show file tree
Hide file tree
Showing 8 changed files with 1,119 additions and 1,119 deletions.
6 changes: 3 additions & 3 deletions samples/Makefile
Expand Up @@ -65,13 +65,13 @@ xmls: $(XMLS)
.SUFFIXES: .pdf .html .xml .txt

.pdf.html:
$(PDF2TXT) -t html $< > $@
$(PDF2TXT) -t html -o $@ $<
$(CMP) $@ $@.ref

.pdf.xml:
$(PDF2TXT) -t xml $< > $@
$(PDF2TXT) -t xml -o $@ $<
$(CMP) $@ $@.ref

.pdf.txt:
$(PDF2TXT) -t text $< > $@
$(PDF2TXT) -t text -o $@ $<
$(CMP) $@ $@.ref
48 changes: 24 additions & 24 deletions samples/nonfree/f1040nr.html.ref

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions samples/nonfree/f1040nr.txt.ref
Expand Up @@ -18,24 +18,6 @@ Type of entry visa (see page 8)


1040NR

Form
Department of the Treasury
beginning
Internal Revenue Service

Your first name and initial

U.S. Nonresident Alien Income Tax Return

For the year January 1–December 31, 2007, or other tax year


, 2007, and ending
Last name


resent home address (number, street, and apt. no., or rural route). If you have a P.O. box, see page 8.


Expand All @@ -54,6 +36,33 @@ If same as above, write “Same.”



U.S. Nonresident Alien Income Tax Return

For the year January 1–December 31, 2007, or other tax year


, 2007, and ending
Last name


1040NR

Form
Department of the Treasury
beginning
Internal Revenue Service

Your first name and initial

P

Please print or type.



Also attach Form(s) 1099-R if tax was withheld.
Attach Forms W-2 here.

7a
Yourself

Expand Down Expand Up @@ -367,18 +376,9 @@ Adjusted Gross Income



d


P

Please print or type.



Also attach Form(s) 1099-R if tax was withheld.
Attach Forms W-2 here.

d



2,092 changes: 1,046 additions & 1,046 deletions samples/nonfree/f1040nr.xml.ref

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions samples/nonfree/i1040nr.xml.ref
Expand Up @@ -6254,21 +6254,21 @@
</textbox>
<line linewidth="0" bbox="497.559,900.265,565.059,900.265" />
<line linewidth="2" bbox="42.000,873.015,570.000,873.015" />
<polygon linewidth="2" bbox="428.932,734.352,440.155,759.876" pts="429.619,757.939,428.932,759.876,434.423,758.765,438.215,757.039,438.591,756.417,439.050,755.650,439.285,754.769,439.690,751.365,439.849,749.967,440.155,746.257,440.037,743.322,439.917,740.387,439.753,737.176,439.401,736.278,439.292,736.008,437.953,734.769,437.138,734.517,437.116,734.352,437.832,737.452,438.061,742.911,438.281,748.200,437.841,751.676,437.600,753.126,437.444,754.129,437.186,754.787,436.910,755.356,436.678,755.826,432.222,757.470,429.622,757.939"/>
<polygon linewidth="2" bbox="426.565,741.036,432.473,759.876" pts="429.627,757.943,428.876,757.062,428.747,756.757,428.641,756.475,428.468,756.002,430.663,753.536,430.839,753.302,431.079,752.992,431.774,752.117,432.068,751.589,432.473,750.649,432.345,749.251,432.275,747.998,431.030,742.797,430.202,741.036,429.502,744.907,430.032,747.200,430.754,749.677,430.320,750.781,430.095,751.365,429.690,751.717,428.187,753.654,427.375,754.699,426.565,755.708,426.624,756.120,426.678,756.513,426.684,757.470,428.938,759.876,429.619,757.939"/>
<polygon linewidth="2" bbox="430.261,732.756,437.810,756.530" pts="434.423,754.832,435.873,754.949,436.220,754.949,436.507,754.303,436.657,753.959,436.792,752.773,436.158,750.954,437.810,750.085,437.546,750.073,437.546,747.842,437.544,746.322,437.485,744.496,437.198,742.735,436.983,741.397,436.807,740.105,436.566,738.802,435.982,735.750,435.172,733.718,435.060,733.519,434.980,733.378,434.134,733.108,433.037,732.756,433.032,733.396,433.737,735.192,434.477,739.389,434.880,741.679,435.273,743.868,435.344,744.966,435.576,748.429,435.693,748.605,435.464,750.484,435.417,750.889,435.059,751.071,434.654,751.188,434.651,751.188,434.398,750.337,434.187,749.838,434.019,749.445,433.667,748.840,433.667,748.840,432.345,749.251,432.471,750.643,432.761,751.413,433.277,753.350,432.180,753.174,431.778,753.117,431.484,753.117,431.079,753.000,430.835,753.302,431.130,754.068,430.549,756.064,430.261,756.241,430.658,756.395,431.944,756.530,432.173,756.237,432.230,756.166,432.699,755.885,432.928,753.360,434.493,753.419,434.382,753.008,434.669,752.773,434.791,753.360,434.955,754.358,434.433,754.828"/>
<polygon linewidth="2" bbox="430.378,735.515,434.829,749.251" pts="433.672,748.844,434.370,748.492,434.764,748.022,434.775,747.552,434.829,745.612,433.820,740.686,433.215,738.744,432.806,737.411,432.330,736.202,432.172,736.043,432.057,735.926,431.411,735.738,430.378,735.515,430.650,736.847,431.577,738.996,432.746,746.140,432.970,747.519,433.381,748.899,432.342,749.251,433.670,748.840"/>
<polygon linewidth="2" bbox="418.695,741.033,430.198,753.838" pts="429.502,744.907,430.198,741.033,430.029,741.048,428.597,741.582,428.527,741.682,428.459,741.778,426.762,747.707,425.870,752.128,425.002,752.186,422.977,752.480,422.806,751.658,424.361,751.658,424.139,751.462,424.015,751.368,423.845,751.133,424.416,751.071,424.822,750.249,425.115,749.075,423.087,749.075,423.246,749.049,423.428,748.909,423.499,748.492,421.753,748.840,421.696,748.961,421.696,749.079,421.497,749.090,421.047,749.115,419.656,749.203,419.444,748.669,419.183,749.353,418.695,750.721,419.101,751.373,419.256,751.637,419.972,752.077,421.533,752.077,421.940,753.838,424.212,753.692,427.605,753.369,427.607,753.369,427.489,753.193,427.548,752.899,428.170,749.759,429.514,744.916,429.515,744.916"/>
<polygon linewidth="2" bbox="422.625,731.699,430.953,742.266" pts="423.497,742.266,427.481,742.266,430.953,733.049,429.340,732.231,427.661,731.703,426.622,731.703,425.580,731.699,422.980,733.049,422.634,733.049,422.625,733.284,425.225,740.505,423.497,740.505"/>
<polygon linewidth="2" bbox="414.310,731.699,422.625,742.266" pts="421.753,742.266,421.753,740.505,420.026,740.505,422.625,733.284,422.625,733.049,422.254,733.053,419.683,731.703,418.638,731.703,417.603,731.699,415.924,732.286,414.310,733.049,417.770,742.266,421.753,742.266"/>
<polygon linewidth="2" bbox="421.753,738.274,423.497,748.840" pts="423.497,748.488,423.497,738.274,422.105,738.626,422.107,738.630,422.055,738.630,421.820,738.747,421.767,738.767,421.761,738.919,421.762,738.920,421.753,740.505,421.753,748.840,423.497,748.488"/>
<polygon linewidth="2" bbox="407.643,733.401,425.404,760.299" pts="421.996,756.182,421.139,755.765,419.460,755.430,418.409,755.125,417.192,754.769,415.319,754.147,413.899,753.067,412.903,752.315,412.445,751.247,412.563,749.780,413.431,750.719,415.280,751.893,416.783,752.363,416.375,751.012,416.440,749.914,415.970,748.664,415.667,747.872,413.425,745.964,412.791,744.966,412.336,744.256,412.096,743.070,412.266,742.031,412.268,742.031,412.850,742.776,413.249,743.205,414.195,744.209,416.026,745.435,416.026,745.436,416.025,744.766,415.738,741.855,415.391,740.622,415.106,739.606,413.245,737.687,412.729,737.159,412.730,737.158,413.270,735.744,413.593,734.810,413.887,733.988,413.998,733.401,413.999,733.402,413.362,733.636,410.356,734.869,409.429,735.808,408.363,736.888,408.304,738.092,408.099,739.389,408.036,739.800,407.772,742.348,407.866,742.853,407.866,742.853,409.439,741.778,410.237,740.857,411.108,739.859,411.742,738.919,411.742,738.920,411.681,739.330,411.599,739.688,411.570,739.976,411.484,740.751,411.995,741.326,411.919,741.503,411.916,741.502,411.857,741.679,411.629,742.148,411.185,743.052,409.019,744.567,408.449,745.553,408.200,745.946,407.643,746.844,407.989,751.423,407.991,751.423,409.711,749.639,410.592,748.488,411.149,747.760,411.748,746.610,411.748,746.610,411.578,748.195,412.212,749.016,412.165,749.028,412.156,749.072,412.044,749.659,411.810,750.070,410.997,751.482,409.072,752.268,408.802,753.948,408.588,755.251,409.151,756.295,412.157,757.470,412.740,755.415,412.394,753.654,412.336,752.010,413.780,753.243,413.603,756.354,414.302,757.470,414.550,757.880,414.879,758.321,415.971,758.761,416.991,759.172,417.595,759.465,418.582,759.583,418.560,759.465,418.025,757.569,417.597,756.648,417.071,755.532,416.361,755.098,416.320,755.004,417.475,755.298,418.344,755.826,419.096,756.941,419.347,757.311,419.641,757.716,419.964,758.233,420.272,758.720,420.595,759.325,421.241,759.583,423.055,760.299,424.887,760.170,425.404,760.170,425.043,759.066,423.552,756.941,421.991,756.178"/>
<polygon linewidth="2" bbox="420.493,750.014,423.731,751.071" pts="423.724,750.014,420.722,750.014,420.493,750.722,420.710,750.898,421.356,750.957,422.574,751.071,423.619,751.071,423.731,750.014"/>
<polygon linewidth="2" bbox="416.622,733.636,420.493,739.565" pts="420.493,733.757,420.493,733.757,419.360,733.640,418.638,733.640,417.855,733.636,416.622,733.754,416.623,733.754,418.634,739.565,420.487,733.754"/>
<polygon linewidth="2" bbox="424.776,733.636,428.641,739.565" pts="426.617,739.565,428.638,733.754,428.641,733.757,427.408,733.640,426.622,733.640,425.909,733.636,424.776,733.754,424.776,733.754,426.617,739.565"/>
<curve linewidth="2" bbox="428.932,734.352,440.155,759.876" pts="429.619,757.939,428.932,759.876,434.423,758.765,438.215,757.039,438.591,756.417,439.050,755.650,439.285,754.769,439.690,751.365,439.849,749.967,440.155,746.257,440.037,743.322,439.917,740.387,439.753,737.176,439.401,736.278,439.292,736.008,437.953,734.769,437.138,734.517,437.116,734.352,437.832,737.452,438.061,742.911,438.281,748.200,437.841,751.676,437.600,753.126,437.444,754.129,437.186,754.787,436.910,755.356,436.678,755.826,432.222,757.470,429.622,757.939"/>
<curve linewidth="2" bbox="426.565,741.036,432.473,759.876" pts="429.627,757.943,428.876,757.062,428.747,756.757,428.641,756.475,428.468,756.002,430.663,753.536,430.839,753.302,431.079,752.992,431.774,752.117,432.068,751.589,432.473,750.649,432.345,749.251,432.275,747.998,431.030,742.797,430.202,741.036,429.502,744.907,430.032,747.200,430.754,749.677,430.320,750.781,430.095,751.365,429.690,751.717,428.187,753.654,427.375,754.699,426.565,755.708,426.624,756.120,426.678,756.513,426.684,757.470,428.938,759.876,429.619,757.939"/>
<curve linewidth="2" bbox="430.261,732.756,437.810,756.530" pts="434.423,754.832,435.873,754.949,436.220,754.949,436.507,754.303,436.657,753.959,436.792,752.773,436.158,750.954,437.810,750.085,437.546,750.073,437.546,747.842,437.544,746.322,437.485,744.496,437.198,742.735,436.983,741.397,436.807,740.105,436.566,738.802,435.982,735.750,435.172,733.718,435.060,733.519,434.980,733.378,434.134,733.108,433.037,732.756,433.032,733.396,433.737,735.192,434.477,739.389,434.880,741.679,435.273,743.868,435.344,744.966,435.576,748.429,435.693,748.605,435.464,750.484,435.417,750.889,435.059,751.071,434.654,751.188,434.651,751.188,434.398,750.337,434.187,749.838,434.019,749.445,433.667,748.840,433.667,748.840,432.345,749.251,432.471,750.643,432.761,751.413,433.277,753.350,432.180,753.174,431.778,753.117,431.484,753.117,431.079,753.000,430.835,753.302,431.130,754.068,430.549,756.064,430.261,756.241,430.658,756.395,431.944,756.530,432.173,756.237,432.230,756.166,432.699,755.885,432.928,753.360,434.493,753.419,434.382,753.008,434.669,752.773,434.791,753.360,434.955,754.358,434.433,754.828"/>
<curve linewidth="2" bbox="430.378,735.515,434.829,749.251" pts="433.672,748.844,434.370,748.492,434.764,748.022,434.775,747.552,434.829,745.612,433.820,740.686,433.215,738.744,432.806,737.411,432.330,736.202,432.172,736.043,432.057,735.926,431.411,735.738,430.378,735.515,430.650,736.847,431.577,738.996,432.746,746.140,432.970,747.519,433.381,748.899,432.342,749.251,433.670,748.840"/>
<curve linewidth="2" bbox="418.695,741.033,430.198,753.838" pts="429.502,744.907,430.198,741.033,430.029,741.048,428.597,741.582,428.527,741.682,428.459,741.778,426.762,747.707,425.870,752.128,425.002,752.186,422.977,752.480,422.806,751.658,424.361,751.658,424.139,751.462,424.015,751.368,423.845,751.133,424.416,751.071,424.822,750.249,425.115,749.075,423.087,749.075,423.246,749.049,423.428,748.909,423.499,748.492,421.753,748.840,421.696,748.961,421.696,749.079,421.497,749.090,421.047,749.115,419.656,749.203,419.444,748.669,419.183,749.353,418.695,750.721,419.101,751.373,419.256,751.637,419.972,752.077,421.533,752.077,421.940,753.838,424.212,753.692,427.605,753.369,427.607,753.369,427.489,753.193,427.548,752.899,428.170,749.759,429.514,744.916,429.515,744.916"/>
<curve linewidth="2" bbox="422.625,731.699,430.953,742.266" pts="423.497,742.266,427.481,742.266,430.953,733.049,429.340,732.231,427.661,731.703,426.622,731.703,425.580,731.699,422.980,733.049,422.634,733.049,422.625,733.284,425.225,740.505,423.497,740.505"/>
<curve linewidth="2" bbox="414.310,731.699,422.625,742.266" pts="421.753,742.266,421.753,740.505,420.026,740.505,422.625,733.284,422.625,733.049,422.254,733.053,419.683,731.703,418.638,731.703,417.603,731.699,415.924,732.286,414.310,733.049,417.770,742.266,421.753,742.266"/>
<curve linewidth="2" bbox="421.753,738.274,423.497,748.840" pts="423.497,748.488,423.497,738.274,422.105,738.626,422.107,738.630,422.055,738.630,421.820,738.747,421.767,738.767,421.761,738.919,421.762,738.920,421.753,740.505,421.753,748.840,423.497,748.488"/>
<curve linewidth="2" bbox="407.643,733.401,425.404,760.299" pts="421.996,756.182,421.139,755.765,419.460,755.430,418.409,755.125,417.192,754.769,415.319,754.147,413.899,753.067,412.903,752.315,412.445,751.247,412.563,749.780,413.431,750.719,415.280,751.893,416.783,752.363,416.375,751.012,416.440,749.914,415.970,748.664,415.667,747.872,413.425,745.964,412.791,744.966,412.336,744.256,412.096,743.070,412.266,742.031,412.268,742.031,412.850,742.776,413.249,743.205,414.195,744.209,416.026,745.435,416.026,745.436,416.025,744.766,415.738,741.855,415.391,740.622,415.106,739.606,413.245,737.687,412.729,737.159,412.730,737.158,413.270,735.744,413.593,734.810,413.887,733.988,413.998,733.401,413.999,733.402,413.362,733.636,410.356,734.869,409.429,735.808,408.363,736.888,408.304,738.092,408.099,739.389,408.036,739.800,407.772,742.348,407.866,742.853,407.866,742.853,409.439,741.778,410.237,740.857,411.108,739.859,411.742,738.919,411.742,738.920,411.681,739.330,411.599,739.688,411.570,739.976,411.484,740.751,411.995,741.326,411.919,741.503,411.916,741.502,411.857,741.679,411.629,742.148,411.185,743.052,409.019,744.567,408.449,745.553,408.200,745.946,407.643,746.844,407.989,751.423,407.991,751.423,409.711,749.639,410.592,748.488,411.149,747.760,411.748,746.610,411.748,746.610,411.578,748.195,412.212,749.016,412.165,749.028,412.156,749.072,412.044,749.659,411.810,750.070,410.997,751.482,409.072,752.268,408.802,753.948,408.588,755.251,409.151,756.295,412.157,757.470,412.740,755.415,412.394,753.654,412.336,752.010,413.780,753.243,413.603,756.354,414.302,757.470,414.550,757.880,414.879,758.321,415.971,758.761,416.991,759.172,417.595,759.465,418.582,759.583,418.560,759.465,418.025,757.569,417.597,756.648,417.071,755.532,416.361,755.098,416.320,755.004,417.475,755.298,418.344,755.826,419.096,756.941,419.347,757.311,419.641,757.716,419.964,758.233,420.272,758.720,420.595,759.325,421.241,759.583,423.055,760.299,424.887,760.170,425.404,760.170,425.043,759.066,423.552,756.941,421.991,756.178"/>
<curve linewidth="2" bbox="420.493,750.014,423.731,751.071" pts="423.724,750.014,420.722,750.014,420.493,750.722,420.710,750.898,421.356,750.957,422.574,751.071,423.619,751.071,423.731,750.014"/>
<curve linewidth="2" bbox="416.622,733.636,420.493,739.565" pts="420.493,733.757,420.493,733.757,419.360,733.640,418.638,733.640,417.855,733.636,416.622,733.754,416.623,733.754,418.634,739.565,420.487,733.754"/>
<curve linewidth="2" bbox="424.776,733.636,428.641,739.565" pts="426.617,739.565,428.638,733.754,428.641,733.757,427.408,733.640,426.622,733.640,425.909,733.636,424.776,733.754,424.776,733.754,426.617,739.565"/>
<line linewidth="2" bbox="42.000,640.015,570.000,640.015" />
<polygon linewidth="2" bbox="42.570,391.523,70.262,419.215" pts="42.570,393.253,42.570,417.484,42.570,418.440,43.345,419.215,44.301,419.215,68.532,419.215,69.487,419.215,70.262,418.440,70.262,417.484,70.262,393.253,70.262,392.298,69.487,391.523,68.532,391.523,44.301,391.523,43.345,391.523,42.570,392.298,42.570,393.253"/>
<polygon linewidth="2" bbox="45.647,397.677,67.185,416.138" pts="45.647,397.677,56.416,416.138,67.185,397.677"/>
<curve linewidth="2" bbox="42.570,391.523,70.262,419.215" pts="42.570,393.253,42.570,417.484,42.570,418.440,43.345,419.215,44.301,419.215,68.532,419.215,69.487,419.215,70.262,418.440,70.262,417.484,70.262,393.253,70.262,392.298,69.487,391.523,68.532,391.523,44.301,391.523,43.345,391.523,42.570,392.298,42.570,393.253"/>
<curve linewidth="2" bbox="45.647,397.677,67.185,416.138" pts="45.647,397.677,56.416,416.138,67.185,397.677"/>
<layout>
<textgroup bbox="36.000,33.359,572.016,928.497">
<textgroup bbox="36.000,849.152,572.016,928.497">
Expand Down
2 changes: 1 addition & 1 deletion samples/nonfree/kampo.xml.ref
Expand Up @@ -3128,7 +3128,7 @@
</text>
</textline>
</textbox>
<polygon linewidth="0" bbox="144.750,421.000,417.750,781.000" pts="144.750,585.500,144.750,781.000,247.750,585.500,247.750,781.000,251.750,421.000,251.750,584.500,354.750,421.000,354.750,584.500,358.750,421.000,358.750,608.500,417.750,421.000,417.750,608.500,417.750,608.500,358.750,608.500,332.750,609.500,273.750,609.500,354.750,584.500,251.750,584.500,247.750,585.500,144.750,585.500,375.750,421.000,375.750,608.500,400.750,421.000,400.750,608.500,273.750,609.500,273.750,781.000,290.750,609.500,290.750,781.000,315.750,609.500,315.750,781.000,332.750,609.500,332.750,781.000,280.750,421.000,280.750,584.500,317.750,421.000,317.750,584.500,173.750,585.500,173.750,781.000,210.750,585.500,210.750,781.000"/>
<curve linewidth="0" bbox="144.750,421.000,417.750,781.000" pts="144.750,585.500,144.750,781.000,247.750,585.500,247.750,781.000,251.750,421.000,251.750,584.500,354.750,421.000,354.750,584.500,358.750,421.000,358.750,608.500,417.750,421.000,417.750,608.500,417.750,608.500,358.750,608.500,332.750,609.500,273.750,609.500,354.750,584.500,251.750,584.500,247.750,585.500,144.750,585.500,375.750,421.000,375.750,608.500,400.750,421.000,400.750,608.500,273.750,609.500,273.750,781.000,290.750,609.500,290.750,781.000,315.750,609.500,315.750,781.000,332.750,609.500,332.750,781.000,280.750,421.000,280.750,584.500,317.750,421.000,317.750,584.500,173.750,585.500,173.750,781.000,210.750,585.500,210.750,781.000"/>
<line linewidth="0" bbox="46.000,417.000,549.000,417.000" />
<line linewidth="0" bbox="37.500,785.000,557.500,785.000" />
<line linewidth="0" bbox="37.500,49.000,557.500,49.000" />
Expand Down
2 changes: 1 addition & 1 deletion samples/simple2.xml.ref
Expand Up @@ -4,6 +4,6 @@
<line linewidth="0" bbox="150.000,250.000,150.000,350.000" />
<line linewidth="4" bbox="150.000,250.000,400.000,250.000" />
<rect linewidth="1" bbox="200.000,300.000,250.000,375.000" />
<polygon linewidth="1" bbox="300.000,300.000,400.000,400.000" pts="300.000,300.000,300.000,400.000,400.000,400.000,400.000,300.000"/>
<curve linewidth="1" bbox="300.000,300.000,400.000,400.000" pts="300.000,300.000,300.000,400.000,400.000,400.000,400.000,300.000"/>
</page>
</pages>
4 changes: 2 additions & 2 deletions samples/simple3.xml.ref
Expand Up @@ -58,15 +58,15 @@
</textbox>
<layout>
<textgroup bbox="0.000,215.032,344.016,769.552">
<textgroup bbox="194.688,215.032,344.016,705.760">
<textgroup bbox="241.344,215.032,344.016,266.776">
<textbox id="0" bbox="281.352,239.032,344.016,266.776" />
<textbox id="1" bbox="241.344,215.032,281.352,242.776" />
</textgroup>
<textgroup bbox="0.000,215.032,242.688,769.552">
<textbox id="2" bbox="194.688,215.032,242.688,705.760" />
</textgroup>
<textbox id="3" bbox="0.000,690.064,218.688,769.552" />
</textgroup>
</textgroup>
</layout>
</page>
</pages>

0 comments on commit 56917a2

Please sign in to comment.