tesseract  3.03
/usr/local/google/home/jbreiden/tesseract-ocr-read-only/training/pango_font_info.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/param.h>
#include <algorithm>
#include "pango_font_info.h"
#include "commandlineflags.h"
#include "fileio.h"
#include "normstrngs.h"
#include "tlog.h"
#include "unichar.h"
#include "util.h"
#include "pango/pango-context.h"
#include "pango/pango-font.h"
#include "pango/pango-glyph-item.h"
#include "pango/pango-glyph.h"
#include "pango/pango-layout.h"
#include "pango/pango-utils.h"
#include "pango/pangocairo.h"
#include "pango/pangofc-font.h"
#include "ocr/trainingdata/typesetting/legacy_fonts.h"
#include "pango/pango-glyph-item-private.h"

Go to the source code of this file.

Namespaces

namespace  tesseract

Defines

#define pango_glyph_item_iter_init_start   _pango_glyph_item_iter_init_start
#define pango_glyph_item_iter_next_cluster   _pango_glyph_item_iter_next_cluster

Functions

 STRING_PARAM_FLAG (fonts_dir,"/auto/ocr-data/tesstraining/fonts","Overrides system default font location")
 STRING_PARAM_FLAG (fontconfig_tmpdir,"/tmp","Overrides fontconfig default temporary dir")
 BOOL_PARAM_FLAG (fontconfig_refresh_cache, false,"Does a one-time deletion of cache files from the ""fontconfig_tmpdir before initializing fontconfig.")
 BOOL_PARAM_FLAG (use_only_legacy_fonts, false,"Overrides --fonts_dir and sets the known universe of fonts to""the list in legacy_fonts.h")

Define Documentation

#define pango_glyph_item_iter_init_start   _pango_glyph_item_iter_init_start

Definition at line 67 of file pango_font_info.cpp.

#define pango_glyph_item_iter_next_cluster   _pango_glyph_item_iter_next_cluster

Definition at line 68 of file pango_font_info.cpp.


Function Documentation

BOOL_PARAM_FLAG ( fontconfig_refresh_cache  ,
false  ,
"Does a one-time deletion of cache files from the ""fontconfig_tmpdir before initializing fontconfig."   
)
BOOL_PARAM_FLAG ( use_only_legacy_fonts  ,
false  ,
"Overrides --fonts_dir and sets the known universe of fonts to""the list in legacy_fonts.h"   
)
STRING_PARAM_FLAG ( fonts_dir  ,
"/auto/ocr-data/tesstraining/fonts"  ,
"Overrides system default font location"   
)
STRING_PARAM_FLAG ( fontconfig_tmpdir  ,
"/tmp"  ,
"Overrides fontconfig default temporary dir"   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines