Reader XI regression - text annotations content ignores spaces and punctuation

Dear All,
you can test this issue in the following file when you hover the icons:
http://examples.itextpdf.com/results/part2/chapter07/generic_annotations.pdf
All spaces are narrower and colons are suppressed. I've found in my files there are also slashes, dots and some other characters missing.
I've already reported this issue, but we are distributing lot of files and all our users are affected. Is there any workaround for this?
Thanks, Jan
Adobe Reader 11.0.07, Win 8 64-bit.

Hi Gilad, you are right, as I've found now, it works on my home computer with Win 7 too.
I've tested it on several other Win 8 machines and all are affected.

Similar Messages

  • Ignoring spaces and non-alphanumeric characters

    I need some help with this program im working on. It's testing to see whether words are palindromes or not. The trouble is, i need to make the program ignore spaces and puncuation. Does anyone know of a command to do this, or a command where i can list all the common types of puncuation and get the program to ignore them.
    Thanks

    you can use regular expressions (regex) for this. I'm not very experienced with regex (though I admit I should become familiar with it ;)), so for more information check out Sun's regex tutorial and regular-expressions.info.
    if you're not interested in regex (or if you don't have access to a 1.4+ SDK), you can just use ASCII filtering to achieve this (see this ASCII table for basic ASCII values). Basically, you're only going to accept A-Z and 0-9 characters (if I understand your question correctly). This means the only ASCII values you want to accept is 48-57, 65-90, and 97-122. You can use a simple boolean method to check if a character is valid. Something like this should work:
    public boolean valid(char c) {
         int x = (int)c; // ascii value of c
         return ((x >= 48 && x <= 57) || (x >= 65 && x <= 90) || (x >= 97 && x <= 122));
    }Use this method on every character of the String you want to process. So to validate an entire String you can use a method like this:
    public boolean valid(String s) {
         for (int j = 0;j < s.length();j++) {
              if (!valid(s.charAt(j))) {
                   return false;
         return true;
    }Beware though that this is considerably slower than using regular expressions. Also I didn't compile this example so there might be a small mistake you'll have to fix.

  • AE text replacement script, Hebrew characters and punctuation marks

    Hi,
    I'm using a script to replace text on one of my AE projects. When I use English characters it work prefect, the problem is once I'm trying to replace the text with Hebrew I get small arrows (as shown in the attached screen grab) before and after punctuation marks.
    Any idea what can cause this kind of behavior, is it script related or the base AE file?

    These appear to be glyphs that should be substituted. Could be something to do with specific text flow or multi-variate glyphs that are substituted based on the context of neighboring characters. In any case, short of manually fixing it I don't think there is any way to get this right. AE is quite limited in dealing with any of this stuff and in the past you actualyl needed the Middel East versiosn to get correct RTL writing at all...
    Mylenium

  • Read in a text file and parse at spaces

    I need to read in a text file, then split it at the spaces (after each word)
    then I would like to save each sentence (maybe as a String Buffer)
    (chek each word to see if a .?! is at the end to determine the end of a sentence)
    Then I need to add the word END to the end of the StringBuffer
    then store each sentence as an element in an arrayList.
    Please Help.

    Cant you just store the entire text file into a really big String, then split it at each "."?
    String text = "";
    //read file into text
    String[] sentences = text.split(".");

  • How to read text file content in portal application?

    Hi,
    How do we read text file content in portal application?
    Can anyone forward the code to do do?
    Regards,
    Anagha

    Check the code below. This help you to know how to read the text file content line by line. You can display as you require.
    IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    IResourceContext resourceContext = new ResourceContext(user);
    String filePath = "/documents/....";
    RID rid = RID.getRID(filePath);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    InputStream inputStream = resource.getContent().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    String line = reader.readLine();
    while(line!=null) {
          line = reader.readLine();
         //You can append in string buffer to get file content as string object//
    Regards,
    Yoga

  • Need to read text file content and have to display it in multiline text box

    dear all,
    Need to read text file content and have to display it in multiline text box.
    actually im new to file handling. i have tried up to get_line and put_line.
    in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
    TEXT_IO.GET_LINE (in_file,linebuf);
    i dont know how to assign this get_line function to text item
    pls help me in this regards,

    Simply write:
    in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
    TEXT_IO.GET_LINE (in_file,linebuf);
    :block2.t1 := chr(10)||:block2.t1||chr(10)||linebuf;
    chr(10) --> is for new line character

  • HOW TO WRITE AND READ FROM A TEXT FILE???

    How can I read from a text file and then display the contents in a JTextArea??????
    Also how can I write the contents of a JTextArea to a text file.
    Extra Question::::::: Is it possible to write records to a text file. If you have not idea what I am talking about then ignore it.
    Manny thanks,
    your help is much appreciated though you don't know it!

    Do 3 things.
    -- Look through the API at the java.io package.
    -- Search previous posts for "read write from text file"
    -- Search java.sun.com for information on the java.io package.
    That should clear just about everything up. If you have more specific problems, feel free to come back and post them.

  • How to display embedded image & text in content presenter web template

    We have a requirement to display both text and embedded image together like in WYSIWYG editor in Webcenter spaces. The content has to be dynamic and is context sensitive so that users in the same role can edit and publish the content. The users who are in different role would see different piece of content.
    To achieve this use case, i think Content Presenter enabled with Site studio is the best choice. I have created element and region definitions with WYSIWYG and region templates in site studio. Created contributor data file in UCM. Content Presenter in webcenter is configured with that region definition and the region template etc.
    At design time, the contributor data file is edited and some image / text is added in WYSIWYG editor.. But however at runtime view, i could see only the text added in WYSIWYG editor and the file name of the image embedded....Any one successfully used Content Presenter with Site studio???
    Regards
    Prasath.C

    Hi
    I'm using the site studio tags in jdev. My code is the following one and I have the same result I see the the html tags instead a formatted text.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <dt:contentTemplateDef var="node">
    <af:panelGroupLayout layout="vertical" id="pgl3">
    <af:panelGroupLayout layout="horizontal" valign="top" inlineStyle="background-color:#FFF; padding:10px;" id="pgl4">
    <af:spacer width="10px;" id="s1" inlineStyle="background-color:#DDD; color:white;"/>
    <af:panelGroupLayout layout="vertical" id="pgl1" valign="top">
    <af:outputText value="#{node.propertyMap['RD_RICH_TEXT:text1'].asTextHtml}"
    id="ot2" styleClass="bodytext"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </dt:contentTemplateDef>
    </jsp:root>

  • Parsing error: Unexpected text in content of Element

    Hello,
    I have a problem that is leading me to believe that something is wrong with the struts.jar (ValidatorPlugIn class in particular) file shipped with jdeveloper 11g (11.1.1.1.0). I'm wondering if anybody has experienced this problem and maybe knows a solution.
    Following is the error that I receive when deploying the application on weblogic 10.3:
    [ERROR] Digester - Parse Error at line 5 column 100: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'. <org.xml.sax.SAXParseException: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'.>org.xml.sax.SAXParseException: <Line 5, Column 100>: XML-20145: (Error) Unexpected text in content of Element 'field'.
    at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:225)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1666)
    at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
    at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
    at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1374)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    This error is referring to a file with the following contents:
    <form-validation><formset><form name="ShowNotesForm"><field property="PmnNote" depends="required"> <arg0 key="Note"/></field></form><form name="ShowAttachmentsForm"><field property="pmaAttName" depends="required"><arg0 key="Name"/></field><field property="pmaNote" depends="required"><arg0 key="Description"/></field></form></formset></form-validation>
    This error occurs wherever there is a white space or a new line character in the contents of a tag! If I have the entire file on one line, then I do not get the error.
    In the code above, I placed all the contents of the file on one line and just added one space character (it's right before <arg0 key="Note"/>), that character is causing the error and the stack trace shown above.
    If I use an older version of struts.jar (i.e. place it in the domain's lib directory so that it's added to the classpath), then I don't have a problem with white space or new line characters.
    Thanks in advance

    You are right and very sarcastic at the same time.  My bad....however, I figured out the problem, I did not close out my mysql connection and I had an extra if "}" at the end of my code.

  • Will search engines read the alt= text for a banner image within the h1 tag?

    I read where the search engines focus on the text within the
    header h1 tags. If I'm using a graphic that contains this important
    introductory info (as apposed to text), and put the text in the
    alt= section of the image, will the search engines us this text in
    the alt section of the image?

    Depends. I have a logo on my site with an alt description
    "orange kitten
    playing with planet Earth"
    Yahoo Web: My home page is #1
    Google Images: The image is #1
    Google Web: nada
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Walt F. Schaefer" <[email protected]> wrote in
    message
    news:[email protected]...
    > I would speculate that if the words and phrases in those
    alt tags do NOT
    > appear elsewhere in the actual text (on that page) even
    those SEs that
    read
    > the alt tags will likely ignore them.
    >
    > --
    >
    > Walt
    >
    >
    > "Nancy O" <[email protected]> wrote in
    message
    > news:[email protected]...
    > > Yes and no.
    > >
    > > Do assign ALT description to your images. Screen
    readers, which are
    used
    > > by
    > > many visually impaired Web users, can't understand
    images. To ensure
    > > accessibility, an alternative description needs to
    be assigned to every
    > > image; the screen reader will read out this
    alternative, or ALT="image
    > > description goes here."
    > >
    > > Like screen readers, search engines are commonly
    assumed to be unable to
    > > understand images. But some search engines index
    ALT text. By assigning
    > > ALT
    > > text to your images, those engines will be able to
    understand even your
    > > pictorial content.
    > >
    > > Of course, numerous search engines don't take any
    notice of ALT text.
    The
    > > proliferation of ALT tag spamming undermined the
    relevance of ALT text
    in
    > > the eyes of these engines, which no longer consider
    it in their
    relevance
    > > algorithms.
    > >
    > > So, why bother with image ALT text? Because your
    rankings may improve in
    > > search engines that do take it into account, and it
    makes your site more
    > > accessible.
    > >
    > > --Nancy O.
    > > Alt-Web Design & Publishing
    > > www.alt-web.com
    > >
    > >
    > >
    > > "brainfillet" <[email protected]>
    wrote in message
    > > news:[email protected]...
    > >> I read where the search engines focus on the
    text within the header h1
    > > tags.
    > >> If I'm using a graphic that contains this
    important introductory info
    (as
    > >> apposed to text), and put the text in the alt=
    section of the image,
    will
    > > the
    > >> search engines us this text in the alt section
    of the image?
    > >>
    > >
    > >
    >
    >

  • Sticky Note (Text annotation)

    Hello,
    I decided to add some sticky notes (text annotation) in my pdf document and I was surprised to see that the sticky notes were not printed. I used the "Document and Markups" option for the print and even in the print preview the Sticky Notes were not present.
    Regarding the PDF Reference a sticky note is a Markup so it has to be printed.
    Is it a bug? A normal behavior?
    While I select the "Print notes and pop-ups" option in the Preferences - Commenting then the Sticky is printed (but also all notes and pop-ups

    The Preferences > Commenting > Print notes and popups option takes priority when printing sticky notes - if it's deselected, they don't print at all. If it's selected, sticky notes will print in whatever state they're in (collapsed or open) provided they don't have a non-print attribute set against them.
    Most people don't want stickies to print, as by their nature they are either collapsed (hence meaningless on paper) or will obscure some other part of the page. Text markups, stamps etc. can be printed without such issues, hence the above preference defaults to off.

  • Preview Text Annotation

    It seems that the flow of adding text annotations to pdf files on preview has changed on Yosemite.  Instead of allowing the user to place a text box with the cursor and then begin editing, the behavior has been updated with placing the textbox automatically.  I can't seem to find any options to change this behavior to the way that it was back in OSX Mavericks, but does anyone know of a workaround?
    Thanks.

    I miss how the annotations used to work in the previous version of Preview!
    I'm definitely not a fan of how the text box and note defaults to the center of the page.  It's also very cumbersome having to continuously go to the toolbar to select text and note to get another text box or note to appear - and then having to move it from the center of the page to where I want it to be. I appreciated the older version where I was able to just click where I wanted the text box or note to appear and also being able to select text or note once and being able to just click with my cursor in multiple parts of the page to annotate.  This was a lifesaver taking notes in class - now I'm missing half my notes because I have to constantly move the boxes. Very frustrating!
    I used to also be able to just use command + and command - to make my text smaller or bigger in the text box - now it just zooms in and out of the page.
    Preview used to be my highly recommended choice for annotating - but it's not as efficient anymore.

  • Adding text annotation in Preview.app

    Preview in Leopard seems to be missing the ability to add text annotation to a pdf like in Tiger. Yeah, I know annotations can appear to the left side of the pdf, but I want them right on the document.
    Anybody see how to add text directly to a pdf with Preview in Leopard?

    Yes Preview is really messed up. I can't find anyway to print a copy of my pdf WITH annotations showing up. And the bookmark implementation is absolutely nuts.
    In Acrobat you can bookmark pages in a document so that you can later
    easily find your way around a very large document. In Preview, it
    appears that they have added this feature but it works very
    differently. The bookmarks are more akin to bookmarks in Safari.
    They exist outside of the pdf and they stay in your bookmarks menu
    even when another document is open. This is. . . really odd. As yet
    I have not found a way to tell Preview to just show me the bookmarks
    for the open document. After you have added 10 or 20 bookmarks to 2
    or more documents, the bookmarks menu quickly becomes useless. Also,
    b/c the bookmarks are not stored inside the .pdf, they do not transfer
    to Acrobat if you mail the document to someone else.
    Whoever worked on this project did not see to know much about .pdf documents or how they are used in the real world.

  • Preview text annotation customization

    I'm trying to change the following in preview text annotation:
    1) text & underline/strikethru colour
    2) font super-/sub-script
    3) line spacing
    I've read posts here suggesting clicking ⌘T to get to font menu which does come up but does NOT show any of above as options.
    Within ⌘T menu, the gears drop down button does allow bringing up the colour palatte and there is also radial button choices for super-/sub-scripts, BUT none of those actually changes anything.
    Any help much appreciated. Thanks.

    Preview its a viewer only, you want to edit the text, use Textedit instead

  • Text annotation made in iOS not shown outside adobe app.

    I opened a PDF attachment in the adobe reader app from an email message on iOS.
    I added text annotations, and also a signature annotation then saved and emailed the document. When I received the email on my other account, I opened the attachment to find that the signature was still visible, however the text notes were not.
    When I open the original modified document in the adobe app, all of my notes are still there.
    ammended:
    I have discovered that if I open the annoted document I received in the adobe app, all notes are visible. the text notes appear to be missing if the dicument is opened in any other app or with the native iOS pdf quick view.
    Message was edited by: lee.evans.81

    lee.evans.81,
    I can say that this is something we've considered and I  expect we'll implement in a future release. We've debated for some time on this issue because we've been afraid of the confusion it causes people. People who are more technical will immediately grasp "flatten for sharing". They'll also understand why their comments and forms are suddenly no longer editable by recipients. We've been afraid of confusing those who are less technical and we hate the idea of adding yet another option to the product. That said, we realize that  by NOT having this feature, we confuse a number of the same users AND we frustrate those people who understand the issue. Please watch for the feature in a future update =)

