Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/previewimageprovider.cpp
| Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 72 | { | |||
|---|---|---|---|---|---|
| 120 | QImage img = combineImages(lines, bgnd, lines[0].height()*.25); | 120 | QImage img = combineImages(lines, bgnd, lines[0].height()*.25); | ||
| 121 | 121 | | |||
| 122 | 122 | | |||
| 123 | xft.setAntiAliasing(oldAntialiasing); | 123 | xft.setAntiAliasing(oldAntialiasing); | ||
| 124 | xft.setExcludeRange(oldStart, oldEnd); | 124 | xft.setExcludeRange(oldStart, oldEnd); | ||
| 125 | xft.setSubPixelType(oldSubPixelType); | 125 | xft.setSubPixelType(oldSubPixelType); | ||
| 126 | xft.setHintStyle(oldHintStyle); | 126 | xft.setHintStyle(oldHintStyle); | ||
| 127 | 127 | | |||
| 128 | xft.apply(); | ||||
| 129 | | ||||
| 128 | *size = img.size(); | 130 | *size = img.size(); | ||
| 129 | 131 | | |||
| 130 | return img; | 132 | return img; | ||
| 131 | } | 133 | } | ||