Skip to content

Commit 8764493

Browse files
committed
Merge remote-tracking branch 'origin/RB-2.3'
2 parents 8537281 + fee2ee9 commit 8764493

10 files changed

+519
-145
lines changed

.gitignore

+58-61
Original file line numberDiff line numberDiff line change
@@ -13,51 +13,7 @@ build64
1313
sed*
1414
*latex*
1515
DerivedData
16-
Documentation/html
17-
Documentation/pdf
18-
#Documentation/source/_group*
19-
#Documentation/source/_prefs.rst
20-
#Documentation/source/plugins
21-
breakpadclient.pri
22-
breakpadpro.pri
23-
google-breakpad/
24-
tools/normalize/normalize.xcodeproj/
25-
tools/utils/generateGLIncludes.xcodeproj/
26-
tools/utils/generateGLIncludes.pro.user
27-
libs/hoedown/hoedown.xcodeproj/
28-
libs/libtess/libtess.xcodeproj/
29-
libs/libtess/tess.xcodeproj/
30-
libs/ceres/ceres.xcodeproj/
31-
libs/openMVG/openMVG.xcodeproj/
32-
libs/libmv/LibMV.xcodeproj/
33-
libs/glog/glog.xcodeproj/
34-
libs/gflags/gflags.xcodeproj/
35-
libs/qhttpserver/qhttpserver.xcodeproj/
36-
libs/qhttpserver/src/qhttpserver.xcodeproj/
37-
libs/yaml-cpp/yaml-cpp-natron.xcodeproj/
38-
ProjectConverter/NatronProjectConverter
39-
PythonBin/natron-python
40-
natron-python.xcodeproj/
41-
Natron.xcodeproj/
42-
Project-xcode-breakpad.xcodeproj/
43-
Natron-bin.xcodeproj/
44-
Serialization.xcodeproj/
45-
NatronProjectConverter.xcodeproj/
46-
NatronRenderer-bin.xcodeproj/
47-
NatronRenderer.xcodeproj/
48-
NatronCrashReporter.xcodeproj/
49-
NatronRendererCrashReporter.xcodeproj/
50-
BreakpadClient.xcodeproj/
51-
CrashReporter/*
52-
CrashReporterCLI/*
53-
BreakpadClient/*
54-
tools/normalize/normalize
55-
Tests.xcodeproj/
56-
HostSupport.xcodeproj/
57-
Gui.xcodeproj/
58-
Engine.xcodeproj/
59-
Project.xcodeproj/
60-
natron-python.xcodeproj/
16+
.pro.user
6117
*.sln
6218
*.xcworkspace
6319
*xcuserdata
@@ -67,14 +23,7 @@ natron-python.xcodeproj/
6723
*Release
6824
*release
6925
*debug
70-
Cache
71-
TestImages
72-
TestWrite
73-
TODO.txt
74-
.pro.user
75-
config.pri
7626
*.vcxproj
77-
Info.plist
7827
*Win32
7928
qrc_*.cpp
8029
*GeneratedFiles
@@ -238,22 +187,16 @@ Makefile
238187
*.gcda
239188
*.gcno
240189
*.gcov
241-
Tests/Tests
242-
ofxTestLog.txt
243-
test_dot_generator0.jpg
244-
Tests/Plugins
245190
pch
246191
*.filters
247192

248193
# Python
249194
*.pyc
250195

251-
Renderer/NatronRenderer
252196

253197
*tmp*
254198
*commits-hash.sh*
255199

256-
CrashReporterCLI/NatronRendererCrashReporter
257200
*repo.sh*
258201
*local.sh*
259202
OpenColorIO-Configs
@@ -265,7 +208,61 @@ allfileshas.txt
265208
bigobjects.txt
266209
bigtosmall.txt
267210

268-
269-
211+
App/Natron
212+
BreakpadClient.xcodeproj/
213+
BreakpadClient/*
214+
Cache
215+
CrashReporter/*
216+
CrashReporterCLI/*
217+
CrashReporterCLI/NatronRendererCrashReporter
218+
Documentation/html
219+
Documentation/pdf
220+
Engine.xcodeproj/
221+
Gui.xcodeproj/
222+
HostSupport.xcodeproj/
223+
Info.plist
224+
Natron-bin.xcodeproj/
225+
Natron.xcodeproj/
226+
NatronCrashReporter.xcodeproj/
227+
NatronProjectConverter.xcodeproj/
228+
NatronRenderer-bin.xcodeproj/
229+
NatronRenderer.xcodeproj/
230+
NatronRendererCrashReporter.xcodeproj/
231+
Project-xcode-breakpad.xcodeproj/
232+
Project.xcodeproj/
233+
ProjectConverter/NatronProjectConverter
234+
PythonBin/natron-python
235+
PythonBin/natron-python
236+
Renderer/NatronRenderer
237+
Serialization.xcodeproj/
238+
TODO.txt
239+
TestImages
240+
TestWrite
241+
Tests.xcodeproj/
242+
Tests/Plugins
243+
Tests/Tests
244+
breakpadclient.pri
245+
breakpadpro.pri
246+
config.pri
247+
google-breakpad/
248+
libs/ceres/ceres.xcodeproj/
249+
libs/gflags/gflags.xcodeproj/
250+
libs/glog/glog.xcodeproj/
251+
libs/hoedown/hoedown.xcodeproj/
252+
libs/libmv/LibMV.xcodeproj/
253+
libs/libtess/libtess.xcodeproj/
254+
libs/libtess/tess.xcodeproj/
255+
libs/openMVG/openMVG.xcodeproj/
256+
libs/qhttpserver/qhttpserver.xcodeproj/
257+
libs/qhttpserver/src/qhttpserver.xcodeproj/
258+
libs/yaml-cpp/yaml-cpp-natron.xcodeproj/
259+
natron-python.xcodeproj/
260+
natron-python.xcodeproj/
261+
ofxTestLog.txt
262+
test_dot_generator0.jpg
263+
tools/normalize/normalize
264+
tools/normalize/normalize
265+
tools/normalize/normalize.xcodeproj/
270266
tools/utils/generateGLIncludes
271-
267+
tools/utils/generateGLIncludes.pro.user
268+
tools/utils/generateGLIncludes.xcodeproj/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<match target="pattern">
5+
<!--
6+
This configuration is available on the major desktop environments.
7+
We shouldn't overwrite it with "assign" unconditionally.
8+
Most clients may picks up the first value only. so using "append"
9+
may simply works to avoid it.
10+
-->
11+
<edit name="hintstyle" mode="append"><const>hintslight</const></edit>
12+
</match>
13+
</fontconfig>

Gui/Resources/etc/fonts/conf.d/10-scale-bitmap-fonts.conf

+17-15
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
33
<fontconfig>
44

5+
<!--
6+
If font is bitmap, calculate scale factor.
7+
Note that color bitmap fonts have scalable=true, while
8+
non-color ones have scalable=false. Both groups have outline=false.
9+
-->
510
<match target="font">
6-
<test name="scalable" compare="eq">
11+
<test name="outline" compare="eq">
712
<bool>false</bool>
813
</test>
914
<edit name="pixelsizefixupfactor" mode="assign">
@@ -13,10 +18,20 @@
1318
</divide>
1419
</edit>
1520
</match>
21+
<!--
22+
For non-scalable bitmap fonts (ie. non-color), skip
23+
minor scaling if hinting is enabled.
24+
-->
1625
<match target="font">
26+
<test name="outline" compare="eq">
27+
<bool>false</bool>
28+
</test>
1729
<test name="scalable" compare="eq">
1830
<bool>false</bool>
1931
</test>
32+
<test name="hinting" compare="eq">
33+
<bool>true</bool>
34+
</test>
2035
<edit name="scalingnotneeded" mode="assign">
2136
<and>
2237
<less>
@@ -30,20 +45,7 @@
3045
</and>
3146
</edit>
3247
</match>
33-
<!--
34-
So far we determined the scale factor. Now, check and if
35-
scaling is NOT desirable, just reset the scale factor to 1.0.
36-
-->
3748
<match target="font">
38-
<test name="scalable" compare="eq">
39-
<bool>false</bool>
40-
</test>
41-
<test name="pixelsize" target="pattern" compare="less">
42-
<double>64</double>
43-
</test>
44-
<test name="hinting" compare="eq">
45-
<bool>true</bool>
46-
</test>
4749
<test name="scalingnotneeded" compare="eq">
4850
<bool>true</bool>
4951
</test>
@@ -55,7 +57,7 @@
5557
If we *are* going to scale, go ahead and do it.
5658
-->
5759
<match target="font">
58-
<test name="scalable" compare="eq">
60+
<test name="outline" compare="eq">
5961
<bool>false</bool>
6062
</test>
6163
<test name="pixelsizefixupfactor" compare="not_eq">

0 commit comments

Comments
 (0)