Maybe you are looking for

  • Can't open TIF file.

    I've tried to open the file in Preview, but I get this message (as others have): "The file could not be opened.  It may be damaged or use a file format tha Preview doesn't recognize." So then I followed other directions, which said to right click and

  • Is the MS CRM Enterprise Academy Training available to CRM Customers or is it exclusive to Dynamics Partners only?

    Hi there CRM Experts/Community, We are a Dynamics CRM Customer (CRM 2011 & 2013 On-Prem), and we have existing CustomerSource Accounts. We are very interested in attending the MS CRM Enterprise Academy Advanced Developer Training (see links below). I

  • If WP7.xap app will be updated to WP8.xap on WindowsPhone 8 device ?

    Hi I have an quesiton. Do you know what will happen when some user with Windows Phone 8 device have already installed 7.x XAP and then someone at dashboard will add 8.0 XAP (supporting Windows Phone 8) by "add new" option. Is the user who already has

  • How to pass data at 'wait' event ?

    Hello, I created a workflow starting from a form: the user can chose a production order number. Inside the workflow there's a step (= wait ) and the system wait until an event (BUS2005-DELETE) is raising. My requirement is: When the event BUS2005-DEL

  • How to make a search results page

    Hi there, I'm pretty new to coding and I'm currently making a shop website. All products are displayed in tables and clicking each one takes you to their individual product page. What I'm trying to do is create a search which will display all the res