remove these two lines and try --fonts_dir $fonts_dir \ --fontlist $fonts_for_training \
this overrides what is given in language-specific.sh ShreeDevi ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Tue, Mar 13, 2018 at 4:11 PM, 이경준 <[email protected]> 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 \ >> --linedata_only\ >> --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 >> >> korean. >> >> 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/tesseract-ocr/4783cb3a-09ad-47dd-8d0f-099c2fdfafe6% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/4783cb3a-09ad-47dd-8d0f-099c2fdfafe6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXHhFdtJGV1C0uCWFahkYQcL-PnWEASNQbLYMtFM8nAiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

