Repository navigation
Replies: 4 comments
|
That is very informative. Itt explains why all the PDF apps I've tried can't do an exact word search.
I don't understand though how you can implement "Toggle Match Case". Surely you'd be facing similar issues?
My final thought is that if it is really the case that exact word search is not possible then IMO PDF isn't fit for purpose. Seems like a very basic requirement for something that purports to be a document standard.
Thanks for your v. quick reply and may I say that SumatraPDF is an excellent tool.
Peter
…________________________________
From: GitHubRulesOK ***@***.***>
Sent: Tuesday, September 08, 2026 13:36
To: sumatrapdfreader/sumatrapdf ***@***.***>
Cc: pde14qro ***@***.***>; Author ***@***.***>
Subject: Re: [sumatrapdfreader/sumatrapdf] Find exact word (Discussion #6153)
Hmm this is because a PDF does not "REALLY" use any words but single or multiple "Glyphs" as "Tokens" for one or more characters which is a tricky concept to search for a given grouping. Basically PDF is a Graphical "Charting" application so a word is composed of variable objects that are displayed on the surface as "W O R D s"
As you say there are 73 permutations of those visually
Image: image (view on web)<https://github.com/user-attachments/assets/875a6205-f976-47d1-9d7a-d16e2ce951a7>
ask for those that have a space token after and it drops to 15
Image: image (view on web)<https://github.com/user-attachments/assets/5b3756f0-ea48-4877-89a8-01eecc830a4e>
—
Reply to this email directly, view it on GitHub<#6153?email_source=notifications&email_token=AOL64HARVSO752OHCGSAOUD5N74NBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBTGQ4TGNJYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-18349358>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOL64HBUHJBBXTEHK6IP56D5N74NBAVCNFSNUABGKJSXA33TNF2G64TZHM3DANBRGMYDCO2ENFZWG5LTONUW63R3GEYDONZTG4YDNILWAI>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS<https://github.com/notifications/mobile/ios/AOL64HDOIOTUCVQA4QAMVBL5N74NBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBTGQ4TGNJYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM> and Android<https://github.com/notifications/mobile/android/AOL64HCOUJ2AKTRGBGK3NNL5N74NBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBTGQ4TGNJYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
PDF was a means to view PRINTOUT data that was designed for Apple Laser beams to charge ink speckles on a rotating drum. Thus from the start WAS fit for that purpose i.e Show INK as GRAPHICS for human eye READING it was never ever intended for seeking as if text. What does help RE-Versing a PDF is if there is no kerning and the font is well defined with added correctly sized white spaces. What is thus needed like more than 100 years old OCR or other more modern Analog to Digital text finders is some "Hero-istics"
|
|
This is available as Match Whole Word in the 3.7 Find bar, next to Match Case. Turn it on when a short label also appears inside longer identifiers. For example, searching for |


Uh oh!
There was an error while loading. Please reload this page.
There is a find option "Toggle Match Case". I suggest adding a "Toggle Exact Word" option.
This suggestion stems from my experience searching numerous PDF files from vendors in the electronics industry. For example try searching for "I2C" in [https://www.ti.com/lit/ug/spmu365c/spmu365c.pdf?ts=1788856201926]. You'll find about 10 instances of exactly "I2C" and 60 instances of words starting "I2C". So finding exactly "I2C" is simply not practical which I think is a pretty basic omission.
All reactions