blob: 7359268fc2b9d2fb3aa0ecb619bbe3d611f37ed9 (
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
Copyright
This MSVC++2010 solution is distributed under an LGPL license and is designed to
permit you to compile FontConfig 2.10.1 with Microsoft Visual C++ 2010 Express.
It is part of the EBU Media-Player project and developped at:
EBU/European Broadcasting Union
Technology and Innovation Department
L'Ancienne-Route 17A
CH-1218 Grand-Saconnex
Switzerland
http://tech.ebu.ch
This MSVC++ solution was created by : Marco Dos Santos Oliveira at the EBU
dossantos@ebu.ch
########################################################################################################################
Content
This zip file is very similar to the Chun-wei Fan fontconfig_vs9.zip :
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack?action=AttachFile&do=get&target=fontconfig_vs9.zip
released especially for the GTK+ MSVC++ tutorial :
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack#FontConfig
Indeed, it contains all additional files of Chun-wei Fan's solution except his
MSVC++ project because it is outdated.
Changes are into config.h/config.h.vc and in fontconfig.def
For more details, I invite you to read the Gtk+ MSVC++ tutorial or to contact me at
dossantos@ebu.ch
########################################################################################################################
Modifications
Definition added to fontconfig.def :
- FcCacheCreateTagFile
- FcDirCacheClean
Modification/addition to config.h/config.h.vc :
- #define FLEXIBLE_ARRAY_MEMBER 1
- Version number of package
########################################################################################################################
How to build FontConfig-2.10.1
Dependencies required :
- Freetype 2.4.10
- Expat 2.1.0
- Libiconv 1.14
Compilation procedure :
1) Download the latest FontConfig release (right now, it's 2.10.1) from
http://www.freedesktop.org/software/fontconfig/release/
2) Unpack it where you want
3) Unzip this MSVC++2010 project inside the FontConfig root directory
4) Update the path of additional include directories and additional libraries directories.
Maybe you should update the name of additional libraries too.
5) Compile and enjoy :)
|