summaryrefslogtreecommitdiff
path: root/packages/graphics/freetype/freetype.kconfig
blob: 0e04d3bb34a6e71a42acd087525770186e6fdc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE. All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         freetype.kconfig
# \brief	freetype.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         October 2009
################################################################################

config EMBTK_HAVE_FREETYPE
	bool "Have FreeType"
	select EMBTK_HAVE_ZLIB
	help
	 FreeType 2 is a software font engine that is designed to be small,
	 efficient, highly customizable, and portable while capable of producing
	 high-quality output (glyph images). It can be used in graphics
	 libraries, display servers, font conversion tools, text image
	 generation tools, and many other products as well.
	 Note that FreeType 2 is a font service and doesn't provide APIs to
	 perform higher-level features like text layout or graphics processing
	 (e.g., colored text rendering, ‘hollowing’, etc.). However, it greatly
	 simplifies these tasks by providing a simple, easy to use, and uniform
	 interface to access the content of font files.

choice
	prompt "FreeType version you wish"
	depends on EMBTK_HAVE_FREETYPE
	help
		Here you can choose which version of freetype you want to use.

	config  EMBTK_FREETYPE_VERSION_2_4_4
		bool "FreeType-2.4.4"
	config  EMBTK_FREETYPE_VERSION_2_4_3
		bool "FreeType-2.4.3"
	config  EMBTK_FREETYPE_VERSION_2_4_2
		bool "FreeType-2.4.2"
	config  EMBTK_FREETYPE_VERSION_2_4_1
		bool "FreeType-2.4.1"
	config  EMBTK_FREETYPE_VERSION_2_4_0
		bool "FreeType-2.4.0"
	config  EMBTK_FREETYPE_VERSION_2_3_12
		bool "FreeType-2.3.12"
	config  EMBTK_FREETYPE_VERSION_2_3_11
		bool "FreeType-2.3.11"
	config  EMBTK_FREETYPE_VERSION_2_3_10
		bool "FreeType-2.3.10"
	config  EMBTK_FREETYPE_VERSION_2_3_9
		bool "FreeType-2.3.9"
endchoice

config EMBTK_FREETYPE_VERSION_STRING
	string
	default "2.4.4"		if EMBTK_FREETYPE_VERSION_2_4_4
	default "2.4.3"		if EMBTK_FREETYPE_VERSION_2_4_3
	default "2.4.2"		if EMBTK_FREETYPE_VERSION_2_4_2
	default "2.4.1"		if EMBTK_FREETYPE_VERSION_2_4_1
	default "2.4.0"		if EMBTK_FREETYPE_VERSION_2_4_0
	default "2.3.12"	if EMBTK_FREETYPE_VERSION_2_3_12
	default "2.3.11"	if EMBTK_FREETYPE_VERSION_2_3_11
	default "2.3.10"	if EMBTK_FREETYPE_VERSION_2_3_10
	default "2.3.9"		if EMBTK_FREETYPE_VERSION_2_3_9