title: Any way to retrieve the representation form from a list of Arabic Unicode codepoints in Java
body: <p>In Arabic each letter has four representations based on the surrounding letters. For more information: <a href="http://en.wikipedia.org/wiki/Arabic_script" rel="nofollow">Arabic Script</a>, <a href="http://en.wikipedia.org/wiki/Arabic_script_in_Unicode" rel="nofollow">Arabic in Unicode</a> and <a href="http://www.unicode.org/versions/Unicode6.2.0/ch08.pdf" rel="nofollow">Unicode 6.2.0 Chapter 8</a></p>
  
  <p>I am looking for an algorithm implementation, or OS library that given an array of Arabic codepoints can calculate the representation forms that would be used to render the text (isolated, middle, etc).</p>
  
  <p>I am not looking to render the text itself so a low level library like java.awt.font won't help. I also tried using ICU4J but I can't find how I could extract the information.</p>
  
  <p>Any ideas before I go off to implement my own solution?</p>