From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-tex/qtexengine/files: qtexengine-0.2-dynlib.patch qtexengine-0.2-interpolate.patch |
Date: | Fri, 01 Jan 2010 10:20:54 |
Message-Id: | E1NQeck-0001HR-FI@stork.gentoo.org |
1 | ssuominen 10/01/01 10:20:50 |
2 | |
3 | Added: qtexengine-0.2-dynlib.patch |
4 | qtexengine-0.2-interpolate.patch |
5 | Log: |
6 | Initial commit, moved from sci overlay for qtiplot |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-tex/qtexengine/files/qtexengine-0.2-dynlib.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/qtexengine/files/qtexengine-0.2-dynlib.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/qtexengine/files/qtexengine-0.2-dynlib.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: qtexengine-0.2-dynlib.patch |
16 | =================================================================== |
17 | diff --git a/config.pri b/config.pri |
18 | index 5d53579..bb36060 100644 |
19 | --- a/config.pri |
20 | +++ b/config.pri |
21 | @@ -2,7 +2,7 @@ CONFIG += qt warn_on thread |
22 | CONFIG += release |
23 | |
24 | # Comment the lines bellow if you want to build QTeXEngine statically |
25 | -#CONFIG += QTeXEngineDll |
26 | +CONFIG += QTeXEngineDll |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | 1.1 dev-tex/qtexengine/files/qtexengine-0.2-interpolate.patch |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/qtexengine/files/qtexengine-0.2-interpolate.patch?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/qtexengine/files/qtexengine-0.2-interpolate.patch?rev=1.1&content-type=text/plain |
37 | |
38 | Index: qtexengine-0.2-interpolate.patch |
39 | =================================================================== |
40 | diff --git a/src/QTeXPaintEngine.cpp b/src/QTeXPaintEngine.cpp |
41 | index 3c54c02..9651bd3 100644 |
42 | --- a/src/QTeXPaintEngine.cpp |
43 | +++ b/src/QTeXPaintEngine.cpp |
44 | @@ -409,7 +409,7 @@ void QTeXPaintEngine::drawPixmap(const QPixmap &pix, const QRectF &r) |
45 | |
46 | t << "\\pgfputat"; |
47 | t << pgfPoint(convertPoint(painter()->worldMatrix().map(r.bottomLeft()))); |
48 | - t << "{\\pgfimage[interpolate=true,width="; |
49 | + t << "{\\pgfimage[interpolate=false,width="; |
50 | |
51 | QString u = unit(); |
52 | t << QString::number(r.width()*resFactorX()) + u + ",height="; |