This document presents a novel offline Arabic handwriting recognition system focusing on addressing segmentation challenges inherent to Arabic writing. The proposed approach involves three main stages: skeletonization of the image, connection of pixels to the nearest orthogonal line, and coding these lines as unique vectors for character representation. Experimental results indicate that this method outperforms existing techniques on the IFN/ENIT database.