Cant create my Trainer file

69 views
Skip to first unread message

Sylvain Martens

unread,
Jun 16, 2013, 11:37:09 PM6/16/13
to tesser...@googlegroups.com
Hello i need a trainer to decode my picture.
So i started creating a text file in LibreOffice

Then i exported to PDF

I wanted to convert using ImageMagick but i got error saying cannot open the PDF ( yes the name are good& pdf in same dir )

So i used GhostScript to convert using the following command :
gswin64c -q -dNOPAUSE -sDEVICE=tiffg4 -r300 -sOutputFile=a.tif futura.pdf  -c quit

then it gived me my .TIF file

So from that i created a box and done everything without any error
Since the command :
mftraining -F font_properties -U unicharset -O lang.unicharset *.tr 
Wich give me a error on trainingsampleset.cpp line 622

Im currently stuck there
Since i dont know if its wrong convertion or anything else.

If someone have a fix or are very a cute person can create the trainer for me.

You can download my PDF, .tif with .box ( Already set all character correctly )


THANK YOU !
futura.pdf
eng.futura-pro.exp0.tif
eng.futura-pro.exp0.box

hesa...@gmail.com

unread,
Jun 19, 2013, 3:44:05 AM6/19/13
to tesser...@googlegroups.com
Ok so i find what was the problem, you need to be sure the name in font properties is well writed

And after when you want to combine files  they need to have prefix yourlang.

I made a custom script for bulding everything once you have ur tiff and box rdy 
my script

you need to edit it to your lang, fontname

And save it as .bat

Enjoy !
Reply all
Reply to author
Forward
0 new messages