1 wxWidgets for DirectFB installation
2 ===================================
6 wxDFB is currently incomplete and some parts of the wxWidgets library
7 don't yet compile and must be disabled during configuration. In particular,
8 the coverage of wxDC API is limited.
14 wxDFB requires the DirectFB library (http://www.directfb.org), which must
15 be installed before compiling wxDFB.
21 Compilation is done in the standard Unix fashion, using configure and make.
22 Please refer to e.g. wxGTK's install.txt for details if you are unfamiliar
25 When configuring, use the --with-directfb option instead of e.g. --with-gtk
26 to specify that the wxDFB port should be built. You'll also need to disable
27 wxWidgets features that don't work in wxDFB yet:
29 $ ./configure --with-directfb \
42 --disable-choicebook \
46 --disable-filepicker \
48 --disable-fontpicker \
62 DirectFB doesn't have native fonts configuration mechanism (such as
63 fontconfig used by GTK+) and so wxDFB implements a simple configuration
66 No fonts are installed and configured by "make install", you have to manually
67 configure fonts after you install the library.
69 wxDFB looks the fonts up in directories specified in the WXDFB_FONTPATH
70 environment variable (separated with :, similarly to the PATH variable). If
71 the variable is not set, $prefix/share/wx/fonts directory is used. All
72 subdirectories of the directories on the path are scanned for FontsIndex
73 files. These files are parsed and fonts defined in them are added to the fonts
76 The FontsIndex file is standard wxFileConfig file text file. Each toplevel
77 group specifies one font bundle, font's name is the name of group. Group's
78 entries look like this:
81 # font files (at least one of them must be present):
82 Regular=RegularFaceFile.ttf
83 Italic=ItalicFaceFile.ttf
85 BoldItalic=BoldItalicFaceFile.ttf
86 # optional tag indicating this font is fixed-with (default is false):
89 Additionally, there may be DefaultXXX entries at the toplevel for every family
90 XXX and a Default entry that is shortcut for setting all families' default,
91 their value is name of the default font:
93 # optional tags indicating the default font for given family:
94 DefaultDecorative=Font Name
95 DefaultRoman=Font Name
96 DefaultScript=Font Name
97 DefaultSwiss=Font Name
98 DefaultModern=Font Name
99 DefaultTeletype=Font Name
100 # indicate the font that is default for all families (optional):
103 Any font formats supported by DirectFB (which typically includes formats
104 supported by the FreeType library) can be used.
110 Please send bug reports with a description of your environment,
111 compiler and the error message(s) to the wxwin-developers mailing list at:
113 wx-dev@lists.wxwidgets.org