Repository navigation
Commit 23f5ce2
committed
Fix rich text cloning and palette cache key
Adds missing RichTextRun fields to the RichTextOptions copy constructor, including feature tags, shaping metadata, color font settings, and font palette, so cloned options preserve run behavior correctly. It also includes FontPalette in glyph cache keys to prevent cache collisions between palette variants, and updates SixLabors.Fonts/ImageSharp package versions.1 parent c3d5012 commit 23f5ce2
4 files changed
Lines changed: 35 additions & 5 deletions
File tree
- src/ImageSharp.Drawing
- Processing
- tests/ImageSharp.Drawing.Tests/Processing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1218 | 1218 | | |
1219 | 1219 | | |
1220 | 1220 | | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1221 | 1229 | | |
1222 | 1230 | | |
1223 | 1231 | | |
| |||
1269 | 1277 | | |
1270 | 1278 | | |
1271 | 1279 | | |
1272 | | - | |
| 1280 | + | |
| 1281 | + | |
1273 | 1282 | | |
1274 | 1283 | | |
1275 | 1284 | | |
| |||
1291 | 1300 | | |
1292 | 1301 | | |
1293 | 1302 | | |
1294 | | - | |
| 1303 | + | |
| 1304 | + | |
1295 | 1305 | | |
1296 | 1306 | | |
1297 | 1307 | | |
| |||
1312 | 1322 | | |
1313 | 1323 | | |
1314 | 1324 | | |
| 1325 | + | |
1315 | 1326 | | |
1316 | 1327 | | |
1317 | 1328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
44 | 57 | | |
45 | 58 | | |
| 59 | + | |
| 60 | + | |
46 | 61 | | |
47 | 62 | | |
48 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
820 | 823 | | |
821 | 824 | | |
822 | 825 | | |
| 826 | + | |
823 | 827 | | |
824 | 828 | | |
825 | 829 | | |
| |||
0 commit comments