The purpose of this paper is to propose a new robust algorithm to retrieve information in handwriting scripts. For example, digital pen is popular on some electronic device such as Pocket PC and Tablet PC in recent years. It is helpful for users to index information such like keyword and symbol from handwriting script. Digital devices can capture the trace of pen exactly. The basic idea of this algorithm is that we calculate the “distance” between two scripts to determine if the two scripts are similar enough to be the same. Compared with other systems, the new retrieval algorithm can get a higher accuracy. In addition, we present results obtained by using an implementation of this algorithm.