Skip to content

Commit 6afea9c

Browse files
committed
thorvg: Update to 0.12.9
1 parent 06abc86 commit 6afea9c

File tree

6 files changed

+3
-8
lines changed

6 files changed

+3
-8
lines changed

thirdparty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ instead of `miniz.h` as an external dependency.
860860
## thorvg
861861

862862
- Upstream: https://github.com/thorvg/thorvg
863-
- Version: 0.12.7 (cddae9966cbb48c431ea17c262d6f48393206fd7, 2024)
863+
- Version: 0.12.9 (afa6d8499bd49141d99d5e40a4620bd9f6bc0467, 2024)
864864
- License: MIT
865865

866866
Files extracted from upstream source:

thirdparty/thorvg/inc/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
// For internal debugging:
1111
//#define THORVG_LOG_ENABLED
1212

13-
#define THORVG_VERSION_STRING "0.12.7"
13+
#define THORVG_VERSION_STRING "0.12.9"
1414
#endif

thirdparty/thorvg/src/loaders/svg/tvgSvgPath.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ void _pathAppendArcTo(Array<PathCommand>* cmds, Array<Point>* pts, Point* cur, P
122122
sx = cur->x;
123123
sy = cur->y;
124124

125-
//If start and end points are identical, then no arc is drawn
126-
if ((fabsf(x - sx) < (1.0f / 256.0f)) && (fabsf(y - sy) < (1.0f / 256.0f))) return;
127-
128125
//Correction of out-of-range radii, see F6.6.1 (step 2)
129126
rx = fabsf(rx);
130127
ry = fabsf(ry);

thirdparty/thorvg/src/renderer/tvgScene.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ struct Scene::Impl
133133
if (needComp) {
134134
cmp = renderer->target(bounds(renderer), renderer->colorSpace());
135135
renderer->beginComposite(cmp, CompositeMethod::None, opacity);
136-
needComp = false;
137136
}
138137

139138
for (auto paint : paints) {

thirdparty/thorvg/src/renderer/tvgShape.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ struct Shape::Impl
5656
if (needComp) {
5757
cmp = renderer->target(bounds(renderer), renderer->colorSpace());
5858
renderer->beginComposite(cmp, CompositeMethod::None, opacity);
59-
needComp = false;
6059
}
6160
ret = renderer->renderShape(rd);
6261
if (cmp) renderer->endComposite(cmp);

thirdparty/thorvg/update-thorvg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
VERSION=0.12.7
3+
VERSION=0.12.9
44

55
cd thirdparty/thorvg/ || true
66
rm -rf AUTHORS LICENSE inc/ src/ *.zip *.tar.gz tmp/

0 commit comments

Comments
 (0)