if the fontname of fontproperties is important, if i'm use a invalid font name , it's not throw exception. so, maybe it's not use your system real font . just a token.
在 2013年1月16日星期三UTC+8下午4时24分10秒,zdenop写道: > > I did not test it but when I run my code[1] I see in result that > Google/Developers replaced spaces with "_" (in some case I saw "-"). So > there are names like (not in phototest.tif ;-)) : > Arial > Century_Schoolbook_L_Bold > Courier_New_Bold > Georgia > Georgia_Bold > Georgia_Italic > Times_New_Roman > Times_New_Roman_Bold > Trebuchet_MS > Trebuchet_MS_Bold > URW_Bookman_L_Italic > Verdana > Verdana_Bold > > [1] http://pastebin.com/0dV84hBa > > Zdenko > > > On Wed, Jan 16, 2013 at 1:02 AM, Quan Nguyen <[email protected]<javascript:> > > wrote: > >> I can shorten Times New Roman fontname to times as in vie.times.exp0.tifand >> have a corresponding times >> entry in font_properties file. >> >> Do you think that will cause a problem? >> >> >> On Tuesday, January 15, 2013 3:35:46 PM UTC-6, zdenop wrote: >> >>> Are you sure? Did you test it? >>> >>> Zdenko >>> >>> >>> On Tue, Jan 15, 2013 at 3:27 AM, Quan Nguyen <[email protected]> wrote: >>> >>>> [fontname] is just a token. If it has spaces, simply remove the spaces. >>>> >>>> >>>> On Sunday, January 13, 2013 9:01:34 PM UTC-6, gold snake wrote: >>>>> >>>>> thanks, the problem is fixed now,because the font_properties and the >>>>> [lang].[fontname].exp[num]**** on the command , must same. >>>>> >>>>> but one thing i cant understand. the fontname is a real font Name?? >>>>> or just a mark?? if it's a real font name , the program is using or >>>>> not? if my font name have a space in the middle ,how can i do? font name >>>>> like: <My Font>. >>>>> >>>>> very thanks... >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "tesseract-ocr" group. >>>> To post to this group, send email to [email protected] >>>> >>>> To unsubscribe from this group, send email to >>>> tesseract-oc...@**googlegroups.com >>>> >>>> For more options, visit this group at >>>> http://groups.google.com/**group/tesseract-ocr?hl=en<http://groups.google.com/group/tesseract-ocr?hl=en> >>>> >>> >>> -- >> You received this message because you are subscribed to the Google >> Groups "tesseract-ocr" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en >> > > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

