#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.h"
#include "pango/pangocairo.h"
#include "pango/pangofc-font.h"
#include "ocr/trainingdata/typesetting/legacy_fonts.h"
Go to the source code of this file.
|
| STRING_PARAM_FLAG (fontconfig_tmpdir, "/tmp", "Overrides fontconfig default temporary dir") |
|
| 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") |
|
◆ BOOL_PARAM_FLAG()
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() [1/2]
STRING_PARAM_FLAG |
( |
fontconfig_tmpdir |
, |
|
|
"/tmp" |
, |
|
|
"Overrides fontconfig default temporary dir" |
|
|
) |
| |
◆ STRING_PARAM_FLAG() [2/2]
STRING_PARAM_FLAG |
( |
fonts_dir |
, |
|
|
"/auto/ocr-data/tesstraining/fonts" |
, |
|
|
"Overrides system default font location" |
|
|
) |
| |