remove these two lines and try
--fonts_dir $fonts_dir \
--fontlist $fonts_for_training \
this overrides what is given in language-specific.sh
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Tue, Mar 13, 2018 at 4:11 PM, 이경준 <playerjune...@gmail.com> wrote:
> 2018년 3월 13일 화요일 오후 7시 40분 27초 UTC+9, 이경준 님의 말:
>> Hi. my name is june. Hi shree. I have a question. I'm using bash script
>> you gave me.
>> in the script ..
>> # the EVAL handles the quotes in the font list
>> eval $tesstrain_dir/tesstrain.sh \
>> --lang $Lang \
>> --noextract_font_properties \
>> --exposures "0" \
>> --fonts_dir $fonts_dir \
>> --fontlist $fonts_for_training \
>> --langdata_dir $langdata_dir \
>> --training_text $langdata_dir/$Lang/$Lang.$plusTraining_text \
>> --tessdata_dir $bestdata_dir \
>> --output_dir $train_output_dir
>> P.S everything variables is assgined. and (e.g.
>> fonts_for_training="Baekmuk Batang")
>> Run script(above). But I have an error . It doesn't work
>> So I have to delete " --fontlist $fonts_for_training " and I make a pair
>> of tesstrain1.sh & language-specific1.sh (for training_fonts)
>> In this case It does work.
>> I review my system (ubuntu 16.04.03 LTS) $ fc-list
>> I have lots of korean fonts
>> But, it doesn't work
>> Why pango library doesn't recognize the fonts I installed.
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.