PDF potrait vs. landscape

KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

PDF potrait vs. landscape

Post by KMandalia »

1) url:

http://search.creditunions.com/scripts/ ... r/original %20scripts/search?pr=pubs

search for 'patelco' (this is just one example, you may browse through any of the following url and select some long and short names for testing)

http://www.creditunions.com/cud/On_Page_140.pdf TO
http://www.creditunions.com/cud/On_Page_250.pdf

2) The unexpected result (and the reason I suspect is the words getting breaked when I look at the body in list/edit urls) was that I cannot find any result showing "patelco" (On_Page_145.pdf) in the landscape pages of our publication. SEE THE BODY BELOW AND YOU WILL NOTICE WORDS BREAKING UP.

Now, I am not saying that it will not search landscape pdfs at all. Apperantly it searches for numbers (percents and currency well) as well as most single words. But the search cannot be considered reliable.

3) The word definitions are as follows (and in the search settings, I am allowing everything except keeping the noise words)

[\alnum\x80-\xff]{1,70}
[\alnum\x80-\xff.]{1,70}>>[.&']=[\alnum\x80-\xff.]{1,70}
[\digit/]{2,99}
1?\space?(?\digit\digit\digit?)?[\-\space]?\digit{3}-=\digit{4}
>>[0-9]+\.=[0-9]+%
[+\-]=\$?[\digit,]+\.=\digit{2}
[\alnum\.]{1,70}
[\alnum\-]{1,70}
\digit{4}-=\digit{4}-=\digit{1}

My hope is that since the landscape mode search is not a complete failure, we would be able to resolve it.

CH # 1-25000 = FEDERAL CU, ALL OTHERS ARE ST A TE CHARTERS C ALIFORNIA $T OT AL $T OT AL $T OT AL $T OT AL # OF %SHR %LN CH# CREDIT UNION ADDRESS CITY ZIP CEO TELEPHONE ASSETS LOANS INVESTMENTS CAPIT AL MEM. GRO GRO 145 C ALIFORNIA 10837 MWD 700 North Alameda Los Angeles 90012 Kris Balaji 213-217-6612 46,855,293 24,241,039 21,989,978 5,100,877 3,852 8.68% 16.65% 68446 MY P .O. Box 5824 Redwood City 94063 W arren Marshall 650-366-5522 39,480,306 21,231,874 17,639,301 3,387,001 4,473 -8.71% -6.13% 18709 NAP A SCHOOLS 2532 Grove A venue Nap a 94558 Marlene Myers 707-253-3470 21,724,614 8,446,659 1 1,096,700 2,772,174 4,189 -0.32% -14.69% 18704 NA TIONAL 1ST P .O. Box 61867 Sunnyvale 94088 Marcia Franks 408-524-4500 164,652,075 82,435,427 76,055,449 22,284,607 17,1 13 0.82% -3.9 2% 13384 NBC EMPLOYEES 3000 W Alameda A ve Burbank 91523 Kirk Bowren 818-840-4007 59,329,169 28,310,650 29,981,681 5,659,809 5,921 4.47% 4.32% 8652 NEW WORLD P .O. Box 1787 Lafayette 94549 Pat W agner 925-283-1504 8,579,078 4,439,531 3,975,187 1,041,046 1,495 0.32% 1 1.08% 13144 NEWPOR T BEACH CITY EMPL. 425 Old Newport Blvd Newport Beach 92663 Karen Pulliam 949-642-4507 8,657,693 5,550,080 2,533,387 788,801 1 ,294 -3.62% 35.87% 65059 NIKKEI 18425 S. W estern A ve Gardena 90248 Richard Smith 310-324-1544 60,478,1 1 1 25,947,512 32,1 12,460 7,246,554 5,943 12.07% 17.64% 21354 NISSAN P .O. Box 191 Gardena 90248 Larry Dodge 310-771-3287 44,251,510 28,945,246 14,557,361 4,331,695 4,225 13.46% 13.62% 68463 NOR TH COUNTY P .O. Box 289014 San Diego 92198 Patricia Hamilton 858-487-1880 49,529,844 34,673,915 12,437,927 3,984,073 5,141 2.34% 6 .21% 6061 NOR TH HOLL YWOOD POST AL P .O. Box 41 N. Hollywood 91603 Katherine O'Brien 818-769-4200 6,316,776 3,1 15,715 3,030,890 781,232 1,342 2.3 6% -3.23% 68452 NOR TH ISLAND FINANCIAL P .O. Box 85833 San Diego 92186 Michael Maslak 619-656-6525 1,431,245,903 1,215,781,139 147,766,103 1 1 8 , 215,639 130,000 7.01% 24.37% 61038 NOR TH ORANGE COUNTY P .O. Box 4179 Fullerton 92834 Marjorie T ester 714-871-8400 54,713,351 23,347,376 29,863,291 7,227,575 5,266 4.5 1% 37.05% 23780 NOR THEAST COMMUNITY 19 W alter U. Lum Pl San Francisco 94108 Lily Lo 415-434-0738 8,064,847 3,200,869 4,714,168 1,246,712 1,173 -1 1.3 4% -26.88% 63097 N O R THERN CALIFORNIA LA TVIAN 8 4 Highland A ve Los Gatos 95030 Maria Martinskis 408-354-7706 2,992,861 801,072 2,160,412 397,445 305 18.53% -25.53% 10362 NOR THERN REDWOOD P .O. Box 443 Arcat a 95518 Gregory Goodwyn 707-822-5902 15,318,753 8,514,686 6,625,667 1,447,513 1,741 4.83% 4.26% 24292 NOR THROP GRUMMAN P . O. Box 47009 Gardena 90247 S t an Swenson 310-808-4000 516,734,658 260,728,468 243,881,059 50,819,005 54,503 7.13% 1 1.43% 64531 NOR T ON COMMUNITY P .O. Box 10847 San Bernardino 92423 Debra Gannaway 909-382-7900 169,212,737 83,287,438 77,829,834 16,269,314 14,6 52 -3.08% -1 1.66% 566 NUVISION FINANCIAL P .O. Box 1220 Huntington Bch 92647 Roger Ballard 714-375-8000 657,965,731 416,787,609 221,675,552 77,646,560 67,7 82 2.55% 16.19% 64575 OAKLAND MUNICIP AL 250 Frank Ogawa Pl Oakland 94612 T om Richardson 510-637-6600 101,303,229 53,022,136 44,888,929 19,026,358 8,701 1 .96% 0.52% 95040 OCEAN CREST P .O. Box 17007 Long Beach 90807 J W esley Keller 562-426-8838 40,763,171 20,1 10,256 19,301,397 3,771,164 5,444 0.81% -13. 98% 67551 OCHA 200 S Manchester A ve Orange 92668 Liz Rutledge 714-456-0525 24,345,897 1 1,248,907 12,563,216 2,748,705 4,917 2.74% 12.44% 1034 OLIVE VIEW EMPLOYEES P .O. Box 923071 Sylmar 91392 Barara Garrett 818-367-1057 30,005,049 10,980,923 18,284,656 5,807,482 5,669 1.58% 7.86% 3203 ONIZED OAKLAND P .O. Box 1019 Oakland 94604 Lona Hardy 510-532-8351 3,895,561 767,599 3,124,747 584,552 640 -5.25% -5.19% 14542 ONT ARIO MONTCLAIR SCHOOLS P .O. Box 1697 Ont ario 91762 Robert Hamm 909-983-1959 62,463,890 23,514,299 36,575,974 6,1 13,241 6,663 9.5 5% 3.36% 13044 ONT ARIO PUBLIC EMPLOYEES P .O. Box 830 Ont ario 91762 Charlene Jackson 909-984-8781 16,734,983 8,596,708 7,641,556 1,812,383 2,109 9. 01% -0.36% 24235 OPERA TING ENGIN. LOC. UNION #3 P .O. Box 2082 Dublin 94568 Leon Lanfri 925-829-4400 715,246,866 338,889,454 340,076,929 103,906,426 69,837 4.09% 9.14% 24212 ORANGE COUNTY TEACHERS P .O. Box 1 1547 Sant a Ana 9271 1 Rudy Hanley 714-466-81 10 4,952,417,423 2,607,516,734 2,217,918,157 582,096,602 308,591 1 1.67% 28.31% 68416 ORANGE COUNTY'S P .O. Box 1 1777 Sant a Ana 9271 1 Judith McCartney 714-755-5900 759,851,371 498,068,062 213,861,147 76,471,250 78,665 15.63% 28.45% 61942 ORGANIZED LABOR 1009 Mchenry A ve. Modesto 95350 Jeanette Bell 209-527-8731 18,136,241 8,078,824 9,347,908 1,666,487 4,843 5.32% -5.5 0% 10980 ORO GRANDE P .O. Box 158 Oro Grande 92368 Barbara McPurdy 760-245-8000 3,468,439 2,256,569 1,185,305 730,590 659 8.08% -6.16% 21509 P . V .H.M.C. 188 East Artesia S t Pomona 91767 T om Ramos 909-865-2006 6,377,612 4,081,137 2,1 14,795 628,977 2,677 12.35% -3.38% 1 1464 P ACIFIC P .O. Box 100 Pomona 91769 Jeanne Chance 909-594-1866 18,343,959 6,710,440 1 1,280,421 2,828,775 2,823 4.55% -14.46% 15167 P ACIFIC ADV ANT AGE 1801 Murchison Dr Burlingame 94010 Allan Ont ai 650-652-1365 17,019,243 6,425,431 10,187,185 2,519,304 2,307 9.04% -12.04% 68484 P ACIFIC BA Y P .O. Box 23783 Oakland 94623 Leo Hooper 510-287-9977 27,337,056 1 1,683,319 13,589,556 4,198,670 5,753 -9.77% -18.12% 97072 P ACIFIC COAST 1700 Adams A ve Cost a Mesa 92626 Angela Clitherow 714-210-2900 22,549,267 1 1,050,153 10,820,490 4,159,41 1 2,308 -6.57 % -3.33% 60847 P ACIFIC COMMUNITY P .O. Box 34003 Fullerton 92834 Kevin Pendergraf t 714-526-2328 171,225,832 93,763,392 72,240,592 19,860,160 17,30 5 33.54% 32.39% 68494 P ACIFIC MARINE Mcx Complex Mcb Camp Pendleton 92055 David Davis 760-430-751 1 414,000,608 218,019,578 150,095,055 61,774,857 68,825 -2.28% 15.69% 68414 P ACIFIC RESOURCE 333 S. Hope S t Los Angeles 90071 T odd Kenthack 213-830-7800 1 17,828,299 85,253,661 28,992,531 12,555,465 10,048 4 .93% 4.00% 68413 P ACIFIC SER VICE P .O. Box 8191 W alnut Creek 94596 Thomas Smigielski 925-296-6200 1,004,803,499 633,725,386 356,412,947 122,049,195 68,179 8.29% 6.43% 3378 P ACIFIC TRANSPOR T A TION 3280 Foothill Blvd Pasadena 91 107 S teve Cooper 626-431-2400 72,524,902 32,742,328 38,405,507 19,131,989 6,64 6 1 1.97% -2.82% 63491 P ACIFICA-COASTSIDE P .O. Box 908 Pacifica 94044 Artelle S traight 650-355-61 10 3,003,318 1,636,235 431,245 227,967 633 -10.62% -6.65% 121 1 1 P ALM SPRINGS CITY EMPL. 425 N . Civic Dr . Palm S prings 92262 Janka Blair 760-327-7474 16,1 17,328 5,927,596 9,777,864 1,345,510 1,43 3 29.77% 7.87% 24478 P ALO AL T O COMMUNITY 616 Ramona S t Palo Alto 94301 Michael S tremme 650-329-9096 15,098,475 8,174,006 6,609,553 1,381,986 2,183 -0.1 0% -7.63% 1 1953 P ARADISE V ALLEY 2805 E. 7th S t National City 91950 John Pressler 619-475-4313 52,788,732 36,822,430 14,890,140 6,136,788 5,124 7.55 % 17.16% 14650 P ARISHIONERS P .O. Box 3787 T orrance 90510 Mark Marderness 310-320-4588 37,649,229 18,072,988 18,416,523 3,179,985 5,272 -1.1 1% 0.91% 22141 P ARSONS P .O. Box 90667 Pasadena 91 109 Janet Cowell 626-440-7000 122,444,300 38,995,322 80,207,921 1 1,836,485 8,071 6.87% -5.76% 18708 P A R TNERS P .O. Box 25020 Anaheim 92825 Penny T onn 714-712-7328 219,677,075 155,61 1,524 57,275,625 21,841,085 35,757 13.02% 9.52% 594 P ASADENA P .O. Box 7132 Pasadena 91 109 Mary Wilson 626-799-0882 1 1 1,060,688 41,614,746 64,047,767 1 1,219,618 15,273 12.44% 4.97% 1368 P ASADENA SCHOOLS P .O. Box 70789 Pasadena 91 1 1 7 Charlene Bowman 626-351-9651 72,014,191 22,425,893 44,073,353 9,199,557 8,616 3.43% 5.2 6% 97082 P A TELCO 156 Second S treet San Francisco 94105 Andy Hunter 415-442-6200 3,535,479,377 2,060,397,602 1,41 6,786,809 349,925,795 199,319 8.56% 21.94% 14785 P A TRIOTS 26970 Aliso V iejo Aliso V iejo 92656 Dan Campbell 949-362-7200 92,150,018 57,123,834 32,153,524 13,187,178 1 1,172 -27.23% -2 .53% 64835 PENINSULA POST AL CU L T D 1040 Leigh A ve San Jose 95126 Jan Meere 408-275-8595 142,242,737 56,407,303 82,604,689 19,002,755 14,627 -0.1 2% 5.26% 24643 PEOPLE'S COM. P A R TNERSHIP 1631 Estudillo A ve San Leandro 94577 Sherry Alexander 510-267-0447 4,01 1,945 994,395 2,776,725 451,133 1 ,355 42.22% 153.60% 10767 PEOPLES IND CHURCH 5856 W est Blvd Los Angeles 90043 Judith Cooper 323-298-7000 196,200 46,575 150,800 21,379 180 27.54% -24.27% 1 1060 PEPSI COLA 5030 Katella A ve. Los Alamitos 90720 W endy W all 562-493-4469 1,351,459 1,153,267 94,727 189,303 744 -0.59% 21.55% 8612 PILKINGT ON P .O. Box 1002 Garden Grove 92642 Linda Dokter 714-893-7531 4,372,353 1,860,776 2,371,21 1 324,213 805 -10.68% -13.48% 13120 PITTSBURG EMPLOYEES P .O. Box 1518 Pitt sburg 94565 Patricia Dibert 925-439-4860 10,822,019 5,971,631 4,838,357 1,037,920 1,026 5.74% 3.62% 66820 PLACER COMMUNITY P .O. Box 5410 Auburn 95604 S t an Wilson 530-885-2493 58,908,523 43,581,040 13,682,105 5,182,288 7,894 8.22% 22.66% 68377 POINT LOMA 9420 Farnham S t San Diego 92123 Theodore Dennis 858-495-3400 523,188,010 446,643,787 60,536,915 48,897,051 69,757 5.10% 2. 93% 5662 POINT MUGU P .O. Box 5507 Oxnard 93031 Marianne Blit sch 805-384-1 100 243,294,918 197,643,163 28,067,098 21,516,086 37,026 8.06% 20.78% 21502 POLAM 770Marshall S t. Redwood City 94063 Zofia Zakrzewski 415-367-8940 41,470,161 29,080,341 10,148,683 4,675,829 3,277 -0.39% 15.50 % 19739 POLAM 589 N. Larchmont Blvd Los Angeles 90004 Christopher Hiller 323-463-5137 42,257,881 18,737,013 21,859,722 3,631,446 2,533 0.46 % 19.07% 16196 POMONA POST AL P .O. Box 2043 Pomona 91769 Zennie Dizon 909-629-3415 4,445,054 3,434,820 889,61 1 606,525 848 8.37% -0.70% 23004 POP A 13304 E. Alondra Blvd Cerritos 90703 Sunny T a n 562-229-9181 167,213,168 135,033,008 24,451,301 14,168,880 9,281 21.49% 21.06%
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

PDF potrait vs. landscape

Post by mark »

The bad news is that PDF files aren't organized by words. They're really printer layout files with every character placed individually on the page. Word boundaries are largely guesswork based on character positions and distance to other characters. So some word breaks are unavoidable.

The good news is that we have an updated PDF processor that does a better job of getting words together in development. It looks like it handles your documents perfectly (no broken words and everything in the right order). We can probably have an update available in the next week or so. Please open a ticket requesting an update with newer PDF plugin.
KMandalia
Posts: 301
Joined: Fri Jul 09, 2004 3:50 pm

PDF potrait vs. landscape

Post by KMandalia »

Thank you very much. I will do that and mention this message in the description.
Post Reply