Does anyone have experience trying to clean up the text that can be extracted from a PDF shown in the PDF widget by getting “the hilitedRangeText” of the widget?
In the case I’m working with there is an invisible numToChar(10) at the end of each visible line; and to obtain text that will wrap freely in a LiveCode field I can “replace numToChar(10) with space” in the text I’ve extracted. This works. When a word is divided at the end of the line, the visible hyphen is a numToChar(63). But a command to “replace numToChar(63) with empty” does not work, and the character remains in place (showing up, in a field whose font is Palatino, as a boxed question mark). My impression is that not all PDF documents work the same way, and that there are other problems trying to extract their text. But why does this numToChar(63) character not get replaced? David Epstein _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
