#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.
Define Documentation
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" |
|
|
) |
| |