Abstract
The interest in personalized handwritten fonts has been increased in recent years. This paper concerns with the automatic generation of Farsi/Arabic handwritten fonts. To reach this target, we need to extract the properties of the writer’s script style. The “glyphs” (simple characters or ligatures) of the writer’s script are extracted from the basic subwords. The basic subwords are acquired from a writer using tabular sheets. A learning method is used in extraction phase. After glyph extraction, four important steps are performed automatically: (a) adjusting glyphs joints and baselines (b) computing metric data, (c) locating dots, and (d) computing kerning pairs. Finally, the gathered information is compiled in an OpenType\(^{\textregistered }\) font file structure to generate a computer font, which can be used in any computer application. The results seem visually acceptable.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig1_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig2_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig3_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig4_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig5_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig6_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig7_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig8_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig9_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig10_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig11_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig12_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig13_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig14_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig15_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig16_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig17_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig18_HTML.gif)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10032-015-0241-3/MediaObjects/10032_2015_241_Fig19_HTML.gif)
Similar content being viewed by others
References
Awaida, S.M., Mahmoud, S.A.: State of the art in off-line writer identification of handwritten text and survey of writer identification of Arabic text. Educ. Res. Rev. 7(20), 445–463 (2012)
Azmi, A., Alsaiari, A.: Arabic typography: a survey. Int. J. Electr. Comput. Sci. IJECS 9(10), 16–22 (2010)
Boeuf, S.: Arabic Font Production Tutorial. Khatt Books, Netherlands (2011)
Cano, J., Perez-Cortes, J., Arlandis, J., Llobet, R.: Training set expansion in handwritten character recognition. Structural, Syntactic, and Statistical Pattern Recognition, pp. 548–556. Springer, Berlin Heidelberg (2002)
Chang, W., Shin, J.: A statistical handwriting model for style-preserving and variable character synthesis. Int. J. Doc. Anal. Recognit. 15(1), 1–19 (2012)
Chen, Z., Zhou, B.: Effective radical segmentation of offline handwritten Chinese characters towards constructing personal handwritten fonts. In: Proc. of the 2012 ACM Symposium on Document Engineering, pp. 107–116. (2012)
Cheng, W., Lopresti, D.: Parameter calibration for synthesizing realistic-looking variability in offline handwriting. In: Proc. of IS&T/SPIE Electronic Imaging, 78740Y, Document Recognition and Retrieval XVIII (2011)
Elarian, Y.S., Al-Muhsateb, H.A., Ghouti, L.M.: Arabic handwriting synthesis. In: Proc. of the First International Workshop on Frontiers in Arabic Handwriting Recognition (2011)
Fouladi, K., Araabi, B.N., Kabir, E.: A fast and accurate contour-based method for writer-dependent offline handwritten Farsi/Arabic subwords recognition. Int. J. Doc. Anal. Recognit. (IJDAR) 2(17), 181–203 (2014)
Guyon, I.: Handwriting synthesis from handwritten glyphs. In: Proc. of the Fifth International Workshop on Frontiers of Handwriting Recognition, pp. 140–153. (1996)
Haralambous, Y.: The traditional Arabic typecase extended to the unicode set of glyphs. Electron. Publ. 8(2 & 3), 111–124 (1995)
Haralambous, Y.: Fonts & Encodings. O’Reilly Media, Sebastopol (2007)
HighLogic Scanhand\(^{\textregistered }\). URL: http://www.high-logic.com/font-generator/scanahand.html. Retrieved: 3 Sep 2013
Jou, F.D., Fan, K.C., Chang, Y.L.: Efficient matching of large-size histograms. Pattern Recognit. Lett. 25, 277–286 (2004)
Kokula, M.: Automatic generation of script font ligatures based on curve smoothness optimization. Electron. Publ. 7(4), 217–229 (1994)
Kuroiwa, T., Shin, J.: Discovery of efficient Chinese characters for handwritten-style font generation. Int. J. Digit. Content Technol. Appl. (JDCTA) 5(12), 1–10 (2011)
Liao, C., Huang, J.S.: Font generation by beta-spline curve. Comput. Graph. 15(4), 527–534 (1991)
Lin, Z., Wan, L.: Style-preserving English handwriting synthesis. Pattern Recognit. 40, 2097–2109 (2007)
Liu, P., Xu, S., Lin, S.: Automatic generation of personalized Chinese handwriting characters. In: Proc. of the Fourth IEEE International Conference on Digital Home (ICDH), pp. 109–116. (2012)
McQueen, C.D., Beausoleil, R.G.: Infinifont: a parametric font generation system. Electron. Publ. 6(3), 117–132 (1993)
Pal, S.K., Dutta, D.K.: Fuzzy Mathematical Approach to Pattern Recognition. Wiley Eastern Limited, New Delhi (1986)
Piška, K.: Fonts with complex OpenType tables. In: Proc. of Actes des conferences International ConTeXt Meeting & TeXperience (2010)
Ristroph, J.H.: Multi-system font generation. Comput. Ind. Eng. 15(1), 467–474 (1988)
Saabni, R.M., El-Sana, J. A.: Comprehensive synthetic Arabic database for on/off-line script recognition research. Int. J. Doc. Anal. Recognit. (IJDAR), 1–10 (2012)
Sarfraz, M., Razzak, M.F.A.: An algorithm for automatic capturing of the font outlines. Comput. Graph. 26(5), 795–804 (2002)
Sarfraz, M., Razzak, M.F.A.: A web based system to capture outlines of Arabic fonts. Inf. Sci. 150(3), 177–193 (2003)
Sesa-Nogueras, E., Faundez-Zanuy, M.: Writer recognition enhancement by means of synthetically generated handwritten text. Eng. Appl. Artif. Intell. 26, 609–624 (2013)
Shin, J., Suzuki, K.: Interactive system for handwritten-style font generation. In: Proc. of the Fourth IEEE International Conference on Computer and Information Technology (CIT’04), pp. 94–100. (2004)
Srouji, J., Berry, D.M.: Arabic formatting with DITROFF/FFORTID. Electron. Publ. 5(4), 163–208 (1992)
Stanislav, K., Mestetskiy, L., Semenov, A.: Handwritten fonts modeling based on fat lines of variable width. In: Proc. of the 16th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision (WSCG’08), pp. 25–32. (2008)
Suveeranont, R., Igarashi, T.: Example-based automatic font generation. Smart Graphics, pp. 127–138. Springer, Berlin Heidelberg (2010)
Van Der Maaten, L., Postma, E.O.: Improving automatic writer identification. In: Proc. of the 17th Belgium-Netherlands Conference on Artificial Intelligence (BNAIC’05), pp. 260–266. (2005)
Varga T., Bunke, H.: Generation of synthetic training data for an HMM-based handwriting recognition system. In: Proc. of the Seventh International Conference on Document Analysis and Recognition (ICDAR 2003), pp. 618–622. (2003)
Vincent, N., Seropian, A., Stamon, G.: Synthesis for handwriting analysis. Pattern Recognit. Lett. 26(3), 267–275 (2005)
Wada, A., Hagiwara, M.: Japanese font automatic creating system reflecting user’s Kansei. In: Proc. of IEEE International Conference on Systems, Man and Cybernetics, vol. 4, pp. 3804–3809. (2003)
Wang, L., Lifeng, H.E., Nakamura, T., Mutoh, A., Itoh, H.: Calligraphy generation using deformable contours. IEICE Trans. Inf. Syst. 82(6), 1066–1073 (1999)
Williams, G.: Font creation with FontForge. In: Proc. of EuroTEX 2003, TUGboat, vol. 24(3), pp. 531–544. (2003)
Williams, G.: Beyond glyphs, advanced typographic features of fonts. TeX, XML, and Digital Typography, pp. 257–263. Springer, Berlin Heidelberg (2004)
Xiaohu, M., Zhigeng, P.: Automatic generation algorithm of high-quality outline font using Bezier curve. Zidonghua Xuebao/Acta Automatica Sinica 20(1), 121–125 (1994)
Xu, S., CM Lau, F., Cheung, W.K., Pan, Y.: Automatic generation of artistic Chinese calligraphy. IEEE Intell. Syst. 20(3), 32–39 (2005)
Xu, S., Jin, T., Jiang, H., CM Lau, F.: Automatic generation of personal Chinese handwriting by capturing the characteristics of personal handwriting. In: Proc. of the 21st Innovative Applications of Artificial Intelligence Conference (IAAI’09), pp. 191–196. (2009)
Yoshida, K., Nakagawa, Y., Köppen, M.: Interactive genetic algorithm for font generation system. In: IEEE World Automation Congress (WAC), pp. 1–6. (2010)
Zhigeng, P., Xiaohu, M., Jiaoying, S.: The automatic generation algorithm for dynamic Chinese font. Zidonghua Xuebao/Acta Automation, Sinica 22, 591–596 (1996)
Author information
Authors and Affiliations
Corresponding author
Electronic supplementary material
Below is the link to the electronic supplementary material.
Rights and permissions
About this article
Cite this article
Fouladi, K., Araabi, B.N. Toward automatic development of handwritten personal Farsi/Arabic OpenType\(^{\textregistered }\) fonts. IJDAR 18, 249–262 (2015). https://doi.org/10.1007/s10032-015-0241-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10032-015-0241-3