4 DLL_PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin
13 if [[ -e $FILE ]] ;then
15 DEPS=`objdump -p $FILE 2>/dev/null |grep -i "DLL Name"|sort |uniq|cut -d\ -f3 |egrep -vi '(GDI32.dll|KERNEL32.dll|USER32.dll|msvcrt.dll|MSIMG32.DLL|ole32.dll|OPENGL32.DLL|SHELL32.DLL|WS2_32.dll)'`
18 basename -a $STARTDIR/*.dll | grep -v "*.dll"|sort > $STARTDIR/.HAVES
20 if [[ -z `cat $STARTDIR/.HAVES |grep $DEP` ]] ;then
21 cp -v $DLL_PATH/$DEP $STARTDIR 2>/dev/null
22 COPYDEPS $DLL_PATH/$DEP
24 rm -f $STARTDIR/.HAVES
36 $MKDIR $INSTALLDIR/etc/fonts
37 $CAT > $INSTALLDIR/etc/fonts/fonts.conf <<EOF
39 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
40 <!-- /etc/fonts/fonts.conf file to configure system font access -->
44 DO NOT EDIT THIS FILE.
45 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
46 LOCAL CHANGES BELONG IN 'local.conf'.
48 The intent of this standard configuration file is to be adequate for
49 most environments. If you have a reasonably normal environment and
50 have found problems with this configuration, they are probably
51 things that others will also want fixed. Please submit any
52 problems to the fontconfig bugzilla system located at fontconfig.org
54 Note that the normal 'make install' procedure for fontconfig is to
55 replace any existing fonts.conf file with the new version. Place
56 any local customizations in local.conf which this file references.
61 <!-- Font directory list -->
63 <dir>WINDOWSFONTDIR</dir>
68 Accept deprecated 'mono' alias, replacing it with 'monospace'
70 <match target="pattern">
71 <test qual="any" name="family">
74 <edit name="family" mode="assign">
75 <string>monospace</string>
80 Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
82 <match target="pattern">
83 <test qual="any" name="family">
84 <string>sans serif</string>
86 <edit name="family" mode="assign">
87 <string>sans-serif</string>
92 Accept deprecated 'sans' alias, replacing it with 'sans-serif'
94 <match target="pattern">
95 <test qual="any" name="family">
98 <edit name="family" mode="assign">
99 <string>sans-serif</string>
104 Load local system customization file
106 <include ignore_missing="yes">conf.d</include>
108 <!-- Font cache directory list -->
110 <cachedir>WINDOWSTEMPDIR_FONTCONFIG_CACHE</cachedir>
111 <cachedir>~/.fontconfig</cachedir>
115 These are the default Unicode chars that are expected to be blank
116 in fonts. All other blank chars are assumed to be broken and
117 won't appear in the resulting charsets
120 <int>0x0020</int> <!-- SPACE -->
121 <int>0x00A0</int> <!-- NO-BREAK SPACE -->
122 <int>0x00AD</int> <!-- SOFT HYPHEN -->
123 <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
124 <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
125 <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
126 <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
127 <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
128 <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
129 <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
130 <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
131 <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
132 <int>0x1680</int> <!-- OGHAM SPACE MARK -->
133 <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
134 <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
135 <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
136 <int>0x2000</int> <!-- EN QUAD -->
137 <int>0x2001</int> <!-- EM QUAD -->
138 <int>0x2002</int> <!-- EN SPACE -->
139 <int>0x2003</int> <!-- EM SPACE -->
140 <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
141 <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
142 <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
143 <int>0x2007</int> <!-- FIGURE SPACE -->
144 <int>0x2008</int> <!-- PUNCTUATION SPACE -->
145 <int>0x2009</int> <!-- THIN SPACE -->
146 <int>0x200A</int> <!-- HAIR SPACE -->
147 <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
148 <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
149 <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
150 <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
151 <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
152 <int>0x2028</int> <!-- LINE SEPARATOR -->
153 <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
154 <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
155 <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
156 <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
157 <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
158 <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
159 <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
160 <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
161 <int>0x2060</int> <!-- WORD JOINER -->
162 <int>0x2061</int> <!-- FUNCTION APPLICATION -->
163 <int>0x2062</int> <!-- INVISIBLE TIMES -->
164 <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
165 <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
166 <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
167 <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
168 <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
169 <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
170 <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
171 <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
172 <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
173 <int>0x3164</int> <!-- HANGUL FILLER -->
174 <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
175 <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
176 <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
177 <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
178 <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
181 Rescan configuration every 30 seconds when FcFontSetList is called