text_config.h

Go to the documentation of this file.
00001 /*
00002  * File Name: text_config.h
00003  */
00004 
00005 /*
00006  * This file is part of uds-plugin-plaintext.
00007  *
00008  * uds-plugin-plaintext is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * uds-plugin-plaintext is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #ifndef TEXT_CONFIG_H
00028 #define TEXT_CONFIG_H
00029 
00030 #include "plugin_config.h"
00031 
00032 #define DEFAULT_LANGUAGE        "en"
00033 #define DEFAULT_ASCII_FONT      "vera"
00034 #define DEFAULT_CHINESE_FONT    "simsun"
00035 #define DEFAULT_EMPTY_HEIGHT    0
00036 #define DEFAULT_LINE_SPACING    3
00037 #define DEFAULT_PARA_SPACING    9
00038 #define DEFAULT_DPI             96
00039 #define MAX_FONT_SIZE           30
00040 #define MIN_FONT_SIZE           8
00041 #define DEFAULT_FONT_SPAN       1
00042 #define DEFAULT_FONT_SIZE       PLUGIN_FONT_SIZE_DEFAULT 
00043 #define DEFAULT_LEFT_MARGIN     0
00044 #define DEFAULT_RIGHT_MARGIN    0
00045 #define DEFAULT_TOP_MARGIN      0
00046 #define DEFAULT_BOTTOM_MARGIN   0
00047 #define DEFAULT_BK_COLOR        0xFF
00048 #define DEFAULT_FREE_MEMORY     1024 * 1024 * 8
00049 #define DEFAULT_SAFE_MEMORY     1024 * 1024 * 10
00050 #define DEFAULT_ROTATE          0
00051 #define DEFAULT_COLOR_DEPTH     8
00052 
00053 #define DEFAULT_SURFACE_WIDTH   1024
00054 #define DEFAULT_SURFACE_HEIGHT  1280
00055 
00056 #endif // TEXT_CONFIG_H
00057 
Generated by  doxygen 1.6.2-20100208