https://github.com/kaityo256/pdf-fontsize-analyzerのsamplesにあるgettysburg_latex.pdfとgettysburg_word.pdfの比較。
中身はリンカーンのゲティスバーグ演説。
Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.
Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.
But, in a larger sense, we can not dedicate—we can not consecrate—we can not hallow—this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us—that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion—that we here highly resolve that these dead shall not have died in vain—that this nation, under God, shall have a new birth of freedom—and that government of the people, by the people, for the people, shall not perish from the earth.pdftk samples/gettysburg_latex.pdf output latex.pdf uncompress対応するPDFのテキストのBTからETまで。
BT /F1 9.9626 Tf 76.712 -62.765 Td[(F)83(our)-344(score)-344(and)-345(sev)27(en)-343(y)27
(ears)-344(ago)-344(our)-345(fathers)-344(brough)27(t)-344(forth)-344(on)-345(this)-344(con)27(tinen)27(t,)]TJ -14.
944 -11.955 Td[(a)-409(new)-409(nation,)-428(conceiv)27(ed)-408(in)-409(Lib)-28(ert)27(y)83(,)-427(and)-409(dedicat
ed)-409(to)-409(the)-409(prop)-28(osition)-409(that)-409(all)]TJ 0 -11.955 Td[(men)-272(are)-272(created)-273(equal
.)-424(No)27(w)-272(w)27(e)-271(are)-273(engaged)-272(in)-272(a)-273(great)-272(civil)-273(w)27(ar,)-284(testing)-2
72(whether)]TJ 0 -11.955 Td[(that)-331(nation,)-333(or)-332(an)27(y)-331(nation)-332(so)-332(conceiv)27(ed)-331(and
)-332(so)-332(dedicated,)-332(can)-332(long)-332(endure.)-444(W)83(e)]TJ 0 -11.955 Td[(are)-305(met)-305(on)-306(a)
-305(great)-306(battle-\014eld)-305(of)-305(that)-306(w)27(ar.)-434(W)82(e)-304(ha)26(v)28(e)-304(come)-306(to)-305
(dedicate)-305(a)-306(p)-28(ortion)]TJ 0 -11.955 Td[(of)-290(that)-291(\014eld,)-299(as)-291(a)-291(\014nal)-291(re
sting)-291(place)-290(for)-291(those)-291(who)-291(here)-290(ga)26(v)28(e)-290(their)-290(liv)26(es)-289(that)-291(
that)]TJ 0 -11.956 Td[(nation)-416(migh)26(t)-415(liv)26(e.)-694(It)-417(is)-416(altogether)-417(\014tting)-417(and
)-417(prop)-28(er)-417(that)-416(w)26(e)-415(should)-417(do)-417(this.)]TJ 0 -11.955 Td[(But,)-307(in)-301(a)-301(l
arger)-301(sense,)-307(w)26(e)-300(can)-300(not)-301(dedicate)]TJ /F2 9.5862 Tf 183.27 0 Td[<0295>]TJ /F1 9.9626 Tf
9.587 0 Td[(w)27(e)-300(can)-301(not)-301(consecrate)]TJ /F2 9.5862 Tf 94.591 0 Td[<0295>]TJ /F1 9.9626 Tf 9.586 0
Td[(w)27(e)-300(can)-301(not)]TJ -297.034 -11.955 Td[(hallo)27(w)]TJ /F2 9.5862 Tf 27.951 0 Td[<0295>]TJ /F1 9.962
6 Tf 9.586 0 Td[(this)-289(ground.)-430(The)-289(bra)27(v)28(e)-289(men,)-2
98(living)-289(and)-289(dead,)-298(who)-289(struggled)-290(here,)-298(ha)27(v)28(e)]TJ -37.537 -11.955 Td[(consecrated)-291(it,)-299(far)-291(ab)-28(o)27(v)28(e)-290(our)-291(p)-28(o)-28(or)-291(p)-28(o)27(w)28(er)-290(to)-291(add)-291(or)-291(detract.)-431(The)-291(w)27(orld)-290(will)-291(little)]TJ 0 -11.955 Td[(note,)-386(nor)-376(long)-376(remem)27(b)-27(er)-376(what)-375(w)26(e)-375(sa)27(y)-375(here,)-386(but)-376(it)-376(can)-376(nev)27(er)-375(forget)-376(what)-375(they)]TJ 0 -11.955 Td[(did)-369(here.)-554(It)-369(is)-370(for)-370(us)-369(the)-370(living,)-379(rather,)-379(to)-369(b)-28(e)-370(dedicated)-369(here)-370(to)-370(the)-369(un\014nished)]TJ 0 -11.956 Td[(w)27(ork)-334(whic)27(h)-334(they)-335(who)-335(fough)27(t)-334(here)-335(ha)27(v)28(e)-334(th)27(us)-334(far)-335(so)-335(nobly)-335(adv)55(anced.)-448(It)-335(is)-335(rather)]TJ 0 -11.955 Td[(for)-410(us)-411(to)-410(b)-28(e)-411(here)-410(dedicated)-411(to)-410(the)-411(great)-411(task)-410(remaining)-411(b)-28(efore)-410(us)]TJ /F2 9.5862 Tf 291.54 0 Td[<0295>]TJ /F1 9.9626 Tf 9.587 0 Td[(that)-410(from)]TJ -301.127 -11.955 Td[(these)-260(honored)-261(dead)-261(w)27(e)-260(tak)26(e)-259(increased)-261(dev)26(otion)-259(to)-261(that)-261(cause)-261(for)-261(whic)27(h)-260(they)-261(ga)27(v)28(e)]TJ 0 -11.955 Td[(the)-375(last)-376(full)-375(measure)-376(of)-376(dev)27(otion)]TJ /F2 9.5862 Tf 142.828 0 Td[<0295>]TJ /F1 9.9626 Tf 9.587 0 Td[(that)-375(w)27(e)-375(here)-375(highly)-376(resolv)27(e)-375(that)-375(these)-376(dead)]TJ -152.415 -11.955 Td[(shall)-293(not)-293(ha)27(v)28(e)-292(died)-293(in)-294(v)55(ain)]TJ /F2 9.5862 Tf 113.176 0 Td[<0295>]TJ /F1 9.9626 Tf 9.587 0 Td[(that)-293(this)-293(nation,)-301(under)-293(Go)-28(d,)-301(shall)-293(ha)27(v)28(e)-293(a)-293(new)-293(birth)]TJ -122.763 -11.955 Td[(of)-355(freedom)]TJ /F2 9.5862 Tf 46.19 0 Td[<0295>]TJ /F1 9.9626 Tf 9.586 0 Td[(and)-355(that)-356(go)27(v)28(ernmen)27(t)-354(of)-356(the)-356(p)-27(eople,)-362(b)27(y)-355(the)-355(p)-28(eople,)-361(for)-356(the)-356(p)-27(eople,)]TJ -55.776 -11.956 Td[(shall)-333(not)-333(p)-28(erish)-333(from)-334(the)-333(earth.)]TJ ETpdftk samples/gettysburg_word.pdf output word.pdf uncompress該当するテキストのBTとETで囲まれた領域のみ抜粋。
BT
/F1 10.56 Tf
1 0 0 1 85.104 729.94 Tm
/GS7 gs
0 g
/GS8 gs
0 G
[(Four)11( )-114(sc)8(ore)4( )-114(a)13(nd)6( )-114(s)11(even)12( )-114(y)10(ea)14(rs )-112(ag)3(o)12( )-114(o)12(u)-2(r )-112(f)3(a)13(t)5(hers)12( )-114(bro)14(u)-2(gh)10(t)-5( )-114(f)3(or)14(t)5(h )-105(on )-100(t)5(his )-102(con)11(t)-5(in)4(en)14(t)-5(,)12( )-103(a )-112(ne)14(w)5( )-114(na)15(t)-5(io)4(n,)13( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 711.94 Tm
0 g
0 G
[(conc)-2(ei)16(v)-3(ed)6( in )13(Li)6(ber)3(t)5(y, and)16( )10(d)4(ed)6(icat)-4(ed)6( )10(t)-5(o )11(t)5(he pr)11(oposi)16(t)-5(i)14(on t)6(ha)11(t)-5( al)7(l)-4( )10(men ar)15(e cre)11(at)-4(ed)17( equa)11(l)-4(.)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 475.06 711.94 Tm
0 g
0 G
[( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 693.94 Tm
0 g
0 G
[(N)-3(o)12(w)-5( )-194(w)-5(e)13( )-205(ar)3(e)13( )-205(eng)4(ag)3(ed)17( )-205(in)4( )-194(a )-203(gre)4(a)13(t)-5( )-194(civ)-3(i)14(l)-4( )-194(w)-5(ar)3(,)12( )-194(t)-5(es)13(t)-5(in)4(g )-192(w)-5(he)11(t)5(her )-193(t)5(hat)5( )-205(na)15(t)-5(io)4(n,)13( )-205(or )-191(a)13(ny )-205(na)15(t)-5(io)4(n)13( )-205(s)11(o)12( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 675.94 Tm
0 g
0 G
[(conc)-2(ei)16(v)-3(ed)6( )-34(a)13(nd)6( )-34(so)12( )-34(d)4(ed)6(ica)13(t)-5(e)13(d)4(, )-34(can)12( )-34(l)7(ong)4( )-34(e)13(nd)6(u)-2(re)3(.)12( )-23(W)-5(e)13( )-34(ar)15(e )-33(me)11(t)5( )-34(on )-32(a)13( )-34(gre)4(a)13(t)5( )-34(ba)13(t)-5(t)5(l)-4(e)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 429.79 675.94 Tm
0 g
0 G
[(-)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 433.99 675.94 Tm
0 g
0 G
[(f)3(ie)4(l)-4(d)4( )-34(of)16( )-34(t)5(ha)11(t)-5( )-23(w)-5(ar)15(.)12( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 657.94 Tm
0 g
0 G
[(W)-5(e )-44(ha)11(v)-3(e )-44(c)8(ome )-33(t)-5(o )-45(d)4(ed)6(ica)13(t)-5(e)13( )-46(a )-44(port)-3(io)4(n )-44(of)4( )-46(t)5(ha)11(t)-5( )-46(f)3(ie)4(l)-4(d)4(, )-46(as )-33(a )-44(f)3(in)4(al)-2( )-46(re)3(st)-5(in)4(g )-45(p)11(l)-4(a)13(ce )-47(f)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 426.79 657.94 Tm
0 g
0 G
[(or )-43(t)5(h)9(ose )-44(w)5(ho )-47(here)14( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 639.94 Tm
0 g
0 G
[(ga)3(v)-3(e )-33(t)-5(heir)15( )-46(l)-4(i)14(v)-3(es )-33(t)-5(ha)11(t)-5( )-34(t)5(hat)5( )-46(n)13(at)-4(io)4(n )-33(migh)12(t)-5( )-34(l)-4(ive.)12( )-46(I)6(t)-5( )-46(is)14( )-46(al)8(t)-5(og)14(et)-4(her)12( )-46(f)3(it)8(t)-5(in)4(g )-45(a)13(nd)6( )-46(prop)14(er)3( )-34(t)-5(h)9(at)-4( )-34(w)-5(e )-44(s)11(ho)10(u)-2(l)7(d)16( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 621.94 Tm
0 g
0 G
[(d)4(o t)5(his.)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 119.06 621.94 Tm
0 g
0 G
[( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 603.94 Tm
0 g
0 G
[(B)-3(u)8(t)-5(,)12( )-12(in)16( )-12(a l)-3(ar)3(ger)16( )-12(sen)14(se,)13( )-12(w)5(e c)8(an)3( )-12(no)14(t)5( )-12(d)4(ed)6(ica)13(t)-5(e)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 278.57 603.94 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 289.01 603.94 Tm
0 g
0 G
[(w)-5(e)13( c)-3(an)15( )-12(n)13(ot)6( )-12(con)11(secra)13(t)-5(e)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 390.19 603.94 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 400.63 603.94 Tm
0 g
0 G
[(w)-5(e can)12( )-12(no)14(t)5( )-12(ha)11(l)-4(l)7(ow)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 482.98 603.94 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 493.42 603.94 Tm
0 g
0 G
[(t)-5(his)12( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 585.94 Tm
0 g
0 G
[(gro)4(u)-2(nd)6(. )-34(Th)-2(e)13( )-46(bra)4(v)8(e )-44(me)11(n, )-44(l)-4(i)14(v)-3(in)4(g )-45(an)3(d)4( )-46(d)4(ea)3(d)4(,)12( )-46(w)5(ho )-36(st)-5(r)13(u)-2(gg)14(l)-4(ed)6( )-46(here)14(, )-46(ha)11(v)-3(e )-33(conse)12(cra)12(t)-5(ed)17( )-46(it)-2(, )-46(f)3(ar)3( )-46(a)13(bove)22( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 567.94 Tm
0 g
0 G
[(our )-24(poor)3( )-12(po)12(w)-5(er)3( )-23(t)5(o )-22(ad)6(d)4( )-23(or )-21(d)4(et)-4(ra)3(c)8(t)-5(. )-11(Th)-2(e )-10(w)-5(or)14(l)-4(d)4( )-23(w)-5(i)14(l)-4(l)-4( )-12(l)-4(it)8(t)5(l)-4(e )-22(no)14(t)-5(e, )-21(nor)4( )-23(l)7(ong)4( )-23(re)14(mem)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 437.11 567.94 Tm
0 g
0 G
[(be)13(r )-21(w)-5(ha)11(t)-5( )-12(w)-5(e )-22(sa)24(y)10( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 549.91 Tm
0 g
0 G
[(here, )-9(b)12(u)8(t)-5( )-12(it)8( )-12(can)12( )-12(nev)11(er)3( )-12(f)3(org)15(et)-4( w)-7(h)9(at)-4( t)4(hey )-14(d)4(id)7( h)-3(er)3(e. I)6(t)-5( )-12(is)14( )-12(f)3(or )-9(u)-2(s)11( )-12(t)5(he l)-6(ivin)4(g,)13( )-12(ra)3(t)5(her, t)5(o )-11(be )-10(d)4(ed)6(ica)13(t)-5(e)13(d)16( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 531.91 Tm
0 g
0 G
[(here )24(t)5(o )22(t)5(he )21(u)-2(nf)5(in)4(is)14(hed)3( )33(w)-5(or)14(k)-4( )33(w)-5(hic)9(h )19(t)5(hey )30(w)5(ho )20(f)3(ou)9(gh)10(t)-5( )21(h)9(er)3(e )23(hav)-3(e )34(t)-5(h)9(u)-2(s )21(f)3(ar)3( )21(so )22(n)13(obl)8(y )31(ad)6(v)-3(an)3(ced. )36(I)6(t)-5( )21(is)14( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 513.91 Tm
0 g
0 G
[(ra)3(t)-5(her)12( )-137(f)3(or)14( )-125(u)-2(s)11( )-137(t)-5(o)12( )-137(be)13( )-125(here)14( )-137(d)16(ed)6(icat)-4(ed)17( )-125(t)-5(o)12( )-137(t)5(he)11( )-137(gre)4(a)13(t)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 305.93 513.91 Tm
0 g
0 G
[( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 310.01 513.91 Tm
0 g
0 G
[(t)-5(as)13(k)6( )-137(re)3(mai)15(ni)4(ng )-123(bef)5(ore)15( )-137(u)-2(s)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 427.15 513.91 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 437.59 513.91 Tm
0 g
0 G
[(t)-5(h)9(at)7( )-137(f)3(rom)13( )-125(t)-5(hese)23( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 495.91 Tm
0 g
0 G
[(honore)4(d)4( )-182(d)4(ea)3(d)4( )-171(w)-5(e)13( )-182(t)-5(a)13(k)-4(e )-181(in)16(crease)3(d)4( )-182(d)4(e)13(v)-3(o)12(t)-5(io)4(n )-169(t)-5(o )-170(t)-5(ha)11(t)-5( )-171(cau)-3(se)13( )-182(f)3(or )-168(w)-5(hi)12(ch)-4( )-171(t)-5(h)9(ey )-182(ga)14(v)8(e )-181(t)-5(h)9(e )-181(l)-4(a)13(st)-5( )-182(f)15(u)-2(l)18(l)7( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 477.91 Tm
0 g
0 G
[(measur)12(e )45(of)4( )44(d)4(evo)10(t)-5(io)4(n)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 177.62 477.91 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 188.06 477.91 Tm
0 g
0 G
[(t)5(hat)5( )44(w)-5(e )45(here )58(high)11(l)-4(y )42(re)3(s)11(ol)8(v)-3(e )45(t)5(ha)11(t)-5( )44(t)5(hese )45(d)4(ea)3(d)4( )44(sh)9(al)8(l)-4( )44(no)14(t)-5( )44(ha)11(v)-3(e )45(d)4(ie)4(d)4( )44(in)4( )44(v)-3(ai)5(n)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 500.02 477.91 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 459.91 Tm
0 g
0 G
[(t)-5(ha)11(t)-5( )-23(t)-5(his )-34(na)15(t)-5(io)4(n, )-21(u)-2(nd)6(er)3( )-23(Go)12(d)4(, )-34(shal)6(l)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 239.21 459.91 Tm
0 g
0 G
[( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 242.33 459.91 Tm
0 g
0 G
[(ha)11(v)-3(e )-33(a )-33(ne)14(w)-5( )-34(bi)3(r)13(t)5(h )-37(o)12(f)3( )-34(f)3(re)3(ed)6(om)] TJ
ET
BT
/F2 10.56 Tf
1 0 0 1 372.91 459.91 Tm
0 g
0 G
[<008C>] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 383.47 459.91 Tm
0 g
0 G
[(an)3(d)4( )-23(t)-5(ha)11(t)-5( )-34(go)14(v)-3(er)14(nmen)14(t)-5( )-34(of)4( )-34(t)5(he)11( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 441.91 Tm
0 g
0 G
[(peopl)9(e, b)12(y )8(t)-5(he )9(peop)13(l)-4(e, f)4(or)14( )10(t)-5(he)11( peop)12(l)-4(e, )12(sha)11(l)-4(l)7( no)12(t)-5( peri)4(s)11(h )-3(f)3(rom)13( t)4(he ear)14(t)5(h.)] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 400.27 441.91 Tm
0 g
0 G
[( )] TJ
ET
BT
/F1 10.56 Tf
1 0 0 1 85.104 423.91 Tm
0 g
0 G
[( )] TJ
ET
Wordでの画面。
