8 Replies Latest reply: Sep 29, 2009 5:22 AM by lrosenth RSS

    Space between two words is not correctly judged by WXE_AdjacentSpace!

    anaghad Community Member

      Hi, in my acrobat plugin, am using the following line to judge if there is space between two words as based on this I have to join two words.

       

      attrWord = PDWordGetAttr(pdWord);

      bHasAdjacentSpace = (attrWord & WXE_AdjacentSpace);

       

      But, for two words in a particular PDF, it is not giving the correct result. Though visually I see there is space  between these words, but the above method signifies there is NO space between the two.

       

      Could you please let me know whats going wrong here?

      Or if is there any other way to rightly judge the spacing between the two words and if they need to be joined or not?