1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>History of Ghostscript versions 9.n</title>
<!-- $Id$ -->
<!--
WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
re-create the table of contents here, because it will replace the
hand-edited TOC subheads with a separate subhead for each H2 in
the body of the file. Or if you do, first look at the original
TOC to see how to edit it for visual conciseness.
-->
<link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
</head>
<body>
<!-- [1.0 begin visible header] ============================================ -->
<!-- [1.1 begin headline] ================================================== -->
<table width="100%" border="0">
<tr><th align="center" bgcolor="#CCCC00"><font size=6>History of Ghostscript versions 9.xx</font>
</table>
<!-- [1.1 end headline] ==================================================== -->
<!-- [1.2 begin table of contents] ========================================= -->
<h2>Table of contents</h2>
<blockquote><ul>
<li><a href="#Version9.03">Version 9.03 (2011-07-15)</a>
<li><a href="#Version9.02">Version 9.02 (2011-03-30)</a>
<li><a href="#Version9.01">Version 9.01 (2011-02-07)</a>
<li><a href="#Version9.00">Version 9.00 (2010-09-14)</a>
</ul></blockquote>
<!-- [1.2 end table of contents] =========================================== -->
<!-- [1.3 begin hint] ====================================================== -->
<p>
This document is a record of changes in Ghostscript releases numbered 9.xx.
For earlier versions, see the the history documents:
<blockquote>
<a href="History8.htm">History of Ghostscript versions 8.n</a><br>
<a href="History7.htm">History of Ghostscript versions 7.n</a><br>
<a href="History6.htm">History of Ghostscript versions 6.n</a><br>
<a href="History5.htm">History of Ghostscript versions 5.n</a><br>
<a href="History4.htm">History of Ghostscript versions 4.n</a><br>
<a href="History3.htm">History of Ghostscript versions 3.n</a><br>
<a href="History2.htm">History of Ghostscript versions 2.n</a><br>
<a href="History1.htm">History of Ghostscript versions 1.n</a>
</blockquote>
<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a>.
<!-- [1.3 end hint] ======================================================== -->
<hr>
<!-- [1.0 end visible header] ============================================== -->
<!-- [2.0 begin contents] ================================================== -->
<h2><a name="Version9.03"></a>Version 9.03 (2011-07-15)</h2>
<p>This is the fourth release in the stable 9.x series.
<p>For a list of open issues, or to report problems,
please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>.
<h3><a name="9.03_Incompatible_changes"></a>Incompatible changes</h3>
<p>
No recorded incompatible changes.
<h3><a name="9.03_changelog"></a>Changelog</h3>
<p><strong><a name=2011-07-15 07:12:49 +0100></a>
2011-07-15 07:12:49 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f3ec1c99d6ba299e8ecbffb193e45ea442126bbb">f3ec1c99d6ba299e8ecbffb193e45ea442126bbb</a>
<blockquote>
<br>
Fix an error in the Win64 building of genarch.exe
<br>
<br>
It was using AUXDIR instead of AUX for the path.
<br>
<br>
Conflicts:
<br>
<br>
gs/base/msvctail.mak
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/msvctail.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-14 16:07:03 +0100></a>
2011-07-14 16:07:03 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bf7e720496a1299b9450ccd2dc41bda2f428a56c">bf7e720496a1299b9450ccd2dc41bda2f428a56c</a>
<blockquote>
<br>
Small fix to changes for Bug 688528.
<br>
<br>
The fix for Bug 688528 contained a conditional error checking for
<br>
a return value of greater than zero when in fact it should be
<br>
greater than or equal to zero.
<br>
<br>
No cluster differences.
<br>
<br>
gs/base/gdevvec.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-14 16:11:16 +0100></a>
2011-07-14 16:11:16 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4a3c38301f0c8075e53bf0ffb15ec2d991006185">4a3c38301f0c8075e53bf0ffb15ec2d991006185</a>
<blockquote>
<br>
Remove some warnings from the missing ICCProfilesDir commit.
<br>
<br>
gs/base/gdevddrw.c
<br>
gs/base/gsdevice.c
<br>
gs/base/gsicc_manage.c
<br>
gs/psi/zusparam.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-13 12:51:18 -0700></a>
2011-07-13 12:51:18 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b5dce1e006d2c90f34c54aa731015d18b443b3ed">b5dce1e006d2c90f34c54aa731015d18b443b3ed</a>
<blockquote>
<br>
Fix for missing ICCProfilesDir during some device init. Move profiledir to gs_lib_ctx.
<br>
<br>
The business of trying to keep the profile directory in the device and keeping it in
<br>
sync with the value used in the icc_manager led to problems when some devices were
<br>
initialized. This change moves the profiledir (and its len) into the gs_lib_ctx_t
<br>
(pseudo- global) which is accessible by the icc_manager and devices via the
<br>
gs_memory_t pointer.
<br>
<br>
Remove the no longer needed functions to set and sync the profile in the device and
<br>
replace gsicc_set_icc_directory with gs_lib_ctx_set_icc_directory.
<br>
<br>
Thanks to Michael Vrhel for adding to this patch to make it build on linux and
<br>
build the other parsers.
<br>
<br>
psi/psitop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-13 12:51:18 -0700></a>
2011-07-13 12:51:18 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=aeb8d66f59d64aca68577fe0b6de1e03b8a2da80">aeb8d66f59d64aca68577fe0b6de1e03b8a2da80</a>
<blockquote>
<br>
Fix for missing ICCProfilesDir during some device init. Move profiledir to gs_lib_ctx.
<br>
<br>
The business of trying to keep the profile directory in the device and keeping it in
<br>
sync with the value used in the icc_manager led to problems when some devices were
<br>
initialized. This change moves the profiledir (and its len) into the gs_lib_ctx_t
<br>
(pseudo- global) which is accessible by the icc_manager and devices via the
<br>
gs_memory_t pointer.
<br>
<br>
Remove the no longer needed functions to set and sync the profile in the device and
<br>
replace gsicc_set_icc_directory with gs_lib_ctx_set_icc_directory.
<br>
<br>
Thanks to Michael Vrhel for adding to this patch to make it build on linux and
<br>
build the other parsers.
<br>
<br>
gs/base/gscms.h
<br>
gs/base/gsdevice.c
<br>
gs/base/gsdparam.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/base/gslibctx.c
<br>
gs/base/gslibctx.h
<br>
gs/base/lib.mak
<br>
gs/base/msvclib.mak
<br>
gs/psi/int.mak
<br>
gs/psi/zdevice.c
<br>
gs/psi/zusparam.c
<br>
pcl/pctop.c
<br>
psi/psitop.c
<br>
pxl/pxpthr.c
<br>
pxl/pxtop.c
<br>
svg/svgtop.c
<br>
xps/xpstop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-12 20:11:46 +0100></a>
2011-07-12 20:11:46 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e27429ba550dbcffd60cf969c019ea0bb775fe05">e27429ba550dbcffd60cf969c019ea0bb775fe05</a>
<blockquote>
<br>
Update autoconf build and the Windows build to use Luratech
<br>
if the directories are found where we expect.
<br>
<br>
Include options on each build to disable using Luratech explicitly.
<br>
<br>
Document the change in Make.htm
<br>
<br>
No cluster differences.
<br>
<br>
gs/base/Makefile.in
<br>
gs/base/configure.ac
<br>
gs/doc/Make.htm
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-12 19:15:33 +0100></a>
2011-07-12 19:15:33 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a00cea4f7a7d1535a0240304b9dcd6673d8d27a7">a00cea4f7a7d1535a0240304b9dcd6673d8d27a7</a>
<blockquote>
<br>
Add a simple git log to html changelog script.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/toolbin/gitlog2changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-06 23:12:51 -0600></a>
2011-07-06 23:12:51 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=487c62e88ce2792a9b58fd23a9fcb12a0396f7dc">487c62e88ce2792a9b58fd23a9fcb12a0396f7dc</a>
<blockquote>
<br>
Updates PDL README.txt
<br>
<br>
README.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-07 13:47:03 +0100></a>
2011-07-07 13:47:03 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=76cfa1cb5d015fee914f80fbbee41b39d707facb">76cfa1cb5d015fee914f80fbbee41b39d707facb</a>
<blockquote>
<br>
Bug 688528-addendum: quell warnings and handle errors.
<br>
<br>
gs/base/gdevvec.c
<br>
gs/base/gsdevice.c
<br>
gs/base/gximag3x.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-07-07 10:41:27 +0100></a>
2011-07-07 10:41:27 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=70a824e77c39eed68d7bc7a44351f3beec26fb93">70a824e77c39eed68d7bc7a44351f3beec26fb93</a>
<blockquote>
<br>
Bug 688528: set ICC profiles for interal uses of bbox device.
<br>
<br>
If we create a bbox device internally (i.e. not as an output device)
<br>
we must still ensure that the device has ICC profiles set in it. In
<br>
this case, it simply inherits the profile array from the parent
<br>
device.
<br>
<br>
This also meant moving the ICC manager initialization to before the
<br>
device "open" call in gs_setdevice_no_erase() because the device set
<br>
can also open another device (in this case, pswrite's "open" has the
<br>
effect, via the vector device, of setting a bbox device instance, so
<br>
there must be an array of ICC profiles at that stage for bbox to
<br>
inherit.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevvec.c
<br>
gs/base/gsdevice.c
<br>
gs/base/gslib.c
<br>
gs/base/gximag3x.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-28 13:12:34 +0100></a>
2011-06-28 13:12:34 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=11fa4e84f504bdbd9e78495cf5214e49554383b0">11fa4e84f504bdbd9e78495cf5214e49554383b0</a>
<blockquote>
<br>
More 'aux' makefile changes.
<br>
<br>
Configured gs builds were still not putting the aux directory in the
<br>
right place. Reworked here.
<br>
<br>
This has meant changing the horrible 'RELDIR' hack for a slightly
<br>
less horrible hack using 'BUILDDIRPREFIX'. In turn this has meant
<br>
that the shared object targets have one mroe layer of recursion in
<br>
the make, but it's still at the top level, and (arguably) clearer
<br>
now than it was before.
<br>
<br>
gs/base/Makefile.in
<br>
gs/base/configure.ac
<br>
gs/base/gs.mak
<br>
gs/base/macos-fw.mak
<br>
gs/base/macosx.mak
<br>
gs/base/ugcclib.mak
<br>
gs/base/unix-dll.mak
<br>
gs/base/unix-end.mak
<br>
gs/base/unix-gcc.mak
<br>
gs/base/unixansi.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-27 20:09:20 -0400></a>
2011-06-27 20:09:20 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=680d0f9b0a30de60c3289b827714be3f5adc65b1">680d0f9b0a30de60c3289b827714be3f5adc65b1</a>
<blockquote>
<br>
Rename -dPDFNOSTOPPED to -dPDFSTOPONERROR
<br>
<br>
gs/Resource/Init/gs_init.ps
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/doc/Use.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-27 19:34:37 -0400></a>
2011-06-27 19:34:37 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=66700ec35f74a6e049ed6654283418a6d23bfb3e">66700ec35f74a6e049ed6654283418a6d23bfb3e</a>
<blockquote>
<br>
Bug 692301: Support /Filter array with /JPXDecode
<br>
<br>
Fix a bug in /JPXDecode filter handler that generated bad
<br>
/DecodeParms when /JPXDecode filter was used in a /Filter
<br>
array. Remove some obsolete code related to /JPXDecode.
<br>
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-27 14:06:27 -0400></a>
2011-06-27 14:06:27 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2f08f6f0c1b9bae95387534617005df0b4b7e46f">2f08f6f0c1b9bae95387534617005df0b4b7e46f</a>
<blockquote>
<br>
Add -dPDFNOSTOPPED option.
<br>
<br>
Norrmally, PDF interpreter tries to repair all problems in PDF files.
<br>
-dPDFNOSTOPPED option skips some of the stopped contexts. On error,
<br>
instead of printing a warning and continue, PDF interpreter drops into
<br>
a PostScript error handler that prints detailed information about the
<br>
problem and kills the job.
<br>
<br>
gs/Resource/Init/gs_init.ps
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/doc/Use.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-27 09:22:30 -0600></a>
2011-06-27 09:22:30 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9b9d97a5a2c299595048c72fa10e1a2b2845ff58">9b9d97a5a2c299595048c72fa10e1a2b2845ff58</a>
<blockquote>
<br>
Add planar device to the Windows build.
<br>
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-27 14:35:52 +0100></a>
2011-06-27 14:35:52 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5e292c6c611659105f9bbc50ad33518c97a1923d">5e292c6c611659105f9bbc50ad33518c97a1923d</a>
<blockquote>
<br>
bug #692304 Don't emit '0 g' for 'erasepage'
<br>
<br>
showpage causes a fill of an empty path, apparently as part of the erasepage mechanism.
<br>
When used with pdfwrite, with -dUseCIEColor -dPDFA and no Output Intent specified
<br>
this can lead to us emitting a '0 g' in a PDF/A file, whic his only valid if an OutputIntent is specified.
<br>
<br>
Fixed by ignoring empty paths. Despite the comment in gdev_pdf_fill_path we
<br>
do not seem to need to do this for text or clips. Probably since I moved the
<br>
'pdf_set_drawing_color' code out of pdf_reset_color so that we could write colours in a text context.
<br>
<br>
This exhibits one progression, with ps2write 'Bug6901014_CImg_flyer.pdf' now
<br>
draws all the output instead of dropping portions of it due to a 'nocurrentpoint' error.
<br>
<br>
gs/base/gdevpdfd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-26 11:20:33 +0100></a>
2011-06-26 11:20:33 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f3b1a56bb0c5d716868b7914bee6c3740f3f035a">f3b1a56bb0c5d716868b7914bee6c3740f3f035a</a>
<blockquote>
<br>
Update to libjpeg 8c.
<br>
<br>
Combines (from libs-update branch) the commits:
<br>
<br>
Commit a vanilla copy of libjpeg-8c.
<br>
<br>
And the makefile changes to let it build.
<br>
<br>
Commit our patch to the libjpeg source.
<br>
<br>
Add our patches to the jpeg-8c src.
<br>
<br>
This changes every cluster test which contains DCT/JPEG data, but
<br>
they are all very small colour shifts that are invisible
<br>
to the naked eye - as expected by this type of update.
<br>
<br>
gs/base/jpeg.mak
<br>
gs/jpeg/Makefile.am
<br>
gs/jpeg/Makefile.in
<br>
gs/jpeg/README
<br>
gs/jpeg/aclocal.m4
<br>
gs/jpeg/ansi2knr.c
<br>
gs/jpeg/cderror.h
<br>
gs/jpeg/cdjpeg.h
<br>
gs/jpeg/change.log
<br>
gs/jpeg/cjpeg.1
<br>
gs/jpeg/cjpeg.c
<br>
gs/jpeg/ckconfig.c
<br>
gs/jpeg/coderules.doc
<br>
gs/jpeg/coderules.txt
<br>
gs/jpeg/config.guess
<br>
gs/jpeg/config.sub
<br>
gs/jpeg/configure
<br>
gs/jpeg/configure.ac
<br>
gs/jpeg/depcomp
<br>
gs/jpeg/djpeg.1
<br>
gs/jpeg/djpeg.c
<br>
gs/jpeg/example.c
<br>
gs/jpeg/filelist.doc
<br>
gs/jpeg/filelist.txt
<br>
gs/jpeg/install-sh
<br>
gs/jpeg/install.doc
<br>
gs/jpeg/install.txt
<br>
gs/jpeg/jaricom.c
<br>
gs/jpeg/jcapimin.c
<br>
gs/jpeg/jcarith.c
<br>
gs/jpeg/jccoefct.c
<br>
gs/jpeg/jcdctmgr.c
<br>
gs/jpeg/jchuff.c
<br>
gs/jpeg/jchuff.h
<br>
gs/jpeg/jcinit.c
<br>
gs/jpeg/jcmainct.c
<br>
gs/jpeg/jcmarker.c
<br>
gs/jpeg/jcmaster.c
<br>
gs/jpeg/jconfig.bcc
<br>
gs/jpeg/jconfig.cfg
<br>
gs/jpeg/jconfig.dj
<br>
gs/jpeg/jconfig.doc
<br>
gs/jpeg/jconfig.mac
<br>
gs/jpeg/jconfig.manx
<br>
gs/jpeg/jconfig.mc6
<br>
gs/jpeg/jconfig.sas
<br>
gs/jpeg/jconfig.st
<br>
gs/jpeg/jconfig.txt
<br>
gs/jpeg/jconfig.vc
<br>
gs/jpeg/jconfig.vms
<br>
gs/jpeg/jconfig.wat
<br>
gs/jpeg/jcparam.c
<br>
gs/jpeg/jcphuff.c
<br>
gs/jpeg/jcprepct.c
<br>
gs/jpeg/jcsample.c
<br>
gs/jpeg/jctrans.c
<br>
gs/jpeg/jdapimin.c
<br>
gs/jpeg/jdapistd.c
<br>
gs/jpeg/jdarith.c
<br>
gs/jpeg/jdatadst.c
<br>
gs/jpeg/jdatasrc.c
<br>
gs/jpeg/jdcoefct.c
<br>
gs/jpeg/jdct.h
<br>
gs/jpeg/jddctmgr.c
<br>
gs/jpeg/jdhuff.c
<br>
gs/jpeg/jdhuff.h
<br>
gs/jpeg/jdinput.c
<br>
gs/jpeg/jdmainct.c
<br>
gs/jpeg/jdmarker.c
<br>
gs/jpeg/jdmaster.c
<br>
gs/jpeg/jdphuff.c
<br>
gs/jpeg/jdsample.c
<br>
gs/jpeg/jdtrans.c
<br>
gs/jpeg/jerror.h
<br>
gs/jpeg/jfdctflt.c
<br>
gs/jpeg/jfdctfst.c
<br>
gs/jpeg/jfdctint.c
<br>
gs/jpeg/jidctflt.c
<br>
gs/jpeg/jidctint.c
<br>
gs/jpeg/jidctred.c
<br>
gs/jpeg/jmorecfg.h
<br>
gs/jpeg/jpegint.h
<br>
gs/jpeg/jpeglib.h
<br>
gs/jpeg/jpegtran.1
<br>
gs/jpeg/jpegtran.c
<br>
gs/jpeg/jutils.c
<br>
gs/jpeg/jversion.h
<br>
gs/jpeg/libjpeg.doc
<br>
gs/jpeg/libjpeg.map
<br>
gs/jpeg/libjpeg.txt
<br>
gs/jpeg/ltconfig
<br>
gs/jpeg/ltmain.sh
<br>
gs/jpeg/makcjpeg.st
<br>
gs/jpeg/makdjpeg.st
<br>
gs/jpeg/makeadsw.vc6
<br>
gs/jpeg/makeapps.ds
<br>
gs/jpeg/makeasln.v10
<br>
gs/jpeg/makecdep.vc6
<br>
gs/jpeg/makecdsp.vc6
<br>
gs/jpeg/makecfil.v10
<br>
gs/jpeg/makecmak.vc6
<br>
gs/jpeg/makecvcx.v10
<br>
gs/jpeg/makeddep.vc6
<br>
gs/jpeg/makeddsp.vc6
<br>
gs/jpeg/makedfil.v10
<br>
gs/jpeg/makedmak.vc6
<br>
gs/jpeg/makedvcx.v10
<br>
gs/jpeg/makefile.ansi
<br>
gs/jpeg/makefile.bcc
<br>
gs/jpeg/makefile.cfg
<br>
gs/jpeg/makefile.dj
<br>
gs/jpeg/makefile.manx
<br>
gs/jpeg/makefile.mc6
<br>
gs/jpeg/makefile.mms
<br>
gs/jpeg/makefile.sas
<br>
gs/jpeg/makefile.unix
<br>
gs/jpeg/makefile.vc
<br>
gs/jpeg/makefile.vms
<br>
gs/jpeg/makefile.wat
<br>
gs/jpeg/makejdep.vc6
<br>
gs/jpeg/makejdsp.vc6
<br>
gs/jpeg/makejdsw.vc6
<br>
gs/jpeg/makejfil.v10
<br>
gs/jpeg/makejmak.vc6
<br>
gs/jpeg/makejsln.v10
<br>
gs/jpeg/makejvcx.v10
<br>
gs/jpeg/makelib.ds
<br>
gs/jpeg/makeproj.mac
<br>
gs/jpeg/makerdep.vc6
<br>
gs/jpeg/makerdsp.vc6
<br>
gs/jpeg/makerfil.v10
<br>
gs/jpeg/makermak.vc6
<br>
gs/jpeg/makervcx.v10
<br>
gs/jpeg/maketdep.vc6
<br>
gs/jpeg/maketdsp.vc6
<br>
gs/jpeg/maketfil.v10
<br>
gs/jpeg/maketmak.vc6
<br>
gs/jpeg/maketvcx.v10
<br>
gs/jpeg/makewdep.vc6
<br>
gs/jpeg/makewdsp.vc6
<br>
gs/jpeg/makewfil.v10
<br>
gs/jpeg/makewmak.vc6
<br>
gs/jpeg/makewvcx.v10
<br>
gs/jpeg/makljpeg.st
<br>
gs/jpeg/maktjpeg.st
<br>
gs/jpeg/missing
<br>
gs/jpeg/rdbmp.c
<br>
gs/jpeg/rdjpgcom.1
<br>
gs/jpeg/rdjpgcom.c
<br>
gs/jpeg/rdppm.c
<br>
gs/jpeg/rdswitch.c
<br>
gs/jpeg/structure.doc
<br>
gs/jpeg/structure.txt
<br>
gs/jpeg/testimg.bmp
<br>
gs/jpeg/testimg.jpg
<br>
gs/jpeg/testimg.ppm
<br>
gs/jpeg/testimgp.jpg
<br>
gs/jpeg/transupp.c
<br>
gs/jpeg/transupp.h
<br>
gs/jpeg/usage.doc
<br>
gs/jpeg/usage.txt
<br>
gs/jpeg/wizard.doc
<br>
gs/jpeg/wizard.txt
<br>
gs/jpeg/wrppm.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-26 23:12:38 -0700></a>
2011-06-26 23:12:38 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5b7a917fa6d092f76a0400e1bce70d02b8b724f1">5b7a917fa6d092f76a0400e1bce70d02b8b724f1</a>
<blockquote>
<br>
Fix for compiler complaint.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/gsicc_manage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-25 11:07:25 -0700></a>
2011-06-25 11:07:25 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f4e1d4b280f6e6ff73d630e2b103a1a6b50c03d9">f4e1d4b280f6e6ff73d630e2b103a1a6b50c03d9</a>
<blockquote>
<br>
Fix for icc directory and icc device profile initialization.
<br>
<br>
gs/base/gscms.h
<br>
gs/base/gsdevice.c
<br>
gs/base/gsdparam.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/base/lib.mak
<br>
gs/psi/zdevice.c
<br>
pcl/pctop.c
<br>
psi/psitop.c
<br>
pxl/pxpthr.c
<br>
pxl/pxtop.c
<br>
svg/svgtop.c
<br>
xps/xpstop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-24 18:46:51 +0100></a>
2011-06-24 18:46:51 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7af1ebacdb9947ea5197523bcda7764431769e8f">7af1ebacdb9947ea5197523bcda7764431769e8f</a>
<blockquote>
<br>
Add copy_plane to rop source device.
<br>
<br>
This uses 'creative engineering' (aka a blatant hack) to allow copy_color
<br>
to be implemented in the "rop source" device.
<br>
<br>
We implement a copy_plane entrypoint for the rop source device, that
<br>
does exactly the same as copy_color, except that it abuses the lop
<br>
value passed to the gx_device_color_fill_rectangle by setting a new
<br>
bit (lop_planar) and pickling the plane number into the high bits.
<br>
<br>
This is detected in mem_planar_strip_copy_rop and unpicked to a call
<br>
to the appropriate plane.
<br>
<br>
Care must be taken when doing rops on the planar device, as
<br>
processing any rop on the device that involves 'D' calls get_bit_rectangle
<br>
which can cause a call to convert from planar to chunky if mishandled.
<br>
The solution is to ensure that we always remove our get_bits_rectangle
<br>
implementation when passing on a ropping call.
<br>
<br>
gs/base/gdevmpla.c
<br>
gs/base/gdevrops.c
<br>
gs/base/gsropt.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-24 17:38:55 +0100></a>
2011-06-24 17:38:55 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c927bb3e177b5b34ebb1b1f7fa2d9669614fbaf">0c927bb3e177b5b34ebb1b1f7fa2d9669614fbaf</a>
<blockquote>
<br>
Bug 692274: handle vastly different magnitudes in x/y scale
<br>
<br>
If the difference in the scale on the x and y axes is large
<br>
(in this case, a factor of 1000), the value scaling we do
<br>
to pass into Freetype can run over/under flow when applied
<br>
to both. The solution is to apply the value scaling
<br>
separately for x and y axes. But the quality is very
<br>
marginally better when the two are scaled together, so we
<br>
do that normally, and only fall back to the separate handling
<br>
when the x and y scales differ by more than 512.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/fapi_ft.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-24 12:11:48 +0100></a>
2011-06-24 12:11:48 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=90324e2c6466978f3c01e4a5a3c27d916b9ba9fa">90324e2c6466978f3c01e4a5a3c27d916b9ba9fa</a>
<blockquote>
<br>
Fix 'aux' cluster breakages. Move aux into obj.
<br>
<br>
Move aux directories into the appropriate obj directories.
<br>
Makes cleaning easier, and is neater overall.
<br>
<br>
Also fix some unrelated problems with cleaning in the msvc builds.
<br>
<br>
common/msvc_top.mak
<br>
common/pcdefs.mak
<br>
gs/base/all-arch.mak
<br>
gs/psi/msvc.mak
<br>
gs/psi/os2.mak
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-23 12:53:01 -0600></a>
2011-06-23 12:53:01 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7f2d55272963b039a472adbd26bb9a111e5d31ac">7f2d55272963b039a472adbd26bb9a111e5d31ac</a>
<blockquote>
<br>
Use filenames instead of stdin and stdout.
<br>
<br>
The original example c programs used stdin and stdout instead of
<br>
reading directly from files. The C programs were changed to use files
<br>
but the associated shell script wasn't updated.
<br>
<br>
tools/GOT/dotags.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 21:39:01 +0100></a>
2011-06-22 21:39:01 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ca0f4ff4a0df386dd4d494a418f09336d06c2451">ca0f4ff4a0df386dd4d494a418f09336d06c2451</a>
<blockquote>
<br>
Cross compilation (AUX) changes to ghostscript and ghostpdl.
<br>
<br>
Introduce a new 'aux' directory and appropriate defines to allow
<br>
easier cross-compilation of gs/ghostpdl.
<br>
<br>
common/gccdefs.mak
<br>
common/generic.mak
<br>
common/msvc_top.mak
<br>
common/ugcc_top.mak
<br>
gs/base/Makefile.in
<br>
gs/base/all-arch.mak
<br>
gs/base/gs.mak
<br>
gs/base/lib.mak
<br>
gs/base/msvccmd.mak
<br>
gs/base/msvctail.mak
<br>
gs/base/unix-aux.mak
<br>
gs/base/unix-end.mak
<br>
gs/base/zlib.mak
<br>
gs/psi/msvc.mak
<br>
gs/psi/os2.mak
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
pl/pl.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 20:05:15 +0100></a>
2011-06-22 20:05:15 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3b3261eca08cd73ca355b28fe5125c98d411820d">3b3261eca08cd73ca355b28fe5125c98d411820d</a>
<blockquote>
<br>
Bug 692297: reinstate the proper way to release FT glyphs.
<br>
<br>
FT_Glyph_Done is the correct method for freeing both bitmap and
<br>
outline glyphs from Freetype.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/fapi_ft.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 10:46:18 -0700></a>
2011-06-22 10:46:18 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f8c4663d5108ca0b7416bf35ba37a8bb63f0b8ed">f8c4663d5108ca0b7416bf35ba37a8bb63f0b8ed</a>
<blockquote>
<br>
Improve documentation about gsapi_set_poll
<br>
<br>
gs/doc/API.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 10:17:32 -0700></a>
2011-06-22 10:17:32 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b28982145ccdea3a39f7ad13d7f5c8a00f14f83d">b28982145ccdea3a39f7ad13d7f5c8a00f14f83d</a>
<blockquote>
<br>
Replace previous commit file with smaller file.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/examples/text_graphic_image.pdf
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 10:12:33 -0700></a>
2011-06-22 10:12:33 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=314d8b86434396afe96ce915dbb1cb0ff01b2047">314d8b86434396afe96ce915dbb1cb0ff01b2047</a>
<blockquote>
<br>
Addition of simple example file with text graphic and image objects.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/examples/text_graphic_image.pdf
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-22 09:05:28 -0700></a>
2011-06-22 09:05:28 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e3def0b758231cd1c5c0510945cef0dd3d938393">e3def0b758231cd1c5c0510945cef0dd3d938393</a>
<blockquote>
<br>
Support for fast thresholding to CMYK planar devices
<br>
<br>
Code works for various orientations for color as well as indexed (mono) images.
<br>
There is an inversion (polarity) issue remaining to track down as well as one potential
<br>
rendering issue during the buffer clean up with landscape images. These
<br>
will be resolved shortly. For now, code is sufficiently complete to begin
<br>
timing testing and optimizations. To use specify
<br>
<br>
-dCOLORSCREEN -sDEVICE=plank
<br>
<br>
and enable processing of color images by setting use_fast_thresh = true
<br>
on line 67 in gxicolor.c
<br>
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxht_thresh.h
<br>
gs/base/gxicolor.c
<br>
gs/base/gxidata.c
<br>
gs/base/gximono.c
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-21 18:52:03 +0100></a>
2011-06-21 18:52:03 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fef629cab877b0bbf4f86777f37038d1f37de838">fef629cab877b0bbf4f86777f37038d1f37de838</a>
<blockquote>
<br>
Fix cut/paste tiffscaled typo in docs.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/doc/Devices.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-21 16:45:52 +0100></a>
2011-06-21 16:45:52 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=368e14c73337b42a24299445a660f029d2c26861">368e14c73337b42a24299445a660f029d2c26861</a>
<blockquote>
<br>
Reinstate the configure check for cups/raster.h.
<br>
<br>
Several Linux distributions seem to have neglected to make
<br>
the cups development package depend on the cupsimage
<br>
development package, but we need both for the cups device.
<br>
<br>
No cluster differences expected.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/configure.ac
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-21 12:31:45 +0100></a>
2011-06-21 12:31:45 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=dfc53c791d8a121273bd22bbc0c04fd3ed375cdf">dfc53c791d8a121273bd22bbc0c04fd3ed375cdf</a>
<blockquote>
<br>
Bug #692218 Create comatible CIDSet
<br>
<br>
The fix in Bug 692218 did not (apparently) work for the SolidWorks
<br>
PDF/A validator. This patch sets the number of entries in a CIDSet to
<br>
be the number of glyphs in the font program, and makes the number of entries
<br>
in a CIDToGIDMap the same.
<br>
<br>
Together with the commit 27b740 here:
<br>
<br>
http://ghostscript.com/pipermail/gs-cvs/2011-June/013024.html
<br>
<br>
this now seems to work correctly.
<br>
<br>
gs/base/gdevpdtd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-21 12:08:58 +0100></a>
2011-06-21 12:08:58 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=136934cf60977e5ca6c1a77f8fd4d30a8512b206">136934cf60977e5ca6c1a77f8fd4d30a8512b206</a>
<blockquote>
<br>
Allow pdfwrite and ps2write to use 64-bit file pointers raising the 4Gb file limit.
<br>
<br>
Bug #692290 ps2write and pdfwrite have been using gp_open_scratch_file,
<br>
fseek and ftell, which limit the size of a temporary file to 4GB. This
<br>
commit uses gp_open_scratch_file_64, gp_ftell_64 and gp_fseek_64 whcih
<br>
should allow 64-bit file access on systems which support it.
<br>
<br>
Unfortunately I haven't been able to concoct a test for this, so the
<br>
64-bit code is not tested. However it continues to work normally with the
<br>
clustre regression tests.
<br>
<br>
gs/base/gdevpdf.c
<br>
gs/base/gdevpdfo.c
<br>
gs/base/gdevpdfp.c
<br>
gs/base/gdevpdfu.c
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpsu.c
<br>
gs/base/gdevpsu.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-20 17:57:46 +0100></a>
2011-06-20 17:57:46 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=da1152191fb97516b82303ab187b08c971bfd360">da1152191fb97516b82303ab187b08c971bfd360</a>
<blockquote>
<br>
Fix Bug 692057, 'hang' while converting mask->rectangle list.
<br>
<br>
Previously the clip accumulator code would attempt to add a new
<br>
rectangle would always search backwards from the tail of the
<br>
list when looking for a new place to insert a rectangle.
<br>
<br>
This works well when rectangles are coming in at (or near) the
<br>
end of the list. For cases where this doesn't happen we quickly
<br>
break down to O(n^2) operation.
<br>
<br>
The example file on the bug shows one such circumstance, where
<br>
we process a landscape image; this results in the masks coming
<br>
in as '8 bit columns'. The first column accumulates nicely,
<br>
subsequent ones do not.
<br>
<br>
The fix here, as suggested by Chris Liddell, is to store the
<br>
'last insert point', and to search from that. Locality of
<br>
reference should pay off here and lead to much improved
<br>
performance. Certainly tests with the example file show that we
<br>
complete within 2.5 minutes on my machine, compared to 1.5 minutes
<br>
with -dMaxPatternBitmap=32000000, and an unknown time over 5 minutes
<br>
with the old code.
<br>
<br>
gs/base/gxacpath.c
<br>
gs/base/gxcpath.c
<br>
gs/base/gxcpath.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-20 09:56:37 -0600></a>
2011-06-20 09:56:37 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=19f10a95bae408363a77f5a2fd05f69350269cb7">19f10a95bae408363a77f5a2fd05f69350269cb7</a>
<blockquote>
<br>
Merge branch 'deprecate_crd_and_cleanup'
<br>
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 00:15:50 -0600></a>
2011-06-03 00:15:50 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=476256194a8886951885a4e9ce71972504161192">476256194a8886951885a4e9ce71972504161192</a>
<blockquote>
<br>
Deprecate CRDs in PCL
<br>
<br>
pcl/pccrd.c
<br>
pcl/pccrd.h
<br>
pcl/pcdraw.c
<br>
pcl/pcfrgrnd.c
<br>
pcl/pcfrgrnd.h
<br>
pcl/pcl.mak
<br>
pcl/pcommand.c
<br>
pcl/pcpalet.c
<br>
pcl/pcpalet.h
<br>
pcl/pcpatrn.c
<br>
pcl/pcpattyp.h
<br>
pcl/pcstate.h
<br>
pcl/pctop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-02 16:55:55 -0600></a>
2011-06-02 16:55:55 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1c1c457a4262f1ef539ec75792c57494c8a746b2">1c1c457a4262f1ef539ec75792c57494c8a746b2</a>
<blockquote>
<br>
Trivial warning fixes
<br>
<br>
pcl/pcindxed.c
<br>
pcl/pcpage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-02 14:18:35 -0600></a>
2011-06-02 14:18:35 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=854a16b3eefc0d3b434f446db84e3a9317eda49e">854a16b3eefc0d3b434f446db84e3a9317eda49e</a>
<blockquote>
<br>
Make page size procedure robust against paper size table changes.
<br>
<br>
pcl/pcpage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-01 11:52:40 -0600></a>
2011-06-01 11:52:40 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b89ab3397895d41818170a7f4ea893bbb1580e79">b89ab3397895d41818170a7f4ea893bbb1580e79</a>
<blockquote>
<br>
Clean up warnings and problems identified with static analysis.
<br>
<br>
pcl/pcstatus.c
<br>
pcl/pctext.c
<br>
pcl/pctop.c
<br>
pcl/pcuptrn.c
<br>
pcl/pgdraw.c
<br>
pcl/pglabel.c
<br>
pcl/pgvector.c
<br>
pl/pjparse.c
<br>
pl/plchar.c
<br>
pxl/pxfont.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 14:30:10 -0600></a>
2011-05-27 14:30:10 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=22b24ea5e3006b4cdc0394c9360423f02b6d3bf9">22b24ea5e3006b4cdc0394c9360423f02b6d3bf9</a>
<blockquote>
<br>
Code cleanup directed by static analysis tools.
<br>
<br>
Changes function not properly made static, removes unread and unused
<br>
variables.
<br>
<br>
pxl/pxpthr.c
<br>
pxl/pxsessio.c
<br>
pxl/pxtop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 13:48:38 -0600></a>
2011-05-27 13:48:38 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=00d4d232283b2eb6c9820618d04b5d4c9eb8a7b3">00d4d232283b2eb6c9820618d04b5d4c9eb8a7b3</a>
<blockquote>
<br>
Makes procedure static.
<br>
<br>
pcl/pctop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 13:45:03 -0600></a>
2011-05-27 13:45:03 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d98ceb81d6d45f4a2bc49b2f28dd16fe94fea601">d98ceb81d6d45f4a2bc49b2f28dd16fe94fea601</a>
<blockquote>
<br>
Fixes static analyzer discovered logic error.
<br>
<br>
With an array size of 0, the line dash pattern should not be accessed.
<br>
<br>
pxl/pxgstate.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-20 15:43:34 +0100></a>
2011-06-20 15:43:34 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9d0ded9edc84704afd3724b3c7810c035dc4e699">9d0ded9edc84704afd3724b3c7810c035dc4e699</a>
<blockquote>
<br>
Permit the calculation of CIDSet and CIDToGIDMap size, for PDF/A validation
<br>
<br>
The SolidWorks PDF/A validator complains about the CIDSet we produce for
<br>
embedded TrueType fonts, converted to CIDFonts, when creating PDF/A files.
<br>
<br>
I'm still not exactly sure what its complaining about but I'm working with
<br>
our customer to resolve this. In the meantime, this code makes it easier
<br>
to play with teh emission of CIDSet and CIDToGIDMap.
<br>
<br>
gs/base/gdevpdtb.c
<br>
gs/base/gdevpdtd.c
<br>
gs/base/gdevpdtf.c
<br>
gs/base/gdevpdtf.h
<br>
gs/base/gdevpdtw.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-20 11:17:26 +0100></a>
2011-06-20 11:17:26 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=27b7404218093f3d1cf414b52721c8a24dbc2746">27b7404218093f3d1cf414b52721c8a24dbc2746</a>
<blockquote>
<br>
ps2write output crashes with limitcheck error after converting large documents
<br>
<br>
Adopting patch from 'Steve166' (bug # 692172) with a little gratuitous
<br>
reformatting. (note that opdfread.ps is now compiled in as opdfread.h)
<br>
<br>
This converts the directory of objects from an array to a dictionary of dictionaries
<br>
which allows for a more or less unlimited (64k*64k) number of objects.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/opdfread.h
<br>
gs/lib/opdfread.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-20 03:12:22 -0700></a>
2011-06-20 03:12:22 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0700f67de273e92f06a1e4a0e67e3d023fc29442">0700f67de273e92f06a1e4a0e67e3d023fc29442</a>
<blockquote>
<br>
Added dependencies to various makefiles to fix parallel make.
<br>
<br>
gs/base/lib.mak
<br>
gs/contrib/contrib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 23:20:30 +0000></a>
2011-06-17 23:20:30 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=29c7111f3fc5eb4878e875674750c79b1bd85bcc">29c7111f3fc5eb4878e875674750c79b1bd85bcc</a>
<blockquote>
<br>
Add gdevplan.c to ghostscript visual studio project.
<br>
<br>
Should have done this earlier, but forgot. CLUSTER UNTESTED as windows
<br>
only.
<br>
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 21:08:49 +0100></a>
2011-06-17 21:08:49 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=75e1e089f68480b68bb9548ba1e6cf0b9d0f73e0">75e1e089f68480b68bb9548ba1e6cf0b9d0f73e0</a>
<blockquote>
<br>
Fix windows compile breakage; missing definition of int64_t.
<br>
<br>
Simply add a #include "stdint_.h" to the top of a file; breakage
<br>
presumably caused by the dependency changes done earlier.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/base/gstparam.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 12:34:26 -0700></a>
2011-06-17 12:34:26 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b058182285c21ff142e46997fd3b8510b6993d66">b058182285c21ff142e46997fd3b8510b6993d66</a>
<blockquote>
<br>
Fix for improper offset in contone data. Halftone project only.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/gxicolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 12:32:11 -0700></a>
2011-06-17 12:32:11 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=096e21027a7ff99cf0e3d0d1e24dac29b2d69f12">096e21027a7ff99cf0e3d0d1e24dac29b2d69f12</a>
<blockquote>
<br>
Fix for Bug 692286 - Image too light -- not fully opaque
<br>
<br>
when I did some of the work on the compositor queue I had set things up so that the
<br>
update of the blend parameters would be written only into the same bands as the group
<br>
push. The approach of writing only in the bands of the group bounding box will not
<br>
work in general, for example if we have nested groups that only partially overlap. The
<br>
solution is that we have to write the blend parameters in all bands.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 10:37:44 -0700></a>
2011-06-17 10:37:44 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ee45ee90570975275ad6b826b377d6852b651b6a">ee45ee90570975275ad6b826b377d6852b651b6a</a>
<blockquote>
<br>
Fix bug 692254 performance problem with pattern that bbox overflowed fixed.
<br>
<br>
The compute_inst_matrix relied on the gx_translate_to_fixed but when the
<br>
tx, ty was outside the valid area (txy_fixed_valid false) the float2fixed
<br>
would overflow and change the sign. This killed the performance when the
<br>
j0, i0 loop in tile by steps calculated a VERY large loop range from large
<br>
negative to large positive value.
<br>
<br>
The gx_path_translate may not be needed for in this path, but it is included
<br>
since that was in the gx_path_translate_to_fixed. Quick check showed that the
<br>
path is empty as expected, but the call is harmless.
<br>
<br>
gs/base/gsptype1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 19:43:09 +0100></a>
2011-06-17 19:43:09 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9dd7c86d0619a9293f6476092765b86abab3baf1">9dd7c86d0619a9293f6476092765b86abab3baf1</a>
<blockquote>
<br>
Move planar dev_spec_op into core planar device.
<br>
<br>
Rather than having plib and plan devices provide a dev_spec_op that
<br>
responds to gxdso_is_native_planar, put the responsibility for this
<br>
into the core planar memory device.
<br>
<br>
This not only simplifies the code, it actually fixes a problem whereby
<br>
the memory device was overwriting it with the default.
<br>
<br>
gs/base/gdevmpla.c
<br>
gs/base/gdevplan.c
<br>
gs/base/gdevplib.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 09:55:57 -0700></a>
2011-06-03 09:55:57 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a2a0b404be0365a2f789e154733ab51db3b3aa99">a2a0b404be0365a2f789e154733ab51db3b3aa99</a>
<blockquote>
<br>
Add an example that uses PostScript to do simple transparency.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/examples/transparency_example.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 17:53:53 +0000></a>
2011-06-17 17:53:53 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f80bc7001e2e250348a6db82aa50d25d18848b66">f80bc7001e2e250348a6db82aa50d25d18848b66</a>
<blockquote>
<br>
Enable plan devices in non-windows builds.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/unix-gcc.mak
<br>
main/pcl6_gcc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 17:11:27 +0000></a>
2011-06-17 17:11:27 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4ed123916f3f3373d5648011ea03c3cd969e00c1">4ed123916f3f3373d5648011ea03c3cd969e00c1</a>
<blockquote>
<br>
Fix for Bug 692285: phase shift in patterns in long image.
<br>
<br>
The phase for a pattern mask was being held in a short, rather
<br>
than in an int. Unsurprisingly this caused problems when the
<br>
phase overflowed. Simple fix is to use an int instead.
<br>
<br>
Cluster testing shows no changes.
<br>
<br>
gs/base/gsdcolor.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 13:21:05 +0100></a>
2011-06-17 13:21:05 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b8326c843f0d14b55b7b5cc3694977df73d4a0e4">b8326c843f0d14b55b7b5cc3694977df73d4a0e4</a>
<blockquote>
<br>
Remove circular dependency involving gscms.h.
<br>
<br>
Robin Watts identified that gscms.h relies on gsutil.h
<br>
which relies on gxstate.h, which relies on gscspace.h which
<br>
relies on gscms.h
<br>
<br>
Adding a couple of opaque declarations to gscspace.h (along with
<br>
relevant declaration guards) removes this circular dependency.
<br>
<br>
No cluster differences.
<br>
<br>
gs/base/gscms.h
<br>
gs/base/gscspace.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 09:43:21 +0100></a>
2011-06-17 09:43:21 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=af98a55ac576545d9495cef0884462b7b2fb8205">af98a55ac576545d9495cef0884462b7b2fb8205</a>
<blockquote>
<br>
Tidy up some of the GS<->FT number conversions.
<br>
<br>
gs/psi/fapi_ft.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 09:49:14 +0000></a>
2011-06-17 09:49:14 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7a8971739d33a18dd7d433adcabf2e2dea5b6ba8">7a8971739d33a18dd7d433adcabf2e2dea5b6ba8</a>
<blockquote>
<br>
New lib.mak dependency checker, and update lib.mak using it.
<br>
<br>
Invoke gs/toolbin/checkdeps.pl and it performs rudimentary
<br>
and easily confused checks on the dependencies in lib.mak.
<br>
It may be simple, but it spots MANY problems, the important
<br>
of which are fixed here.
<br>
<br>
It gets easily confused by files not being in the expected
<br>
paths (but these are easy for an operator to spot and ignore).
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gxstroke.c
<br>
gs/base/lib.mak
<br>
gs/toolbin/checkdeps.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-17 09:30:32 +0100></a>
2011-06-17 09:30:32 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2cd56d061e655569ec473d605caae9552355a59f">2cd56d061e655569ec473d605caae9552355a59f</a>
<blockquote>
<br>
Bug 689546: Add clist.dev to the core lib dependencies.
<br>
<br>
I previously noted that the clist device is essentially always required
<br>
now, but I used a less than ideal method to address it: having it as
<br>
a dependency of the gdevprn.o object.
<br>
<br>
The correct solution, done here, is to include the clist device in the
<br>
libs.dev file, thus making it a direct requirement of the core lib.
<br>
<br>
No cluster differences.
<br>
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-16 12:11:41 -0700></a>
2011-06-16 12:11:41 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=449e9c8909e5e0cbf92497f1d95bfe60e8e89f6e">449e9c8909e5e0cbf92497f1d95bfe60e8e89f6e</a>
<blockquote>
<br>
Addition of copy_plane command for clist
<br>
<br>
The command closely mimics the copy_mono command and as such shares its
<br>
command operator. With a bit of work it would be possible to get some minor
<br>
code reduction but the recursive nature of the functions makes it a bit
<br>
tricky.
<br>
<br>
gs/base/gxcldev.h
<br>
gs/base/gxclimag.c
<br>
gs/base/gxclist.c
<br>
gs/base/gxclist.h
<br>
gs/base/gxclrast.c
<br>
gs/base/gxclrect.c
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-16 14:55:07 +0100></a>
2011-06-16 14:55:07 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e34770c45cefbe6c4cf2d564269ff849282dd10f">e34770c45cefbe6c4cf2d564269ff849282dd10f</a>
<blockquote>
<br>
Second attempt to add plan devices.
<br>
<br>
Add new 'plan' family of planar devices.
<br>
<br>
Equivalent to the plib devices, but without the necessity to always band,
<br>
and not using the band donor.
<br>
<br>
From the end users point of view, these output ppm etc and are probably
<br>
therefore not that useful as is. They serve the twin purposes of allowing
<br>
us to test planar output, and to act as a basis for devices that need
<br>
planar non-interlaced output.
<br>
<br>
The development of these devices showed a problem with
<br>
gx_get_bits_return_pointer in the planar case. When called, it would
<br>
assume that the start of the first line of the first plane was at
<br>
'base', and that subsequent planes could be reached by adding
<br>
raster * height to it. Unfortunately, clist_rasterize_lines resets the
<br>
buffer device at the end, so that height is unrelated (often 1).
<br>
<br>
The fix implemented here is to change gx_get_bits_return_pointer to take
<br>
a pointer to the line pointers, rather than a direct base value. This
<br>
means we can always find the subsequent planes correctly.
<br>
<br>
In my initial attempt at this, I broke the code by failing to notice that
<br>
gdevmem.c passes the same base pointer to gx_get_bits_copy. Fixed here.
<br>
Cluster testing shows it be OK this time around.
<br>
<br>
gs/base/devs.mak
<br>
gs/base/gdevdgbr.c
<br>
gs/base/gdevmem.c
<br>
gs/base/gdevmpla.c
<br>
gs/base/gdevplan.c
<br>
gs/base/gdevplib.c
<br>
gs/base/gxgetbit.h
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-16 11:49:18 +0000></a>
2011-06-16 11:49:18 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=11e242eae4d9c78a556b030ef5e69cb0c94e0d48">11e242eae4d9c78a556b030ef5e69cb0c94e0d48</a>
<blockquote>
<br>
Backout previous commit of 'plan' devices.
<br>
<br>
The previous commit caused large numbers of changes. Back it out while
<br>
I investigate why.
<br>
<br>
gs/base/devs.mak
<br>
gs/base/gdevdgbr.c
<br>
gs/base/gdevmem.c
<br>
gs/base/gdevmpla.c
<br>
gs/base/gdevplan.c
<br>
gs/base/gdevplib.c
<br>
gs/base/gxgetbit.h
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-16 10:00:33 +0100></a>
2011-06-16 10:00:33 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=583e964a55bf50dc28d1467fd9e9bad7bc03849a">583e964a55bf50dc28d1467fd9e9bad7bc03849a</a>
<blockquote>
<br>
Add new 'plan' family of planar devices.
<br>
<br>
Equivalent to the plib devices, but without the necessity to always band,
<br>
and not using the band donor.
<br>
<br>
From the end users point of view, these output ppm etc and are probably
<br>
therefore not that useful as is. They serve the twin purposes of allowing
<br>
us to test planar output, and to act as a basis for devices that need
<br>
planar non-interlaced output.
<br>
<br>
gs/base/devs.mak
<br>
gs/base/gdevdgbr.c
<br>
gs/base/gdevmem.c
<br>
gs/base/gdevmpla.c
<br>
gs/base/gdevplan.c
<br>
gs/base/gdevplib.c
<br>
gs/base/gxgetbit.h
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-14 18:56:03 +0100></a>
2011-06-14 18:56:03 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a36cd9f5c60607dfbc12caadb0987b89ecfa27e7">a36cd9f5c60607dfbc12caadb0987b89ecfa27e7</a>
<blockquote>
<br>
Update gx_path_print (and gx_path_dump) to output postscript.
<br>
<br>
Same information as before is output, just in a a slightly different
<br>
order. This means we can paste it back into a postscript file with
<br>
less editing.
<br>
<br>
CLUSTER_UNTESTED as this is never called in production code.
<br>
<br>
gs/base/gxpath.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-14 19:15:29 +0100></a>
2011-06-14 19:15:29 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c442d7d0d5b11addc39519b155b93b3677c11c4d">c442d7d0d5b11addc39519b155b93b3677c11c4d</a>
<blockquote>
<br>
Add memento.c/memento.h to VS project
<br>
<br>
Forgot to add these when they were created.
<br>
<br>
CLUSTER_UNTESTED as windows only.
<br>
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-16 09:56:47 +0100></a>
2011-06-16 09:56:47 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7de54e55e57f4046196c0909da247f98ef26b46d">7de54e55e57f4046196c0909da247f98ef26b46d</a>
<blockquote>
<br>
Extend the uuid change in commit g0b7cd7c to cover Instance UIDs as well as Document UIDs.
<br>
<br>
No differences expetced.
<br>
<br>
gs/base/gdevpdfe.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-15 19:36:31 +0100></a>
2011-06-15 19:36:31 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=45663bbeb798d7a851546a4d6ccf8954e16696ae">45663bbeb798d7a851546a4d6ccf8954e16696ae</a>
<blockquote>
<br>
(pdfwrite) Bug #692280 "Incorrect ToUnicode CMap when the input is a PDF with a 2-byte ToUnicode"
<br>
<br>
The code was handling Type 0 fonts as if they were type 1, which meant a maximum
<br>
of 256 entries. Fixed by treating them as TrueType CIDFonts (2 byte codes, maximum
<br>
64K entries)
<br>
<br>
This may need later testing with more extensive collections of conts, we possibly should treat them as regular CIDFotns.
<br>
<br>
gs/base/gdevpdte.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-15 12:18:16 -0400></a>
2011-06-15 12:18:16 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=10fad95042303b1996d8565a40d8ca4d5c4eed06">10fad95042303b1996d8565a40d8ca4d5c4eed06</a>
<blockquote>
<br>
Dump unchanged MediaBox and CropBox values.
<br>
<br>
Output unmodified values of /MediaBox and /CropBox attributes.
<br>
This is done on request from a customer, but should also benefit
<br>
every pdf_info.ps user. This change is not backward compatible.
<br>
<br>
gs/toolbin/pdf_info.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-15 01:53:26 -0400></a>
2011-06-15 01:53:26 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=28ab2c1fafd763c7ab1074c91bf217bbbc871fe7">28ab2c1fafd763c7ab1074c91bf217bbbc871fe7</a>
<blockquote>
<br>
Bug 691335: Fix Photoshop EPS separations.
<br>
<br>
Use DSC comments to get separation names. If the output device supports
<br>
separations (i.e. has big /MaxSeparations attribute), set /SeparationColorNames
<br>
accordingly. Fix DSC handler; make it ignore the comments after %%EndComments
<br>
to avoid handling of DSC comments in nested EPS documents. Drop strange
<br>
code that runs tint transform function when any of the colorant names is
<br>
is a standard name (Gray, Red, Cyan, ...).
<br>
<br>
gs/Resource/Init/gs_epsf.ps
<br>
gs/psi/zcolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-14 16:52:57 +0100></a>
2011-06-14 16:52:57 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0b7cd7ca121ac440d5607cc6795ba8bcd7c20c85">0b7cd7ca121ac440d5607cc6795ba8bcd7c20c85</a>
<blockquote>
<br>
(pdfwrite) Bug #692268 "pdfwrite sets xapMM:DocumentID incorrectly"
<br>
<br>
The XML emission in pdfwrite was simply pasting the UUID as a hex string,
<br>
whereas the spec says it must be a URI.
<br>
<br>
This change adds the 'uri:' which is required for compliance.
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevpdfe.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-26 10:58:31 +0100></a>
2011-05-26 10:58:31 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=cba939306ceacde74aac1d9b69ca6cf08ce1ebce">cba939306ceacde74aac1d9b69ca6cf08ce1ebce</a>
<blockquote>
<br>
Use correct enumerator for PCL type 3 fonts in pdfwrite
<br>
<br>
Part of the change for type 3 fonts from PCL used the wrong enumerator.
<br>
The code relies on a text enumerator actually being a show enumerator,
<br>
which is guaranteed true if we use the right one, but may not be if we
<br>
use the wrong one.
<br>
<br>
This didn't seem to be causing any problems, but fixed anyway.
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-11 20:52:20 -0400></a>
2011-06-11 20:52:20 -0400</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=49ae789184ebb094c29b14a6778e8fa823f6637a">49ae789184ebb094c29b14a6778e8fa823f6637a</a>
<blockquote>
<br>
Bug 691706: Keep page number with /View
<br>
<br>
If we have a View and a Page, but no matrix (not required if we have
<br>
a /View [/Fit]) then do not discard the page number but use it as a
<br>
/Page argument (adding one because pdfmark starts from page 1, not 0).
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-11 16:26:11 -0700></a>
2011-06-11 16:26:11 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=03bce08fdcb15702abf4cafbe8723dc8b9b7bd6f">03bce08fdcb15702abf4cafbe8723dc8b9b7bd6f</a>
<blockquote>
<br>
Fix for aliasing of icc link hash code
<br>
<br>
This fixes a problem that existed in the computation of the ICC
<br>
hash code. This was the source of the problem in Bug 692265 (bug fixed with
<br>
this commit in file gsicc_cache.c). Also some error checking code and
<br>
addition of code to handle the transfer function when doing the fast
<br>
thresholding of color images.
<br>
<br>
gs/base/gdevp14.c
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gsicc_lcms.c
<br>
gs/base/gxcmap.c
<br>
gs/base/gxcmap.h
<br>
gs/base/gxicolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-11 10:27:53 -0400></a>
2011-06-11 10:27:53 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4c6809dfa1c539d757c30f572922e05cd1436698">4c6809dfa1c539d757c30f572922e05cd1436698</a>
<blockquote>
<br>
Bug 692252: Trap contents stream errors
<br>
<br>
Run PDF operator streams in a stopped context. Stop processing of the
<br>
stream on error, but continue to process rest of the file. Remove a
<br>
hack that defined 'inf' as 0.
<br>
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-10 00:10:39 -0400></a>
2011-06-10 00:10:39 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f256d925aba7bd2c552e3598b5782bc3ab09cf4f">f256d925aba7bd2c552e3598b5782bc3ab09cf4f</a>
<blockquote>
<br>
Bug 692258: Search annots, forms, patterns for fonts.
<br>
<br>
Besides the contents, look into annotations to identify fonts used by
<br>
the PDF file. Add recursive enumeration of Form and Pattern resources.
<br>
<br>
gs/toolbin/pdf_info.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-09 16:07:15 +0100></a>
2011-06-09 16:07:15 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ce51b64c335d6c995c003497988d0327c64985cb">ce51b64c335d6c995c003497988d0327c64985cb</a>
<blockquote>
<br>
Add Sags unicode patch for gswin32c stdin/out.
<br>
<br>
Patch from Sags to read/write stdin/stdout as unicode and convert
<br>
to/from utf8 when passing to/reading from the core.
<br>
<br>
Once again, build with WINDOWS_NO_UNICODE to preserve old behaviour.
<br>
<br>
See bug 692770.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/psi/dwmainc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-09 16:11:00 +0100></a>
2011-06-09 16:11:00 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c39c030b850848540a5df1fc25c4dc76ee90040b">c39c030b850848540a5df1fc25c4dc76ee90040b</a>
<blockquote>
<br>
More unicode changes for gswin32
<br>
<br>
Taken on (most of) a patch from Russell Lang to dwtext.c, with bugfixes
<br>
to the changes I made yesterday. The bits of the patch I didn't take
<br>
on, were to do with running gswin32 as a true Unicode application.
<br>
<br>
Currently we are an ANSI application with a Unicode window. Moving to
<br>
be a true Unicode application may have knock on effects I am unsure of
<br>
(and would certainly leave us different to gswin32c.exe). I don't think
<br>
we lose anything by staying as we are.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/psi/dwtext.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-09 12:09:38 +0100></a>
2011-06-09 12:09:38 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=752397ab6f16aad4147d6e7101373edd7c9d14d5">752397ab6f16aad4147d6e7101373edd7c9d14d5</a>
<blockquote>
<br>
Bug 692263 spot and elide glyphs with zero dimensions.
<br>
<br>
A glyph with a zero scale in either dimension could cause divide by
<br>
zero errors in a number of places in the FAPI *interface* code
<br>
(that is: fapi_ft.c, fapiufst.c and fapibstm.c). So catch and handle
<br>
the case early by skipping such case. The wrinkle is charpath operations
<br>
which *must* create a path, even of zero dimensions.
<br>
<br>
No cluster differences.
<br>
<br>
gs/psi/fapi_ft.c
<br>
gs/psi/fapibstm.c
<br>
gs/psi/fapiufst.c
<br>
gs/psi/ifapi.h
<br>
gs/psi/zfapi.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-08 18:36:35 +0100></a>
2011-06-08 18:36:35 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=199498069233c98424567d22964dd1934c9f766e">199498069233c98424567d22964dd1934c9f766e</a>
<blockquote>
<br>
Windows gs console window unicode changes.
<br>
<br>
Changes to dwtext.c to allow unicode operation.
<br>
<br>
The window is created as a Unicode one, so we get unicode character codes
<br>
delivered to us as they are typed. We convert these incoming key codes
<br>
into utf8, as the gs core expects. Any output from the core is converted
<br>
from utf8 to unicode, and the window now displays unicode.
<br>
<br>
The net effect is that the window looks like it's behaving exactly like
<br>
a unix window does.
<br>
<br>
The copy and paste functions are updated to cut and paste unicode too.
<br>
<br>
As usual, building with WINDOWS_NO_UNICODE preserves existing behaviour
<br>
(useful for windows 95/98/me builds).
<br>
<br>
The sole difference in behaviour is that the copy function now removes
<br>
trailing blank lines from the output, as this is never what you want.
<br>
<br>
CLUSTER_UNTESTED as windows only changes.
<br>
<br>
gs/psi/dwtext.c
<br>
gs/psi/dwtext.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-08 14:55:28 +0100></a>
2011-06-08 14:55:28 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=afda147d56efff03ff6967a91a0436732d7b38fc">afda147d56efff03ff6967a91a0436732d7b38fc</a>
<blockquote>
<br>
Tweaks to windows makefiles.
<br>
<br>
Eliminate some noise during windows builds. Thanks to Norbert Janssen for
<br>
this.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/msvctail.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-08 10:05:21 +0100></a>
2011-06-08 10:05:21 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3367282be8da9713c0cd7a95a56c59a6b4e69a6e">3367282be8da9713c0cd7a95a56c59a6b4e69a6e</a>
<blockquote>
<br>
Add file missed from last nights commit, 232b1d3.
<br>
<br>
Forgot to add the new file :(
<br>
<br>
gs/base/gp_wutf8.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-07 15:25:57 -0700></a>
2011-06-07 15:25:57 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6a436e0f9992ab5734b21b796a02ed0976ba1d5b">6a436e0f9992ab5734b21b796a02ed0976ba1d5b</a>
<blockquote>
<br>
Work toward getting fast thresholding for color output devices and color input images
<br>
<br>
To make my life easier, this updates msvc.mak to include the planar devices.
<br>
Changes in image_render_mono_ht to work towards the case where the output device is not mono.
<br>
Minor fixes in gxicolor.c in the portion of code that steps through the planes.
<br>
Addition of copy_plan operations in gxht_thresh.c for CMYK planar devices.
<br>
Addition of clip_copy_plane for the clip device (thanks Robin Watts).
<br>
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxht_thresh.h
<br>
gs/base/gxicolor.c
<br>
gs/base/gximono.c
<br>
gs/base/lib.mak
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-08 00:02:44 +0100></a>
2011-06-08 00:02:44 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=232b1d36ad90b8d8be357033a80162fdd9de7aa8">232b1d36ad90b8d8be357033a80162fdd9de7aa8</a>
<blockquote>
<br>
More work on unicode handling under windows.
<br>
<br>
Continuing from commit 0ea739147, fix other issues, including:
<br>
<br>
* OpenPrinter calls changed to use OpenPrinterW.
<br>
* FindFirstFile/FindNextFile changed to use FindFirstFileW/FindNextFileW.
<br>
* gp_getenv windows specific registry lookups changed to use unicode
<br>
versions.
<br>
* GetProfileString changed to use GetProfileStringW.
<br>
* Add unicode changes to gswin32 as well as gswin32c.exe.
<br>
<br>
This hopefully concludes the bulk of the work on unicode support. Possible
<br>
areas to consider in future include:
<br>
<br>
* changing gswin32 so that cut and pasting operates in unicode
<br>
* make gswin32 display text in unicode
<br>
* modify stdin to go from unicode to utf8, and stdout to go from utf8
<br>
back to unicode.
<br>
<br>
I hope no idea if any of those are possible or not.
<br>
<br>
Testing seems to indicate that this all works OK, but I am not ideally
<br>
set up here.
<br>
<br>
For safety, I have introduced a WINDOWS_NO_UNICODE define. If this is
<br>
predefined during a build then this will cause the code to drop back to
<br>
the old mode of operation.
<br>
<br>
gs/base/gdevwpr2.c
<br>
gs/base/gp_msprn.c
<br>
gs/base/gp_mswin.c
<br>
gs/base/gp_mswin.h
<br>
gs/base/gp_ntfs.c
<br>
gs/base/gp_wgetv.c
<br>
gs/base/msvctail.mak
<br>
gs/base/windows_.h
<br>
gs/base/winlib.mak
<br>
gs/ghostscript.vcproj
<br>
gs/psi/dwmain.c
<br>
gs/psi/dwmainc.c
<br>
gs/psi/msvc.mak
<br>
pl/dwmainc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-06 22:13:07 -0400></a>
2011-06-06 22:13:07 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8b90a80fe86364c0b6c1cad12cfb241c66943c24">8b90a80fe86364c0b6c1cad12cfb241c66943c24</a>
<blockquote>
<br>
Bug 688064: Add AdjustWidth=WIDTH
<br>
<br>
Extend AdjustWidth option to support adjustment to any width. This option
<br>
now accepts the following values;
<br>
0 - no adjustment, the same as before
<br>
1 - low res fax adjustments, the same as before
<br>
>1 - adjust to the given width, regardless of the document width.
<br>
<br>
gs/base/gdevfax.c
<br>
gs/base/gdevpng.c
<br>
gs/base/gdevtifs.c
<br>
gs/base/gdevtifs.h
<br>
gs/base/gxdownscale.c
<br>
gs/base/gxdownscale.h
<br>
gs/base/minftrsz.c
<br>
gs/base/minftrsz.h
<br>
gs/doc/Devices.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-06 21:00:41 +0100></a>
2011-06-06 21:00:41 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f92a542b0475a12f4724d3e57f232cafbe17ce50">f92a542b0475a12f4724d3e57f232cafbe17ce50</a>
<blockquote>
<br>
Bug 691118: Fix radial shading bug
<br>
<br>
Bug 691118 describes a bug with radial shadings in a PDF file.
<br>
<br>
Back in r7982 (git 69a43b0) (16 May 2007) Igor introduced some cunning
<br>
code to speed radial shadings. It would spot that the shading was large
<br>
in comparison with the area being filled, and produce a smaller,
<br>
equivalent shading.
<br>
<br>
Essentially, it would take the destination rectangle, and figure out
<br>
where in the shading the 'extremes' of that rectangle would come from
<br>
(allowing for distortion in shape generation) and ensure that the newly
<br>
generated shading covered the same area.
<br>
<br>
Either the corners of the rectangle could be extremes, or points on the
<br>
side. The code for the points on the sides was broken due to a typo
<br>
causing the X and Y cases to be switched.
<br>
<br>
All that is required to solve the bug is to change the == to !=.
<br>
<br>
In researching the problem however, I recommented lots of the code to
<br>
make it more comprehensible (to me at least!) along with introducing
<br>
some temporary variables to make it clearer and avoid needless
<br>
recomputation of values. I am committing this as I believe it's a step
<br>
forward for the code, even though it doesn't actually make a
<br>
difference.
<br>
<br>
48 differences in non-pdfwrite/ps2write tests. 11 in pdfwrite, 17 in
<br>
ps2write. Checked with bmpcmp, all unnoticable to the naked eye, so
<br>
presumably progressions.
<br>
<br>
gs/base/gxshade1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-06 14:59:09 +0100></a>
2011-06-06 14:59:09 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=82dc5982726c8ea05c3be6faa2f370a62f11a94a">82dc5982726c8ea05c3be6faa2f370a62f11a94a</a>
<blockquote>
<br>
Fix Bug 689737: antialiasing issues with patterns.
<br>
<br>
Bug 689737 shows mismatches between rendering with and without
<br>
antialiasing when PaintType 2 patterns are used.
<br>
<br>
Following Michaels analysis of the bug, the fix seems to be very simple;
<br>
when opening a pattern accumulator device, if the PaintType is 2, then
<br>
set color_info.anti_alias.graphics_bits to 1. We also set
<br>
color_info.anti_alias.text_bits to 1, even though this is unlikely to
<br>
make a difference if freetype is used.
<br>
<br>
No expected cluster differences as antialiasing isn't used in any
<br>
cluster tests.
<br>
<br>
This commit also removes a FIXME (as I've checked with Michael), and
<br>
improves the commenting on the device proc structure (which I'd done
<br>
when trying a different device proc based fix, but is an improvement
<br>
anyway).
<br>
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-05 23:42:14 -0400></a>
2011-06-05 23:42:14 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a0720527bcabb2732c3c06dfe3cae1f9c9ea9318">a0720527bcabb2732c3c06dfe3cae1f9c9ea9318</a>
<blockquote>
<br>
Bug 692252: define 'inf' as 0
<br>
<br>
Work around a bug in PDF file that has 'inf' instead of a number
<br>
in the content stream. Define a PDF operator 'inf' that returns 0
<br>
and issues a warning.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-04 22:04:12 +0100></a>
2011-06-04 22:04:12 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0ea739147fd02ee0e63e58c036bb63fa841ddd3c">0ea739147fd02ee0e63e58c036bb63fa841ddd3c</a>
<blockquote>
<br>
Bug 691222: Make windows build use UTF-8 encoding.
<br>
<br>
We change the windows builds to use the 'wmain' rather than 'main'
<br>
entrypoints. This means we get the command line supplied in 'wchar_t's
<br>
rather than chars. We convert back to chars using UTF-8 encoding, and
<br>
call (what was) the main entrypoint.
<br>
<br>
This means that we can cope with unicode filenames/paths etc.
<br>
<br>
To match the encoding, we therefore need to wrap every use of the
<br>
filenames with the associated utf-8 -> wchar_t conversion and use
<br>
the unicode file access functions (_wfopen instead of fopen etc)
<br>
instead.
<br>
<br>
Simple testing seems to indicate that this works. I think I've got
<br>
every occurence of file access, but it's possible I've missed some. If so
<br>
I'll fix them piecemeal as they are reported.
<br>
<br>
This should solve bug 691222, and hopefully 691117.
<br>
<br>
gs/base/gp_mswin.c
<br>
gs/psi/dwmainc.c
<br>
pl/dwmainc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-04 22:09:58 +0100></a>
2011-06-04 22:09:58 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4aff3e0d813cb00eb62db9720cf99b2d419f999a">4aff3e0d813cb00eb62db9720cf99b2d419f999a</a>
<blockquote>
<br>
Move various uses of fopen to use gp_fopen.
<br>
<br>
For portability we should be using gp_fopen, not fopen.
<br>
<br>
gs/base/gdevdevn.c
<br>
gs/base/gdevimdi.c
<br>
gs/base/gdevrinkj.c
<br>
gs/base/gdevtxtw.c
<br>
gs/base/gdevwts.c
<br>
gs/psi/imainarg.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-04 00:35:37 -0700></a>
2011-06-04 00:35:37 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=77b456f298aeabaa4b27b63a9ead0aa0470ac5b8">77b456f298aeabaa4b27b63a9ead0aa0470ac5b8</a>
<blockquote>
<br>
Removed HAVE_HYPOT from configure scripts.
<br>
<br>
This revision disables checking for a system hypot() function and is
<br>
a followup to 7dcc68ce753175a9c686021d53a061253e2787c3 which modified
<br>
math_.h to always use our internal hypot() function.
<br>
<br>
No expected cluster differences.
<br>
<br>
config.mak.in
<br>
configure.ac
<br>
gs/base/Makefile.in
<br>
gs/base/configure.ac
<br>
gs/base/macosx.mak
<br>
gs/base/unix-gcc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 17:33:51 +0100></a>
2011-06-03 17:33:51 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=31174084f95474f9c0edfd4c534c3b1654c02255">31174084f95474f9c0edfd4c534c3b1654c02255</a>
<blockquote>
<br>
Fix bug 692226; stray pixels in skewed masked image
<br>
<br>
When painting a masked image, we first plot a scanlines worth of
<br>
mask pixels to a mask plane. This is then used in a clipping device to
<br>
clip the image pixels that follow thereafter.
<br>
<br>
In the code that plots the masked pixels it currently gathers up 'runs'
<br>
of identical pixels and plots them all at once. This works fine for
<br>
portrait and landscape images, but for skewed ones has problems due to
<br>
rounding errors. By plotting large runs of pixels at once, we can a) get
<br>
gaps between subsequent rows of masked pixels, and b) get a mismatch
<br>
between the pixels covered by the mask and the image. These manifest
<br>
as holes in the image.
<br>
<br>
The image code already has a comment in it to the effect that we cannot
<br>
amalgamate large blocks due to rounding errors.
<br>
<br>
This fix therefore extends this policy (of not amalgamating) to skewed
<br>
masked images too.
<br>
<br>
426 non-pdfwrite/pswrite differences expected. 79 pdfwrite. 31 ps2write.
<br>
Checked with bmpcmp and all seem either progressions or neutral.
<br>
<br>
gs/base/gximono.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 19:07:47 +0100></a>
2011-06-03 19:07:47 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9c5325b7778074c3add1f682058260d7f8154386">9c5325b7778074c3add1f682058260d7f8154386</a>
<blockquote>
<br>
Add clip_copy_plane device procedure.
<br>
<br>
Cut and pasted with obvious changes from clip_copy_mono. Nothing remarkable
<br>
worth mentioning.
<br>
<br>
Not used in current code, so CLUSTER_UNTESTED.
<br>
<br>
gs/base/gxclip.c
<br>
gs/base/gxclip.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 17:32:09 +0100></a>
2011-06-03 17:32:09 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7c8855aed043415063ad7472eb2af4320d4544eb">7c8855aed043415063ad7472eb2af4320d4544eb</a>
<blockquote>
<br>
Add rasterop to FEATURE_DEVS in msvc makefile.
<br>
<br>
The rasterop module is already added by default under unix, so this moves
<br>
windows into line.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-03 12:29:50 -0400></a>
2011-06-03 12:29:50 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=636788a8e6d2133a7e3294ee4e1b573c64e1254a">636788a8e6d2133a7e3294ee4e1b573c64e1254a</a>
<blockquote>
<br>
Bug 691906, Drop symbolic flag with named encodings.
<br>
<br>
PDF font descriptor has 3 attributes that affect whether the TT font
<br>
is processed as symbolic one. The spec is not clear what to do when
<br>
the attributes conflict. This revision consigers fonts that have
<br>
/WinAnsiEncoding or /MacRomanEncoding as non-symbolic regardless of
<br>
the flags.
<br>
<br>
gs/Resource/Init/pdf_font.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-02 20:49:27 -0700></a>
2011-06-02 20:49:27 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6558511800f1f467b66e8e220b80ac99d6ee6f69">6558511800f1f467b66e8e220b80ac99d6ee6f69</a>
<blockquote>
<br>
Addition of code to parse the file for the source object color description
<br>
<br>
The file toolbin/color/src_color/objsrc_profiles_example.txt provides example
<br>
content where we have the key word for the profile, the profile and the rendering
<br>
intent. Next step is to implement the usage of these profiles in the link
<br>
construction.
<br>
<br>
gs/base/gscms.h
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/toolbin/color/src_color/objsrc_profiles_example.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-02 12:38:40 +0100></a>
2011-06-02 12:38:40 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=585cac9d3aa6bca9e877c3e12ef3e28fd4f7f571">585cac9d3aa6bca9e877c3e12ef3e28fd4f7f571</a>
<blockquote>
<br>
Fix bug 691152; gradients appear 'stepped'.
<br>
<br>
The original bug report was that tiffsep and tiff24nc give noticably
<br>
different results. This turns out to be because tiffsep is set to use
<br>
non 'linear-and-separable' colours.
<br>
<br>
When shadings are rendered, they are 'decomposed' down into smaller
<br>
and smaller regions, until they are smaller than a given threshold.
<br>
These regions are then filled either with linear filled traps (in the
<br>
linear and separable case) or with constant colour (in the non linear
<br>
and separable case). This means that we can get away with a larger
<br>
threshold in the linear and separable case (tiff24nc) and still see
<br>
smooth results.
<br>
<br>
The original version of the code (pre SVN rev 7936) used to decompose
<br>
until the regions were smaller than a pixel. At rev 7936 this was
<br>
upped to be 1 point (1/72 of an inch) (or 1 pixel, whatever was
<br>
larger). Reverting to this original code solves the problem by making
<br>
the constant color regions small enough so that they still look
<br>
smooth.
<br>
<br>
There would therefore appear to be several possible approaches to
<br>
solve the problem:
<br>
<br>
1) We could back out the change in 7936. This trades time (27% in the
<br>
worst measured test case) for correctness.
<br>
<br>
2) We could change tiffsep to use linear and separable colours.
<br>
<br>
I've opted for an approach based on 1) here, because a bmpcmp clearly
<br>
shows easily visible differences in some files in other devices, for
<br>
example:
<br>
<br>
tests_private/comparefiles/470-01.ps.pgmraw.300.0
<br>
<br>
By default, the code now operates as pre revision 7936. Should the
<br>
change in speed be considered unacceptable, gs can be build with the
<br>
symbol MAX_SHADING_RESOLUTION defined to maximum dpi to which shadings
<br>
should be decomposed; building with -DMAX_SHADING_RESOLUTION=72 will
<br>
give the same results as the existing code.
<br>
<br>
gs/base/gxshade6.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-01 11:12:31 -0600></a>
2011-06-01 11:12:31 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4132ef5d36ff63b2b84f9864b7240609ac84ac38">4132ef5d36ff63b2b84f9864b7240609ac84ac38</a>
<blockquote>
<br>
Enhance autoconf tests for SSE2 and byte swapping support.
<br>
<br>
Previously we only checked if the test programs compile, now we check
<br>
if they compile and link.
<br>
<br>
configure.ac
<br>
gs/base/configure.ac
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-01 16:22:40 +0100></a>
2011-06-01 16:22:40 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f83e6d48c33ff1edd2aecbe4482b8a1374808951">f83e6d48c33ff1edd2aecbe4482b8a1374808951</a>
<blockquote>
<br>
Tweak jbig2dec os_types.h for android mupdf build.
<br>
<br>
If HAVE_STDINT_H is defined we are supposed to be getting our definitions
<br>
from stdint.h. Instead the header defines them anyway. Fix this. This showed
<br>
up when building MuPDF for Android.
<br>
<br>
gs/jbig2dec/os_types.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-06-01 09:47:56 -0400></a>
2011-06-01 09:47:56 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e895d3aae94fa6ca1c53c4e7a47f5894ee3c5943">e895d3aae94fa6ca1c53c4e7a47f5894ee3c5943</a>
<blockquote>
<br>
Bug 591335: Get ink names from images.
<br>
<br>
Fixes a bug in indexed color space handler that prevented proper
<br>
recursion into the base color space, and add /Image /XObject
<br>
to the list of resources that are searched for separation color names.
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-31 23:39:45 -0400></a>
2011-05-31 23:39:45 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=db4af9eaf902dbac931ca8c88c586df9d160fb72">db4af9eaf902dbac931ca8c88c586df9d160fb72</a>
<blockquote>
<br>
Bug 692245: Make pattern handler more robust.
<br>
<br>
Make pattern handling code tolerant to pattern streams that leave
<br>
some junk on the operand stack.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-31 09:23:10 -0700></a>
2011-05-31 09:23:10 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=000e8614d2229335ed269f9ebc9a42e33b035f83">000e8614d2229335ed269f9ebc9a42e33b035f83</a>
<blockquote>
<br>
Fix for issues in the setting of the newer ICC device parameters
<br>
<br>
This fixes issues that were introduced when I added the new device
<br>
parameters for rendering intent. Also, this adds in a new structure
<br>
for defining different ICC profiles for the SOURCE colors
<br>
of objects (e.g. text image graphic). This will be set as a user
<br>
parameter and stored in the icc manager. Next step in this is
<br>
to get things initialized and then use the associated profiles.
<br>
<br>
gs/Resource/Init/gs_lev2.ps
<br>
gs/base/gscms.h
<br>
gs/base/gsdparam.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/psi/zusparam.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-31 01:14:21 -0700></a>
2011-05-31 01:14:21 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d0055ac144c1f1a51e906976b85e8e2119b5a2db">d0055ac144c1f1a51e906976b85e8e2119b5a2db</a>
<blockquote>
<br>
Change rsync max-size in clusterpush.pl to 10 megs.
<br>
<br>
To prevent accidently transferring large log files to the casper during
<br>
a clusterpush the rsync in that script was limited to 2.5 megs via the
<br>
the --max-size option. However a recently added source file, imdi_k.c,
<br>
is 2.6 megs, so the max-size limit has been increased to 10 megs.
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-31 00:19:38 -0400></a>
2011-05-31 00:19:38 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=16e928c697f4282c830ab57b7e16347b0b5b086f">16e928c697f4282c830ab57b7e16347b0b5b086f</a>
<blockquote>
<br>
Bug 692242, drop outlines without /Title.
<br>
<br>
Ignore outlines without a required /Title attribute and
<br>
issue a warning.
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-30 20:26:53 +0100></a>
2011-05-30 20:26:53 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=91b9580bf09b81126d6a99c6fe3e0048972fe3d0">91b9580bf09b81126d6a99c6fe3e0048972fe3d0</a>
<blockquote>
<br>
Fix Bug 692225. Interpolate and Decode don't play nice.
<br>
<br>
Bug 692225 gives an example where an Image with both a Decode array
<br>
and interpolation set to true gives bad results.
<br>
<br>
The problem was with a branch of the if in image_render_interpolate_icc
<br>
that was assuming that any decode array given was [0 1]. The fix here is
<br>
simply to test for whether need_decode is set.
<br>
<br>
No changes seen on clusterpushing.
<br>
<br>
Check this with Michael quand il sont retourne.
<br>
<br>
gs/base/gxiscale.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-30 14:21:02 +0100></a>
2011-05-30 14:21:02 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9fd0b414427b58fc79dae23cb11607ea5fcd0890">9fd0b414427b58fc79dae23cb11607ea5fcd0890</a>
<blockquote>
<br>
Updated gitpush.sh script.
<br>
<br>
Fixed script in light of kens experiences. Better error messages, more
<br>
thorough (i.e. any!) checking. Some documentation in the script.
<br>
<br>
gs/toolbin/localcluster/gitpush.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-28 18:04:24 +0100></a>
2011-05-28 18:04:24 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=543fd70fd3b6afc75a767ba1a41663ec3a982866">543fd70fd3b6afc75a767ba1a41663ec3a982866</a>
<blockquote>
<br>
Excellently crufty gitpush script to interface with cluster.
<br>
<br>
In your local git repo, do the following:
<br>
<br>
git remote add regression@ghostscript.com:/home/regression/cluster/gitbridge/ghostpdl
<br>
<br>
Ensure that you are setup to be able to ssh into ghostscript.com as the
<br>
regression user.
<br>
<br>
Then:
<br>
<br>
git config alias.cluster '!gs/toolbin/localcluster/gitpush.sh'
<br>
<br>
Then you can:
<br>
<br>
git cluster <blah>
<br>
<br>
in exactly the same way as we used to be able to be able to:
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl <blah>
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/localcluster/gitpush.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-28 08:49:10 +0100></a>
2011-05-28 08:49:10 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=94f1a552f75647f142b85e5f30c075c19dde0084">94f1a552f75647f142b85e5f30c075c19dde0084</a>
<blockquote>
<br>
Bug 692240: Gracefully handle incomplete FontBBox arrays.
<br>
<br>
The FAPI code would throw an error if the FontBBox array had fewer
<br>
than four values. We'll now replace the broken array with a valid
<br>
one.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/zfapi.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 10:15:08 -0700></a>
2011-05-27 10:15:08 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=20520230859eaa315a52731c1361be650c7e4999">20520230859eaa315a52731c1361be650c7e4999</a>
<blockquote>
<br>
Bug 692237. Fix memfile_unlink to use %p instead of 0x%0x
<br>
<br>
When the change was made (8e0f0dfb Ralph Giles 2008-09-10 21:35:24) the unlink
<br>
was missed. The %p is more portable in that it handles 32 or 64 bit addresses
<br>
as strings. Thanks to Norbert Janssen for finding this.
<br>
<br>
gs/base/gxclmem.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 18:07:10 +0100></a>
2011-05-27 18:07:10 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5974e9171854673d86e0c47a1d1cfef1ff9a5cb1">5974e9171854673d86e0c47a1d1cfef1ff9a5cb1</a>
<blockquote>
<br>
Address a compiler warning.
<br>
<br>
No cluster differences.
<br>
<br>
gs/psi/imain.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 17:32:36 +0100></a>
2011-05-27 17:32:36 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6a743893666fa2c00244f291b83208e5cb961a27">6a743893666fa2c00244f291b83208e5cb961a27</a>
<blockquote>
<br>
Bug 692238: fix a couple of typos in News.htm.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/doc/News.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 15:58:28 +0100></a>
2011-05-27 15:58:28 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9a83627c1c0015a446fbf087848e98234a2bdddb">9a83627c1c0015a446fbf087848e98234a2bdddb</a>
<blockquote>
<br>
Bug 692220: have the lib file arrays extend as required.
<br>
<br>
Previously we had a hard limit of GS_MAX_LIB_DIRS on the number of entries
<br>
allowed in the lib search path. This change makes GS_MAX_LIB_DIRS the
<br>
default space available, but allows the arrays to extend as required.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/imain.c
<br>
gs/psi/imainarg.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-27 10:15:37 +0100></a>
2011-05-27 10:15:37 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=96da6c46750074869c5bcaeeba7e204d8df83a16">96da6c46750074869c5bcaeeba7e204d8df83a16</a>
<blockquote>
<br>
Have clusterpush.pl check for/use CLUSTER_USER env var.
<br>
<br>
For anyone that uses a different local login than their user name
<br>
for the cluster, rather than have to specify the user name on the
<br>
command line every time, you can now set CLUSTER_USER in your
<br>
shell, and clusterpush.pl will use that, before going to check
<br>
USER and USERNAME as before.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
gs/toolbin/localcluster/clusterpush.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-26 11:20:10 -0700></a>
2011-05-26 11:20:10 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=998fc31cc9bd717190b0313eb246c14fe6303602">998fc31cc9bd717190b0313eb246c14fe6303602</a>
<blockquote>
<br>
Restore Makefile to clusterpush.pl file list.
<br>
<br>
Removed Makefile from the list of files excluded from the rsync
<br>
operation in clusterpush.pl since the ghostpdl Makefile is not
<br>
built by a configure/autogen.sh operation.
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-26 01:09:55 -0700></a>
2011-05-26 01:09:55 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=eb0b920bd993d1b03478c9ba4dfc54e995ec7bac">eb0b920bd993d1b03478c9ba4dfc54e995ec7bac</a>
<blockquote>
<br>
Fix minor typo.
<br>
<br>
gs/base/gsmchunk.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-25 23:47:04 -0600></a>
2011-05-25 23:47:04 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ec6afb99389c13414a43820908e090841b6bcd75">ec6afb99389c13414a43820908e090841b6bcd75</a>
<blockquote>
<br>
Fixes Bug 692232 - landscape printed on portrait media.
<br>
<br>
Add the ability to pass postscript names on the command line - so now
<br>
AutoRotatePages can be set. The other way of fixing this - specifying
<br>
a different MediaBox would be awkward in the current PCL design.
<br>
<br>
pl/plmain.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-24 08:08:35 -0700></a>
2011-05-24 08:08:35 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=25de59220e9472e6de1acc046c317141a1751770">25de59220e9472e6de1acc046c317141a1751770</a>
<blockquote>
<br>
Fix for Bug 692217 nested trans_pattern_clist SEGV
<br>
<br>
This was caused by a clip device created for tiling a mask with a transparent
<br>
pattern rendered with a clist. The clip device used for rendering did not
<br>
get its color_info updated when its target (pdf14) changed the color_info,
<br>
specifically the depth.
<br>
<br>
Fixed by grabbing the target color_info after calling the target's compositor.
<br>
<br>
gs/base/gdevnfwd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-25 20:55:29 -0400></a>
2011-05-25 20:55:29 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b8a35e6cf6f0394487c9e46d989ea57dd0e4203d">b8a35e6cf6f0394487c9e46d989ea57dd0e4203d</a>
<blockquote>
<br>
Bug 692229, rename variables in Luratech license blocks.
<br>
<br>
Change variable names in rarely compiled blocks related to Luratech
<br>
license key to match the declarations.
<br>
<br>
gs/base/sjpx_luratech.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-25 19:55:04 +0000></a>
2011-05-25 19:55:04 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1de7e6dcb4a89cfdbc93ef176cee17f2e1b430f3">1de7e6dcb4a89cfdbc93ef176cee17f2e1b430f3</a>
<blockquote>
<br>
Revised clusterpush.pl; msys git operation
<br>
<br>
Changes to accomodate clusterpushing from windows msys git shells.
<br>
This relies on various other tools being added to the path. See
<br>
forthcoming email.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-25 11:11:25 +0000></a>
2011-05-25 11:11:25 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=177d0f5ef5d3d2f992b10750e072dc91696c92cc">177d0f5ef5d3d2f992b10750e072dc91696c92cc</a>
<blockquote>
<br>
Update gitsetup.h; remove --local.
<br>
<br>
Remove a --local from a command that upsets old versions of git, while
<br>
not making a difference to later versions. Thanks to Ray for pointing this
<br>
out.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/gitsetup.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-25 06:54:07 +0000></a>
2011-05-25 06:54:07 +0000</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ebefadf4428a0fd4ca4607221bb59e2e0343b35b">ebefadf4428a0fd4ca4607221bb59e2e0343b35b</a>
<blockquote>
<br>
Fix executable property to +x.
<br>
<br>
gs/toolbin/gitsetup.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-24 16:23:32 +0100></a>
2011-05-24 16:23:32 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8151aa54b8a71e5c9929bb43390a9be1b4b8d042">8151aa54b8a71e5c9929bb43390a9be1b4b8d042</a>
<blockquote>
<br>
Add gitsetup.sh to gs/toolbin.
<br>
<br>
Simple script for doing the 'obvious' configuration to a freshly checked
<br>
out git clone of ghostscript.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/gitsetup.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-24 07:53:59 -0700></a>
2011-05-24 07:53:59 -0700</strong>
<br>Robin Watts <robin@peeves.(none)><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4dc31e78ea0b58973f5a97319eafcbc10e5b9f2b">4dc31e78ea0b58973f5a97319eafcbc10e5b9f2b</a>
<blockquote>
<br>
Add autoconf check for bswap32/byteswap.h availability.
<br>
<br>
As per bug 692211, add some autoconf magic to detect the presence of
<br>
__builtin_bswap32 and/or byteswap.h.
<br>
<br>
No expected cluster changes.
<br>
<br>
config.mak.in
<br>
configure.ac
<br>
gs/base/Makefile.in
<br>
gs/base/configure.ac
<br>
gs/base/gsropt.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-24 12:38:27 +0100></a>
2011-05-24 12:38:27 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=38720da47205c029d9bee6c3b792791b6f39277d">38720da47205c029d9bee6c3b792791b6f39277d</a>
<blockquote>
<br>
mem_mono_copy_mono optimisations.
<br>
<br>
Working on Norberts latest test files, I have changed mem_mono_copy_mono
<br>
to only use copy_rop if the runs are large enough for it to get a
<br>
benefit. Currently this threshold is set to 32 pixels (1 word).
<br>
<br>
This is sufficiently high that we get 9.01 or better performance on all the
<br>
test files, but might benefit from further tuning later.
<br>
<br>
gs/base/gdevm1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-24 08:35:18 +0100></a>
2011-05-24 08:35:18 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b246d9d85c119f101956ba07cf9e1c8b9f510b49">b246d9d85c119f101956ba07cf9e1c8b9f510b49</a>
<blockquote>
<br>
pdfwrite : set bit 0 of CIDSet.
<br>
<br>
Set the CID 0 bit of the CIDSet array, so that this glyph is marked as
<br>
being present, when converting TrueType fonts to CIDFonts for PDF/A
<br>
output.
<br>
<br>
CID 0 is required to be present for all CIDFonts, it is the /.notdef
<br>
equivalent.
<br>
<br>
gs/base/gdevpdtd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 20:45:41 +0100></a>
2011-05-20 20:45:41 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99b6056dda5ccf74a270d5ca3dbbe2319dc2c219">99b6056dda5ccf74a270d5ca3dbbe2319dc2c219</a>
<blockquote>
<br>
Fix for pdfwritten fts_42xx.xps crashing in transparency stuff.
<br>
<br>
See Bug 692219. This may well be patching symptoms rather than correctly
<br>
addressing the problem, but it's low impact, and shouldn't create any new
<br>
problems. We can always back it out after michael has had time to look.
<br>
<br>
gs/base/gxblend1.c
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-23 15:42:46 +0100></a>
2011-05-23 15:42:46 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=86e887eab1634dc9bceec1e1479c11fe03835e96">86e887eab1634dc9bceec1e1479c11fe03835e96</a>
<blockquote>
<br>
mem_mono_strip_copy_rop_dev opts; non-texture 'short' case.
<br>
<br>
Attempt to optimise for latest test cases from Norbert.
<br>
<br>
Use reverted, and optimised old code for the width < 32 no texture case.
<br>
<br>
gs/base/gdevm1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-23 16:41:17 +0100></a>
2011-05-23 16:41:17 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=54796e82370348412811db945b95c42953ce0957">54796e82370348412811db945b95c42953ce0957</a>
<blockquote>
<br>
Bug #692202 Bug in display_raster function
<br>
<br>
The calculation of bytewidth, the number of bytes required for a row of
<br>
pixels, only worked correctly when the colour depth was a multiple of 8.
<br>
<br>
Since the device is a display device, and has since become used as a
<br>
general method for getting data out of GS, this is not reasonable
<br>
(monochrome and greyscale devices are less than 8 bits)
<br>
<br>
Modified as suggested by Martin Osieka to round up the calculation.
<br>
<br>
gs/base/gdevdsp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-23 08:08:23 +0100></a>
2011-05-23 08:08:23 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7fcb89d46d42eb8806d226d3eb39a64f2ad0fe08">7fcb89d46d42eb8806d226d3eb39a64f2ad0fe08</a>
<blockquote>
<br>
Squash a very minor compiler warning
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-22 22:23:49 +0100></a>
2011-05-22 22:23:49 +0100</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b7d52f725a7c4ef939469f757687a86252fade9c">b7d52f725a7c4ef939469f757687a86252fade9c</a>
<blockquote>
<br>
Add Memory squeezing functionality to Memento.
<br>
<br>
If you build with MEMENTO_HAS_FORK predefined, then in-app memory
<br>
squeezing is enabled.
<br>
<br>
export MEMENTO_SQUEEZEAT=1 then run the app, and it will do some magic
<br>
with repeated forks to test the "failure to allocate" paths through the code.
<br>
<br>
All the allocation events before the MEMENTO_SQUEEZEATth one will proceed
<br>
as normal. After that, on every allocation, the code will fork. The child
<br>
will proceed with every allocation failing until the program exits
<br>
(hopefully cleanly, but sometimes leaking memory, sometimes dying with a
<br>
SEGV due to failure to cleanup properly). When the child exits, the
<br>
parent carries on execution (until the next allocation, when the same fork
<br>
process happens again).
<br>
<br>
CLUSTER_UNTESTED as disabled by default.
<br>
<br>
gs/base/memento.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-22 08:36:29 -0700></a>
2011-05-22 08:36:29 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1be218b08069f483ba53eacddc6f7cfbe96957ea">1be218b08069f483ba53eacddc6f7cfbe96957ea</a>
<blockquote>
<br>
Fixes in ICC profile handling and device parameters
<br>
<br>
This fixes some issues that were encountered when setting ICC
<br>
profiles on the command line. One issue is that the put_profile
<br>
procedure needs to be initialized a bit earlier which required
<br>
a change in gdevprn.h In addition, when the output profile is
<br>
specified to be the CIELAB profile and there is transparency in
<br>
the file there was a rc issue with the profile when going through
<br>
the clist. This also includes code to handle the rendering intent device
<br>
parameters for object types.
<br>
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevprn.h
<br>
gs/base/gscdevn.c
<br>
gs/base/gsdparam.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/base/gxclthrd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-22 08:32:34 -0700></a>
2011-05-22 08:32:34 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=185b6f5db3771f6501d55b7b0b6c6ca8663b24c5">185b6f5db3771f6501d55b7b0b6c6ca8663b24c5</a>
<blockquote>
<br>
Update of ICC Creator
<br>
<br>
Update to ICC creator project to enable the creation of special effect profiles.
<br>
Also addition of profiles to demonstrate object dependent color management.
<br>
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_Creator.rc
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.cpp
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/resource.h
<br>
gs/toolbin/color/icc_creator/effects/black_output.icc
<br>
gs/toolbin/color/icc_creator/effects/c_only.txt
<br>
gs/toolbin/color/icc_creator/effects/cyan_output.icc
<br>
gs/toolbin/color/icc_creator/effects/k_only..txt
<br>
gs/toolbin/color/icc_creator/effects/m_only.txt
<br>
gs/toolbin/color/icc_creator/effects/magenta_output.icc
<br>
gs/toolbin/color/icc_creator/effects/y_only.txt
<br>
gs/toolbin/color/icc_creator/effects/yellow_output.icc
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-22 00:03:57 -0400></a>
2011-05-22 00:03:57 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=70912a68940b1361e8d33a239a57280eead00bfc">70912a68940b1361e8d33a239a57280eead00bfc</a>
<blockquote>
<br>
Fix optional inline image skipping.
<br>
<br>
Use newly created function that calculates the number of components
<br>
of a given image and fix calculation of the inline image size that
<br>
is used to skip optional inline images.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-21 01:15:49 -0400></a>
2011-05-21 01:15:49 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3ac9479be8db8eb44f3787d54a171747b61c2b44">3ac9479be8db8eb44f3787d54a171747b61c2b44</a>
<blockquote>
<br>
Bug 692213: verify /Default* colorspaces.
<br>
<br>
Check that the number of components of /DefaultGray, /DefaultRGB, and
<br>
/DefaultCMYK is correct, and reject inappropriate color spaces.
<br>
<br>
Also fix the code that forces update of the color space at the
<br>
beginning of the page when the page defines any of /Defailt* color
<br>
spaces. This hack has been written long ago but it was unreachable.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 19:59:16 +0100></a>
2011-05-20 19:59:16 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4c64b898e1dc2b3532e0fe6c18a292fa58843207">4c64b898e1dc2b3532e0fe6c18a292fa58843207</a>
<blockquote>
<br>
Merge branch 'Type3_PCL'
<br>
<br>
gs/base/gdevpdtd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 19:43:55 +0100></a>
2011-05-20 19:43:55 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=83318bd849910c6c79f0ea5cb11912557ac01307">83318bd849910c6c79f0ea5cb11912557ac01307</a>
<blockquote>
<br>
Final type 3 font modifications for PCL
<br>
<br>
We need to probe the glyph cache in process_text_modify_width as well
<br>
process_text_return_width, this is a possible path through the code,
<br>
depending on the exact combination of text operations.
<br>
<br>
Remove debugging code
<br>
<br>
Tidy up some declarations and casting of poitners to make compilers
<br>
happy.
<br>
<br>
gs/base/gdevpdte.c
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gxccache.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 12:03:14 +0100></a>
2011-05-20 12:03:14 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=96b967aac2176d9cd96167cc1430bb76074d6384">96b967aac2176d9cd96167cc1430bb76074d6384</a>
<blockquote>
<br>
Add some prints to caching
<br>
<br>
Set the FtonMatrix to the identity when making the CTM the identity, so that these don't get applied twice.
<br>
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gxccache.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 13:51:24 +0100></a>
2011-05-19 13:51:24 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0b8df1bfb7f5496ba5b644b21c7586fda6dcdc46">0b8df1bfb7f5496ba5b644b21c7586fda6dcdc46</a>
<blockquote>
<br>
Add some extra debugging printouts
<br>
<br>
Fix log2_scale and depth when creating and testing cache entries in order
<br>
to make sure they are coherent (we don't actually use the entries so the
<br>
values aren't important, as long as they are the same)
<br>
<br>
When using PCL bitmap fonts we do want to note glyphs set with setcharwidth
<br>
as cached, as well as those with setcachedevice. (the same is not true
<br>
for PostScript)
<br>
<br>
gs/base/gdevpdte.c
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:53:56 +0100></a>
2011-05-17 15:53:56 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=49921ad78b31af5ab8803d6de886d93106c0db0c">49921ad78b31af5ab8803d6de886d93106c0db0c</a>
<blockquote>
<br>
Add another new font type 'ft_PCL_user_defined' for the PCL bitmap
<br>
font.
<br>
<br>
Update various parts of the code to treat the new font the same as a
<br>
PostScript type 3 font.
<br>
<br>
In pdfwrite, if we capture a CharpProcs, and its for a PCL bitmap font
<br>
then add a cache entry. We do NOT do this for most other fonts, only
<br>
when rendering a glyph. When assembling text, if the font is a PCL
<br>
bitmap font, tehn after checking to see if we've already used it, check
<br>
to see if there is a cache entry. If the PCL job has reused this character
<br>
code with a different bitmap it will haev flushed the cache entry. If we
<br>
font this has happened then capture the new glyph. NB if we are capturing
<br>
a new definition (font->used[[] is valid) then we know this is a redefinition
<br>
so capture into a different font using the old style 'default' implementation.
<br>
<br>
gs/base/gdevpdtd.c
<br>
gs/base/gdevpdte.c
<br>
gs/base/gdevpdtf.c
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdts.c
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gdevpdtw.c
<br>
gs/base/gstext.c
<br>
gs/base/gxchar.c
<br>
gs/base/gxftype.h
<br>
gs/base/gxpaint.c
<br>
pcl/pgfont.c
<br>
pl/plfont.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-13 19:57:44 +0100></a>
2011-05-13 19:57:44 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=97fbf9fd981cdda1d6db80c2a808e3935b1809f3">97fbf9fd981cdda1d6db80c2a808e3935b1809f3</a>
<blockquote>
<br>
Apparently missed in previous commit. Update so that stick fonts are
<br>
identified as such to pdfwrite.
<br>
<br>
gs/base/gdevpdtd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-13 19:53:56 +0100></a>
2011-05-13 19:53:56 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fa801aa476fc200d397f0c72c383462eaad88267">fa801aa476fc200d397f0c72c383462eaad88267</a>
<blockquote>
<br>
Add a new font type 'ft_GL2_stick_user_defined' and use it as the FontType
<br>
of the HP/GL2 stick font. Modify code throughout to treat it the same as
<br>
'ft_user_defined', ie a type 3 font.
<br>
<br>
Allow pdfwrite to attach a type 3 'PDF font' to a stick font (normally the
<br>
types are required to be the same).
<br>
<br>
Alter the way we calculate the 'default' device matrix during stick font
<br>
accumulation so that we get better stroke widhts.
<br>
<br>
Now that we cna identify a stick font, check for anamorphic scaling before
<br>
accumulating the glyphs. If anamorphic scaling, then *don't* treat this as
<br>
a font. THis is because the stroke width will be inconsistent.
<br>
<br>
gs/base/gdevpdte.c
<br>
gs/base/gdevpdtf.c
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdts.c
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gdevpdtw.c
<br>
gs/base/gstext.c
<br>
gs/base/gxchar.c
<br>
gs/base/gxftype.h
<br>
gs/base/gxpaint.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 16:04:17 +0100></a>
2011-05-12 16:04:17 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6a1c8f107029e92509dfbcaf4aaf1d691d27abe5">6a1c8f107029e92509dfbcaf4aaf1d691d27abe5</a>
<blockquote>
<br>
Alter the way we handle missing glyph names, use the saem code as for
<br>
composite fonts.
<br>
<br>
Don't assume the CharProc matrix will be upright when creating the dummy
<br>
'initial' matrix, copy and scale all the values.
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-11 15:46:23 +0100></a>
2011-05-11 15:46:23 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d2ce995693b6c279ea207081728f6906a02e718a">d2ce995693b6c279ea207081728f6906a02e718a</a>
<blockquote>
<br>
More type 3 font madness
<br>
<br>
Use the device level 'PS_accumulator' flag in various places instead of
<br>
the more kludgy test against penuym->pte_default being NULL.
<br>
<br>
If we don't get a glyph name back from the interpreter (PCL) then invent
<br>
one instead of giving up with an error.
<br>
<br>
If we are not a type 3 accumulator, then don't undo the factor of 100
<br>
scaling applied to the device width and height, we only do that for PS.
<br>
<br>
Add a routine to return a special 'initial' matrix during the course of
<br>
type 3 accumulation. The PCL stick font uses this to set the line width
<br>
and we need to account for various PS/PDF scaling which will otherwise
<br>
be ignored.
<br>
<br>
Make sure we don't try and accumulate a charproc when its being run for a
<br>
charpath operation.
<br>
<br>
gs/base/gdevpdfb.h
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 15:35:13 +0100></a>
2011-05-06 15:35:13 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc6a5bdd6329a0027d0c162e29eda277f85c2a8a">bc6a5bdd6329a0027d0c162e29eda277f85c2a8a</a>
<blockquote>
<br>
Type PCL fonts again.
<br>
<br>
Put back the matrix scaling in pdf_text_set_cache, even though the matrix
<br>
shoudl always be the identity here when running PCL. Best to be safe.
<br>
<br>
set_charproc_attrs emitted a 'd1' setcachedevice, but didn't check if
<br>
the glyph was flipped. For PCL this led to ury being less than lly, and
<br>
so the glyph was elided. Added check to make sure these are correct. This
<br>
required removal of 'const' from an arry as well.
<br>
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 15:06:22 +0100></a>
2011-05-06 15:06:22 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8730b9f1c3c1977805a9f0ad830b0268170343c4">8730b9f1c3c1977805a9f0ad830b0268170343c4</a>
<blockquote>
<br>
More type 3 changes
<br>
<br>
Don't scale the CTM by 100 (done for FreeType) when handling PCL fonts
<br>
in install_charproc_accum, set the boolean to complete_charproc_accum so
<br>
that we don't 'undo' the factor of 100 scaling when the font is PCL.
<br>
<br>
Add code to set_charproc_attrs to determine whether this is a 'scale 100'
<br>
(ie PostScript) type 3 font or not, if its not then don't undo the scaling
<br>
by 100 of the CTM.
<br>
<br>
When accumulating a chraproc, before setting the CTM to identity matrix
<br>
also set the current point to 0,0, which ensures that that the current point
<br>
doesn't get baked into the character description. Also invalidate the
<br>
'char_tm' txy_fixed_valid member of the graphics state, this will force
<br>
a recalculation of char_tm using the new identity matrix.
<br>
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 12:29:38 +0100></a>
2011-05-06 12:29:38 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1b7695b7f2fe4dac0e228294b944b667e617e822">1b7695b7f2fe4dac0e228294b944b667e617e822</a>
<blockquote>
<br>
More PCL type 3 improvements
<br>
<br>
Add code to initialise the returned character code, so that the charproc
<br>
is assigned the correct character code. Further test for PCL fonts in
<br>
pdf_text_set_cache and don't try to use a show enumerator to get the
<br>
'output_char_code' when we are doing PCL, instead use the one from the
<br>
text enumerator 'returned' structure. Normally this would not be valid
<br>
yet as this is filled in after we've completed the 'show', but we
<br>
set this before startig the show, from the text string, so that it will be
<br>
valid.
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 11:49:19 +0100></a>
2011-05-06 11:49:19 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3791899545ad61db983158e468d29de85153f94a">3791899545ad61db983158e468d29de85153f94a</a>
<blockquote>
<br>
More type 3 PCL fonts
<br>
<br>
Attempt to get gsave/grestore counting correct by addig requied gs_gsave.
<br>
Add code to invalidate the char_ctm as we have altered the CTM to identity
<br>
for capture, and don't want to use the char_ctm (values are restored later).
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-05 15:26:17 +0100></a>
2011-05-05 15:26:17 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1ccea133c3b21570c6400337dbe260791da8807d">1ccea133c3b21570c6400337dbe260791da8807d</a>
<blockquote>
<br>
Add in basic handling for PCL type 3 fonts. Now setss up the accumulator
<br>
patches the enumerator procs so that the pdfwrite set_cache is used when
<br>
setcachedevice is issued.
<br>
<br>
Text matrices are wrong in many places leading to empty output.
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-05 14:50:33 +0100></a>
2011-05-05 14:50:33 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fa5cce2824ade8c280adf370686e20e661d0c3e3">fa5cce2824ade8c280adf370686e20e661d0c3e3</a>
<blockquote>
<br>
Add handler for PCL type 3 fonts. For now this throws an error, just while
<br>
I make sure it doesn't break any PS/PDF files.
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-05 13:15:19 +0100></a>
2011-05-05 13:15:19 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5cc30c83a05acacfd9c2e18b72e7e716c38d024">f5cc30c83a05acacfd9c2e18b72e7e716c38d024</a>
<blockquote>
<br>
File missed in previous commit
<br>
<br>
gs/base/gdevpdtt.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-05 13:13:27 +0100></a>
2011-05-05 13:13:27 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7838510e494245cc5e5349f2ea0d5ff9028c96d0">7838510e494245cc5e5349f2ea0d5ff9028c96d0</a>
<blockquote>
<br>
Add better PCL type 3 font handling, step 1
<br>
<br>
First, break all the code for starting and stopping accumulators
<br>
into procedures, because the existing code is too hard to read.
<br>
<br>
gs/base/gdevpdfb.c
<br>
gs/base/gdevpdfb.h
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdtt.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-29 16:42:30 +0100></a>
2011-04-29 16:42:30 +0100</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=947e90ad0229b6333d6eb61e7f54ac33b200ab28">947e90ad0229b6333d6eb61e7f54ac33b200ab28</a>
<blockquote>
<br>
initial changes for capturing PCL type 3 fonts in pdfwrite
<br>
<br>
Seems to be OK now with PS/PCL, does not crash any longer with PCL, but capture is incorrect.
<br>
<br>
gs/base/gdevpdfb.c
<br>
gs/base/gdevpdfb.h
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gdevpdtt.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 18:22:37 +0100></a>
2011-05-20 18:22:37 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1ab5da13a846b9fde15c2863b6b75ae5b28d22d8">1ab5da13a846b9fde15c2863b6b75ae5b28d22d8</a>
<blockquote>
<br>
Bug 692218: Incorrect CIDtoGIDMap length causing crash.
<br>
<br>
In pdfwrite's pdf_convert_truetype_font_descriptor() function,
<br>
the lengths of both the CIDtoGIDMap and the CIDSet were being set
<br>
to the number of in use CID's in the font, whereas they need to
<br>
be, and were being filled, as being LastChar + 1 entries long.
<br>
<br>
As well as memory corruption, the contents would have been wrong,
<br>
too.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevpdtd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 12:46:09 +0000></a>
2011-05-20 12:46:09 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0805588e9bcaec02b4eef4582db6ab23ae8ea1b1">0805588e9bcaec02b4eef4582db6ab23ae8ea1b1</a>
<blockquote>
<br>
Fix Bug 692216. Remove zero height traps from shadings.
<br>
<br>
The simplified file in Bug 692216 shows a division by zero error when
<br>
filling a trapezoid with zero height. The fix is simply to update
<br>
the code not to draw zero height traps.
<br>
<br>
This should be safe as any fill adjustment is done well before this point.
<br>
<br>
The cluster shows just one difference. Looking at it in a bmpcmp it does
<br>
look suspicious, but it's not clear whether it's a progression or a
<br>
regression. Ken informs me he's seen the same differences before with
<br>
unrelated changes, so perhaps it's an indeterminism.
<br>
<br>
The code seems more sensible this way round anyway.
<br>
<br>
gs/base/gxshade6.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-20 07:58:28 +0100></a>
2011-05-20 07:58:28 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c6341648ed83b1a3dde948bdf8bcf54a2f275fe5">c6341648ed83b1a3dde948bdf8bcf54a2f275fe5</a>
<blockquote>
<br>
Reinstate x11alpha as the default device on Unix.
<br>
<br>
With the recent revisions to make transparency play nicely
<br>
with anti-aliased output, should now be safe to use as the
<br>
default device.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/Makefile.in
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 14:55:52 -0600></a>
2011-05-19 14:55:52 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9de72911de76b582f028c70564b1539f913b517c">9de72911de76b582f028c70564b1539f913b517c</a>
<blockquote>
<br>
Make directories silently.
<br>
<br>
The previous mkdir incantantation had unwanted warning messages if the
<br>
directory already existed. Thanks to Norbert Janssen for the patch.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
common/msvc_top.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 19:04:26 -0600></a>
2011-05-18 19:04:26 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=413e6e5a1c7ccc3d86678a54e93130ca182f9e98">413e6e5a1c7ccc3d86678a54e93130ca182f9e98</a>
<blockquote>
<br>
Simplify the svg device state.
<br>
<br>
Represent colors directly with color indices not strings.
<br>
This will address bug 691886 indirectly but wasn't the motivation
<br>
for changing the state value types.
<br>
<br>
gs/base/gdevsvg.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-16 13:28:46 -0600></a>
2011-05-16 13:28:46 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=86da13321eaa87a01b804af3619d30f8a7263f5e">86da13321eaa87a01b804af3619d30f8a7263f5e</a>
<blockquote>
<br>
Decrease debugging verbosity.
<br>
<br>
Change default printing to be conditonal on high level device
<br>
debug flag '_'.
<br>
<br>
gs/base/gdevsvg.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 18:32:07 +0100></a>
2011-05-19 18:32:07 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4812b7189345fa94075445d8e8d5eef7eb04cdab">4812b7189345fa94075445d8e8d5eef7eb04cdab</a>
<blockquote>
<br>
Explicitly disable libtiff's jbig code.
<br>
<br>
Add the --disable-jbig option to both Ghostscript and GhostPDL's
<br>
calls to the libtiff configure script, otherwise, if the build
<br>
system has libjbig installed, libtiff's jbig code is enabled,
<br>
and we don't want/need it.
<br>
<br>
Bug 692214.
<br>
<br>
Makefile
<br>
gs/base/configure.ac
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 16:58:33 +0000></a>
2011-05-19 16:58:33 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8f4b7b96b14df2bef1564e00c72f087f72bb8f56">8f4b7b96b14df2bef1564e00c72f087f72bb8f56</a>
<blockquote>
<br>
More Memento tweaks. Thanks to Dave Thomas.
<br>
<br>
Remove unused variables/unneeded inits.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/base/memento.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 15:26:05 +0000></a>
2011-05-19 15:26:05 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b35b5d610738a521cfe6374965a8f6c4d6b5d477">b35b5d610738a521cfe6374965a8f6c4d6b5d477</a>
<blockquote>
<br>
Correct memset prototype in memento.c. D'Oh.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/base/memento.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 15:34:31 +0100></a>
2011-05-19 15:34:31 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=44e59fd123729ba05f8728f01d13406d3e283855">44e59fd123729ba05f8728f01d13406d3e283855</a>
<blockquote>
<br>
Merge branch 'patt_trans_clist'
<br>
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 15:01:14 +0100></a>
2011-05-19 15:01:14 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3bf453e7987830459ca677c8fa1b93fbd6c4a7e3">3bf453e7987830459ca677c8fa1b93fbd6c4a7e3</a>
<blockquote>
<br>
Fix for icc profile refcounting.
<br>
<br>
Take new reference before discarding old one, lest we throw away the
<br>
last reference and then can't pick it up again.
<br>
<br>
This solves the SEGV with:
<br>
<br>
gs\debugbin\gswin32c.exe -sDEVICE=ppmraw -o out.ppm
<br>
-r300 ..\ghostpcl\tests_private\comparefiles\Bug689690.pdf
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 13:35:37 +0100></a>
2011-05-19 13:35:37 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc9e69257a1605d67aca0cd121e167d7e0ae22be">bc9e69257a1605d67aca0cd121e167d7e0ae22be</a>
<blockquote>
<br>
Merge branch 'master' into patt_trans_clist
<br>
<br>
I expect this to leave me with all files working except for Bug689690.pdf
<br>
which has profile reference counting problems introduced from the trunk.
<br>
<br>
For example:
<br>
gs\debugbin\gswin32c.exe -sDEVICE=ppmraw -o out.ppm
<br>
-r300 ..\ghostpcl\tests_private\comparefiles\Bug689690.pdf
<br>
<br>
gs/base/gdevp14.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 15:57:45 +0000></a>
2011-05-18 15:57:45 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5cff633dff1b8b91afb97925f8a4f7781db5a9b2">5cff633dff1b8b91afb97925f8a4f7781db5a9b2</a>
<blockquote>
<br>
Fix SEGV in tile_rect_trans_simple.
<br>
<br>
If the left hand copy region started to the right of the subtile that was
<br>
actually populated, we would attempt a copy with a negative length. Simple
<br>
fix is to check for this case.
<br>
<br>
This should resolve the 5 xps SEGVs.
<br>
<br>
gs/base/gxp1fill.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 23:37:56 +0000></a>
2011-05-17 23:37:56 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=128650aac51fcf723428b8a902c4e3af7d1d058f">128650aac51fcf723428b8a902c4e3af7d1d058f</a>
<blockquote>
<br>
Fix SEGV in Bug691538.pdf.
<br>
<br>
Local testing with:
<br>
gs -dNOGC -Z@? -r300 -sDEVICE=pbmraw -dMaxBitmap=30000000 -o nul: ..\ghostpcl\tests_private\comparefiles\Bug691538.pdf
<br>
<br>
shows a SEGV on windows with a debug build. Removing the reference
<br>
decrement solves it and doesn't show any leaks.
<br>
<br>
Oddly the cluster doesn't show the SEGV any more, but it did previously.
<br>
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 18:13:17 +0100></a>
2011-05-17 18:13:17 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6780bf7996f1d5a0be5b0dc55e89ea48bf89980e">6780bf7996f1d5a0be5b0dc55e89ea48bf89980e</a>
<blockquote>
<br>
Memento realloc fix.
<br>
<br>
Memento was filling the 'new' section of realloced blocks incorrectly,
<br>
resulting in memory overwrites.
<br>
<br>
gs/base/memento.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:53:01 +0100></a>
2011-05-17 15:53:01 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ce8bddd7cef1f9e0d2c2ae28b82d513a6cfa9dce">ce8bddd7cef1f9e0d2c2ae28b82d513a6cfa9dce</a>
<blockquote>
<br>
Merge branch 'master' into patt_trans_clist
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gstrans.c
<br>
gs/base/gxclrast.c
<br>
gs/base/gxdevice.h
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:42:11 +0100></a>
2011-05-17 15:42:11 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1b7bf4222988019f17a454ce7a6b841d586c3d4d">1b7bf4222988019f17a454ce7a6b841d586c3d4d</a>
<blockquote>
<br>
Comment and error code handling tweaks to gdevp14.c
<br>
<br>
Correct a typo, update a comment, and avoid a SEGV in the case where
<br>
an allocation of an iccsmask fails.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:38:38 +0100></a>
2011-05-17 15:38:38 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6283d613595f2c42a461d2cb8cfddb2e0a6fc168">6283d613595f2c42a461d2cb8cfddb2e0a6fc168</a>
<blockquote>
<br>
Tiny tweak to leaks.tcl
<br>
<br>
Tweak leaks.tcl so it doesn't think the file is empty if 'memory allocated'
<br>
is on the first line of the log.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/leaks.tcl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:23:24 +0100></a>
2011-05-17 15:23:24 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4ec504eeddfd5e17ca5f1b4e58090fb0c1b15201">4ec504eeddfd5e17ca5f1b4e58090fb0c1b15201</a>
<blockquote>
<br>
Rework colorspace ref counting of cmm_icc_profile_data.
<br>
<br>
Previously the code seemed to be trying to take one reference to
<br>
cmm_icc_profile_data for every reference taken to the colorspace. We rework
<br>
this here to only take a single reference to cmm_icc_profile_data for each
<br>
colorspace. This solves at least one SEGV.
<br>
<br>
gs/base/gscdevn.c
<br>
gs/base/gscscie.c
<br>
gs/base/gscspace.c
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gxipixel.c
<br>
gs/base/gxshade.c
<br>
gs/psi/zicc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 17:49:46 +0100></a>
2011-05-12 17:49:46 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a0ac4ac2082132905463703ddd8b6db6fd95e4fb">a0ac4ac2082132905463703ddd8b6db6fd95e4fb</a>
<blockquote>
<br>
Squash another warning; gdevp14.c.
<br>
<br>
Remove an unused variable definition (that is shadowed later on).
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 17:41:17 +0100></a>
2011-05-12 17:41:17 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d40646d2f1c48c174fad480c03309707b16659c7">d40646d2f1c48c174fad480c03309707b16659c7</a>
<blockquote>
<br>
Squash warning.
<br>
<br>
Remove unused variable, left over from merge.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/gdevnfwd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 17:01:59 +0100></a>
2011-05-12 17:01:59 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6d910ef6207e3704f1050cd46c481ac81b681261">6d910ef6207e3704f1050cd46c481ac81b681261</a>
<blockquote>
<br>
Fix SEGVs seen due to icc profile data being freed.
<br>
<br>
If we swap the ICC profile data for a colorspace due to starting/stopping
<br>
use of an smask, we must also adjust the reference counts. Hopefully this
<br>
will solve all the SEGVs we see. It does solve at least one.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 15:26:56 +0100></a>
2011-05-12 15:26:56 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4d9eb7298700e0b4c484f164805d556c03c22b24">4d9eb7298700e0b4c484f164805d556c03c22b24</a>
<blockquote>
<br>
Merge branch 'master' into patt_trans_clist
<br>
<br>
Conflicts:
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gxdevice.h
<br>
gs/toolbin/bmpcmp.c
<br>
<br>
All trivially resolved except for gdevnfwd.c where I backed out one of the
<br>
fixes from 8ae4342 on instruction from Michael.
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gsicc.c
<br>
gs/base/gstrans.c
<br>
gs/base/gxclip.c
<br>
gs/base/gxdevice.h
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-04 20:00:50 +0100></a>
2011-05-04 20:00:50 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9d8dc0278374c7c5bb4868a1ed356b8b5f8ece8a">9d8dc0278374c7c5bb4868a1ed356b8b5f8ece8a</a>
<blockquote>
<br>
Whitespace fixes + Return from gx_forward_create_compositor.
<br>
<br>
Fix up some stray trailing whitespace.
<br>
<br>
Also, gx_forward_create_compositor was neglecting to return a value.
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-03 20:36:49 -0700></a>
2011-05-03 20:36:49 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8ae4342084cbfc46782ca3fc23b4965f910f3c51">8ae4342084cbfc46782ca3fc23b4965f910f3c51</a>
<blockquote>
<br>
Fixes for 2 issues. If a clip device is inserted in front of a pdf14 compositor, the ICC profile of the clip device needs to be updated if the compositor action results in a device profile change. Also fix so that when the soft mask ICC profiles are swapped in or out the graphic state ICC profiles are also updated.
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-03 17:30:58 +0100></a>
2011-05-03 17:30:58 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e0e5e5c874d7546805558a00bec9c54ebd0770e5">e0e5e5c874d7546805558a00bec9c54ebd0770e5</a>
<blockquote>
<br>
Backout strokeafterfill stuff, as it proved unnecessary.
<br>
<br>
Remove commit eaae298 as it turns out not to be required.
<br>
<br>
gs/base/gspaint.c
<br>
gs/base/gspath.h
<br>
gs/base/gxistate.h
<br>
gs/psi/zpaint.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 19:39:22 +0000></a>
2011-05-02 19:39:22 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=04eef3817a5a6d3fee054338629b1e50eaa4ee0f">04eef3817a5a6d3fee054338629b1e50eaa4ee0f</a>
<blockquote>
<br>
Merge branch 'master' into patt_trans_clist
<br>
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 19:28:39 +0000></a>
2011-05-02 19:28:39 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=df2175e571369df32fc66e375357bc69976c5fed">df2175e571369df32fc66e375357bc69976c5fed</a>
<blockquote>
<br>
Put back default map_rgb_color forwarding.
<br>
<br>
At some point around the creation of this branch (which corresponded to our
<br>
move from SVN to git) we lost a line in gdevnfwd.c that sets up a default
<br>
forwarding for map_rgb_color. We don't know why it went, so we're putting it
<br>
back in. This probably hasn't caused any problems as it's a deprecated
<br>
function now.
<br>
<br>
gs/base/gdevnfwd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 20:02:59 +0100></a>
2011-05-02 20:02:59 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8eed15b976995b889a2498b064b53397a7d164a1">8eed15b976995b889a2498b064b53397a7d164a1</a>
<blockquote>
<br>
Add gxdevsop.h to VS solution.
<br>
<br>
Don't know why this wasn't in before...
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 19:50:04 +0100></a>
2011-05-02 19:50:04 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8d52d58da97faadd2dcd009f9a5381e87182789d">8d52d58da97faadd2dcd009f9a5381e87182789d</a>
<blockquote>
<br>
Pacify valgrind (and improve performance?) with tiny change.
<br>
<br>
A tiny change to gxclrast.c where we initialise state_tile.size.{x,y}.
<br>
This stops valgrind giving warnings. While the code works OK without
<br>
this (I believe), it can cause various %, /, gcd operations. These are
<br>
all expensive operations and are neatly sidestepped by the simple
<br>
expedient of setting the variable to 0 to start with.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 18:32:06 +0000></a>
2011-05-02 18:32:06 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4cd416d1e5f46c01ce9827b803035a939872e7f7">4cd416d1e5f46c01ce9827b803035a939872e7f7</a>
<blockquote>
<br>
Fix clipping problems with composited pattern clists.
<br>
<br>
When using a clist to fill a clipped area with a pattern, the current
<br>
code can drop the clipping device out of the chain. This change solves that
<br>
problem.
<br>
<br>
When we create a new compositor, we generally want that compositor to become
<br>
the top device in the chain, so all new drawing commands go to it. In the
<br>
pattern clist case however, we don't create a new compositor - we reuse an
<br>
existing one. It's important in this case *not* to take this as our new
<br>
target, otherwise the higher devices in the chain (such as the clipper
<br>
device) are lost.
<br>
<br>
This was shown when rendering pattrans_big.pdf at 300dpi banded to the pkm
<br>
device.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 11:21:50 -0700></a>
2011-05-02 11:21:50 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1d33714d197a3335ad34d21e70fc767cf42b369d">1d33714d197a3335ad34d21e70fc767cf42b369d</a>
<blockquote>
<br>
Fix for typo in pointer name during initialization of shape buffer during transparency pattern filling.
<br>
<br>
gs/base/gxp1fill.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 18:53:00 +0100></a>
2011-05-02 18:53:00 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=600aa9cc10d4439823de265d2805617154294ee7">600aa9cc10d4439823de265d2805617154294ee7</a>
<blockquote>
<br>
Quiet valgrind warning, and remove misleading init.
<br>
<br>
When run with valgrind on:
<br>
<br>
gs -sDEVICE=pbmraw -r300 -dMaxBitmap=100000000 -o out.pbm Bug690189c.pdf
<br>
<br>
Valgrind complains that params.GrayBackground is used without being
<br>
initialised. We fix this here by amending gs_trans_mask_params_init.
<br>
<br>
In so doing, we note that in zbegintransparencymaskgroup we were setting
<br>
params.ColorSpace, only to call gs_trans_mask_params_init and have it
<br>
overwrite it. To avoid confusion we therefore remove this needless init.
<br>
<br>
No cluster differences seen in testing.
<br>
<br>
gs/base/gstrans.c
<br>
gs/psi/ztrans.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 14:51:26 +0100></a>
2011-05-02 14:51:26 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1dbe20d53a4443a70692e9b7807cfb8a158229d0">1dbe20d53a4443a70692e9b7807cfb8a158229d0</a>
<blockquote>
<br>
Add support for cups (1bpp) files to bmpcmp.
<br>
<br>
gs/toolbin/bmpcmp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-30 17:55:42 +0100></a>
2011-04-30 17:55:42 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=eaae298fcfe31efda0166786c5624ef8fefd0e12">eaae298fcfe31efda0166786c5624ef8fefd0e12</a>
<blockquote>
<br>
Add new .strokeafterfill ps operator/graphics state bit.
<br>
<br>
We add a new .strokeafterfill ps operator that takes a bool, and sets it in
<br>
the graphics state. The intention is that this will allow us to spot the
<br>
case where we are executing the stroke part of a combined 'fill and stroke'
<br>
operation (as required by pdf). This should allow us to solve the
<br>
remaining problems with the pdf14/knockout group.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gspaint.c
<br>
gs/base/gspath.h
<br>
gs/base/gxistate.h
<br>
gs/psi/zpaint.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-29 19:41:50 +0100></a>
2011-04-29 19:41:50 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=96339fd0f400d7c0534a8ff73c355787d7773297">96339fd0f400d7c0534a8ff73c355787d7773297</a>
<blockquote>
<br>
Correct typo in comment. CLUSTER_UNTESTED.
<br>
<br>
gs/base/gxfillsl.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-29 19:39:27 +0100></a>
2011-04-29 19:39:27 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6ac5520977be5b3ee198c155ef395c6406962db4">6ac5520977be5b3ee198c155ef395c6406962db4</a>
<blockquote>
<br>
Whitespace fixes.
<br>
<br>
gs/base/gdevp14.c
<br>
gs/base/gsicc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 22:41:28 -0700></a>
2011-04-27 22:41:28 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c9de3e70e4027fb86dde6079a48b29cfd6825c72">c9de3e70e4027fb86dde6079a48b29cfd6825c72</a>
<blockquote>
<br>
Revert "MSVC changes plus gitignore for patt_trans_clist"
<br>
<br>
This reverts commit 01c9c2bd3dbd8be851b2e8dde68885413807e704.
<br>
<br>
.gitignore
<br>
gs/ghostscript.vcproj
<br>
win32/GhostPDL.sln
<br>
win32/GhostPDL.suo
<br>
win32/language_switch.vcproj
<br>
win32/language_switch.vcproj.michaelv-PC.michaelv.user
<br>
win32/pcl.vcproj
<br>
win32/pcl.vcproj.michaelv-PC.michaelv.user
<br>
win32/svg.vcproj
<br>
win32/svg.vcproj.michaelv-PC.michaelv.user
<br>
win32/xps.vcproj
<br>
win32/xps.vcproj.michaelv-PC.michaelv.user
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 22:27:39 -0700></a>
2011-04-27 22:27:39 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4b191e99538574a67178a8a4df0e19f380d47403">4b191e99538574a67178a8a4df0e19f380d47403</a>
<blockquote>
<br>
Fix for reference counting issue of the compositor device at
<br>
the end of the clist playback. In most cases, the compositor rc
<br>
should be 1 at this point and so the device is closed and then
<br>
freed. The case, when it is not 1 is when we have a pattern
<br>
that has a transparency and is stored in a clist. In this case
<br>
the target for the pattern clist device is the main pdf14 device and
<br>
we increment the rc during this assignment. So, when the
<br>
playback completes, the rc of the compositor is 2. We do not
<br>
want to close and free the compositor, since it is part of the
<br>
main clist that we have going on. Instead we only want to
<br>
decrement the rc. The test file pattrans_big.pdf is now
<br>
handled correctly but has a rendering/tiling issue it appears.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 22:20:56 -0700></a>
2011-04-27 22:20:56 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=01c9c2bd3dbd8be851b2e8dde68885413807e704">01c9c2bd3dbd8be851b2e8dde68885413807e704</a>
<blockquote>
<br>
MSVC changes plus gitignore for patt_trans_clist
<br>
<br>
.gitignore
<br>
gs/ghostscript.vcproj
<br>
win32/GhostPDL.sln
<br>
win32/GhostPDL.suo
<br>
win32/language_switch.vcproj
<br>
win32/language_switch.vcproj.michaelv-PC.michaelv.user
<br>
win32/pcl.vcproj
<br>
win32/pcl.vcproj.michaelv-PC.michaelv.user
<br>
win32/svg.vcproj
<br>
win32/svg.vcproj.michaelv-PC.michaelv.user
<br>
win32/xps.vcproj
<br>
win32/xps.vcproj.michaelv-PC.michaelv.user
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 18:43:52 +0000></a>
2011-04-27 18:43:52 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=82437e248e95c3e9830720feaf5030d37950b091">82437e248e95c3e9830720feaf5030d37950b091</a>
<blockquote>
<br>
Whitespace fixups.
<br>
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 18:42:10 +0000></a>
2011-04-27 18:42:10 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bdbb2b5da2ad758d07dfefc84b2a53c00ba091d4">bdbb2b5da2ad758d07dfefc84b2a53c00ba091d4</a>
<blockquote>
<br>
Revert SVN commit 12934, ref count checking before free in gxclrast.c
<br>
<br>
A couple of weeks ago, I applied a wild stab in the dark to solve a problem
<br>
that I cannot now locate. Having discussed it with Michael it seems that this
<br>
was (at best) just masking another problem (the incorrect ref count
<br>
initialisation of compositors). This has been fixed, so my faulty attempt
<br>
can be backed out.
<br>
<br>
We leave a debug only check in there to catch this situation. This should be
<br>
replaced by an assert when we have such things.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 15:25:22 +0100></a>
2011-04-27 15:25:22 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bdfb4cf85e6c7d78dbeecfb8c6dd06c1eed14714">bdfb4cf85e6c7d78dbeecfb8c6dd06c1eed14714</a>
<blockquote>
<br>
Fix overflow in pattern tile size estimation code.
<br>
<br>
gs/base/gxpcmap.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 10:46:22 +0000></a>
2011-04-27 10:46:22 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1540df197675f2935c6d743927ad25df0396dfff">1540df197675f2935c6d743927ad25df0396dfff</a>
<blockquote>
<br>
Merge branch 'master' into patt_trans_clist
<br>
<br>
gs/base/gstrans.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 13:23:00 -0700></a>
2011-04-26 13:23:00 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=212d2dba16a53088ba6de69266603db847069ec7">212d2dba16a53088ba6de69266603db847069ec7</a>
<blockquote>
<br>
Check to make sure an empty deviceN params member does not lead to an improper path during the device creation.
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 19:40:25 +0100></a>
2011-04-26 19:40:25 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=696ee8153b72d20484e66f5da43b6ee6027fddc4">696ee8153b72d20484e66f5da43b6ee6027fddc4</a>
<blockquote>
<br>
Remove partial merge left over from svn conversion.
<br>
<br>
gs/base/gsptype1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-02-09 21:38:24 +0000></a>
2011-02-09 21:38:24 +0000</strong>
<br>mvrhel <mvrhel@a1074d23-0009-0410-80fe-cf8c14f379e6><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ebf1da59669bb51701c3df9747ebe3f4fe9f6b26">ebf1da59669bb51701c3df9747ebe3f4fe9f6b26</a>
<blockquote>
<br>
Work on the pattern transparency clist code.
<br>
<br>
A squashed and rebased patch based on the following svn commits.
<br>
<br>
Author: robin <robin@a1074d23-0009-0410-80fe-cf8c14f379e6>
<br>
Date: Tue Apr 19 12:40:00 2011 +0000
<br>
<br>
Various fixes to the transparency clist branch to correctly use
<br>
just the subrectangle of transparency tiles that is actually present.
<br>
<br>
Getting this in before the Great Git Change this afternoon.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/branches/patt_trans_clist_gs@12407 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
Author: ray <ray@a1074d23-0009-0410-80fe-cf8c14f379e6>
<br>
Date: Fri Apr 8 16:56:48 2011 +0000
<br>
<br>
A couple of minor fixes that help things along, get past compile errors.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/branches/patt_trans_clist_gs@12379 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
Author: mvrhel <mvrhel@a1074d23-0009-0410-80fe-cf8c14f379e6>
<br>
Date: Wed Feb 9 21:38:24 2011 +0000
<br>
<br>
Initial commit of work so far on getting the pattern transparency
<br>
clist code working. Much of this comes from work that Ray and I did
<br>
for customer 532. The remaining portion of the work is primarily
<br>
in pdf14_tile_pattern_fill in gdevp14.c, where we need to make
<br>
sure that the group that we are going to push is the intersection
<br>
with the rect from trans pattern since we only use the part that we
<br>
drew into in the pattern creation and not the whole group buffer. I
<br>
had not worked on this in a few weeks so I don't have more details
<br>
right now. I will spend a day on it this week to see exactly what
<br>
remains to be done.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/branches/patt_trans_clist_gs@12137 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevp14.h
<br>
gs/base/gsptype1.c
<br>
gs/base/gsptype1.h
<br>
gs/base/gstrans.c
<br>
gs/base/gstrans.h
<br>
gs/base/gxclip.c
<br>
gs/base/gxdevice.h
<br>
gs/base/gxp1fill.c
<br>
gs/base/gxpcmap.c
<br>
gs/base/gxpcolor.h
<br>
gs/psi/zpcolor.c
<br>
gs/psi/ztrans.c
<br>
svg/svgdoc.c
<br>
xps/xpspage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 15:27:07 +0100></a>
2011-05-19 15:27:07 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e60ed1f615f7347dc9318b2c8e17851fb3a6199a">e60ed1f615f7347dc9318b2c8e17851fb3a6199a</a>
<blockquote>
<br>
Address bug 692211; byteswap.h not present on FreeBSD.
<br>
<br>
After googling it seems like the correct thing to do is to use gcc builtin
<br>
intrinsics for byteswapping from 4.3 upwards, and to use byteswap.h
<br>
for all other versions of gcc >= 2.0. This should address the problem.
<br>
<br>
gs/base/gsropt.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-19 12:28:06 +0000></a>
2011-05-19 12:28:06 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f66aa4e491ecff0a5787c4f4a8c8ace1cb7d3432">f66aa4e491ecff0a5787c4f4a8c8ace1cb7d3432</a>
<blockquote>
<br>
Minor tweaks to memento.
<br>
<br>
Improve debugging output, documentation. Fix the time at which the sequence
<br>
counter is incremented to give less confusing messages. Add Memento_inited
<br>
function to breakpoint on.
<br>
<br>
Not enabled in cluster so, CLUSTER_UNTESTED.
<br>
<br>
gs/base/lib.mak
<br>
gs/base/memento.c
<br>
gs/base/memento.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 12:28:05 -0600></a>
2011-05-18 12:28:05 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ef883a068ea54fca1569e5389f7ccfa6aa01e6a8">ef883a068ea54fca1569e5389f7ccfa6aa01e6a8</a>
<blockquote>
<br>
Merge branch 'pcl_documentation'
<br>
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-14 15:15:32 -0600></a>
2011-05-14 15:15:32 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=21503ee8197c9707f8ced1c92593c4e279687ee2">21503ee8197c9707f8ced1c92593c4e279687ee2</a>
<blockquote>
<br>
Long overdue update of the PCL documentation.
<br>
<br>
doc/ghostpdl.pdf
<br>
doc/ghostpdl.tex
<br>
doc/ghostpdl.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 17:48:10 +0100></a>
2011-05-18 17:48:10 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=62b57818e9117c1ebfe32894464ab12956826f7d">62b57818e9117c1ebfe32894464ab12956826f7d</a>
<blockquote>
<br>
Workaround SEGV in clist with fillpage (Bug 692076).
<br>
<br>
This is a simple patch for the symptoms, not a proper cure, but it suffices
<br>
to get it out of regression test error lists.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 15:05:28 +0100></a>
2011-05-18 15:05:28 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1a7d4d447c2fc05240ab258f4eb232080fd1fb5f">1a7d4d447c2fc05240ab258f4eb232080fd1fb5f</a>
<blockquote>
<br>
Revise 64 bit build options for VS2010.
<br>
<br>
Mainly, there was come confusion between the WIN64 setting
<br>
for the type of build, and the BUILD_SYSTEM setting for
<br>
whether the system is 32 or 64 bit.
<br>
<br>
NOTE: 64 bit builds on 32 bit systems do not work, and
<br>
I do not intend to attempt to make them work.
<br>
<br>
Bug 692126
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/psi/msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-18 08:21:21 +0100></a>
2011-05-18 08:21:21 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f9cf64f56577b593f424c7d661b5fb8ea7a53216">f9cf64f56577b593f424c7d661b5fb8ea7a53216</a>
<blockquote>
<br>
Reinstate the Mememto build rules.....
<br>
<br>
....that went AWOL with commit 447c1a791d28fb72b196f75356bc411ef45afbdd
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 23:43:14 -0700></a>
2011-05-17 23:43:14 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=447c1a791d28fb72b196f75356bc411ef45afbdd">447c1a791d28fb72b196f75356bc411ef45afbdd</a>
<blockquote>
<br>
Fix for MT crashes in lcms
<br>
<br>
It turns out that lcms is can not safely share
<br>
profiles between threads when creating links. This
<br>
was fixed by placing a mutex lock around the profile
<br>
creation. It also turns out that lcms can not
<br>
use the same link to do transformations between threads.
<br>
This was solved by disabling the shared cache between
<br>
the threads. Finally there was a race condition in
<br>
reference counting the device ICC profile in the pdf14
<br>
device. Also, this commit includes a fix for a memory
<br>
leak in the pdf_mask object in gdevp14.
<br>
<br>
gs/base/gdevp14.c
<br>
gs/base/gscms.h
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gsicc_lcms.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gxcldev.h
<br>
gs/base/gxclthrd.c
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 22:33:15 +0100></a>
2011-05-17 22:33:15 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8d9bc767c0c59a7effa7652cbcbde14ab82de249">8d9bc767c0c59a7effa7652cbcbde14ab82de249</a>
<blockquote>
<br>
Make Memento work with valgrind, plus fix unix build issues.
<br>
<br>
Various fixes for Memento, most especially to ensure it works with
<br>
Valgrind (lots of valgrind calls to make memory readable/hide it again).
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/lib.mak
<br>
gs/base/memento.c
<br>
gs/base/memento.h
<br>
gs/base/unix-aux.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 15:29:53 -0400></a>
2011-05-17 15:29:53 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=cbe9dcfc93812aae26ffd5c2bebbe5b2dc1a4623">cbe9dcfc93812aae26ffd5c2bebbe5b2dc1a4623</a>
<blockquote>
<br>
Bug 692209: tolerate missing /Length in PDF stream.
<br>
<br>
Add branches that deal with a missing /Length attribute in the
<br>
PDF string directory. The sample file misspells /Length as /Lenght
<br>
but the patch addresses a more general problem.
<br>
<br>
gs/Resource/Init/pdf_base.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 11:28:50 -0700></a>
2011-05-17 11:28:50 -0700</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=784c8aa262a2a71659ce2d882c424e0254368a10">784c8aa262a2a71659ce2d882c424e0254368a10</a>
<blockquote>
<br>
Fix ref counting for icc_array
<br>
<br>
Copy the icc_array BEFORE putdeviceparams so we don't end up creating extra ones, and bump the shared icc_array.
<br>
<br>
The finalize when the device is freed will decrement the ref count.
<br>
<br>
gs/base/gxclthrd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 18:13:17 +0100></a>
2011-05-17 18:13:17 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bc9c681b53babcab8d5e6bd102bfb0c51b8b7ed1">bc9c681b53babcab8d5e6bd102bfb0c51b8b7ed1</a>
<blockquote>
<br>
Memento realloc fix.
<br>
<br>
Memento was filling the 'new' section of realloced blocks incorrectly,
<br>
resulting in memory overwrites.
<br>
<br>
CLUSTER_UNTESTED as Memento is not enabled by default.
<br>
<br>
gs/base/memento.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-17 12:03:33 +0000></a>
2011-05-17 12:03:33 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2b7e6a4174a58cf0c395e4950a428a722607f860">2b7e6a4174a58cf0c395e4950a428a722607f860</a>
<blockquote>
<br>
Initial commit of new Memento module (attempt #2)
<br>
<br>
Memento is a simple memory checking module; it helps to track memory
<br>
corruption and leaks. To use it, build with -DMEMENTO.
<br>
<br>
Still to do: Valgrind integration.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/lib.mak
<br>
gs/base/malloc_.h
<br>
gs/base/memento.c
<br>
gs/base/memento.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-15 15:50:40 -0700></a>
2011-05-15 15:50:40 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1787ce3393956701e6241b8efc6f575887c3f5c1">1787ce3393956701e6241b8efc6f575887c3f5c1</a>
<blockquote>
<br>
Change in device ICC profile handling
<br>
<br>
This is the major portion of the code needed to achieve object dependent
<br>
color management. This fixes the problems that existed in the
<br>
previous code with the device parameters and introduces an array of
<br>
ICC profiles in the device structure. The code was cluster pushed and
<br>
showed some very minor differences in a couple files but they appear to be
<br>
OK with bmpcmp. I still need to do further testing to verify that all the
<br>
functionality is correct (e.g. make sure setting the text profile properly
<br>
affects the text only). In addition, the rendering intent options need to be
<br>
implemented.
<br>
<br>
I also need to check that nothing was broken with respect to MT
<br>
rendering and some of the devices that are not tested with cluster
<br>
pushing (e.g. the display device and the x11alpha device).
<br>
<br>
gs/base/devs.mak
<br>
gs/base/gdevbit.c
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevpdf.c
<br>
gs/base/gdevpdfk.c
<br>
gs/base/gdevpng.c
<br>
gs/base/gdevpsdi.c
<br>
gs/base/gdevtfnx.c
<br>
gs/base/gdevtsep.c
<br>
gs/base/gdevxini.c
<br>
gs/base/gscms.h
<br>
gs/base/gscsepr.c
<br>
gs/base/gsdevice.c
<br>
gs/base/gsdparam.c
<br>
gs/base/gsequivc.c
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/base/gstrans.c
<br>
gs/base/gxclrast.c
<br>
gs/base/gxclthrd.c
<br>
gs/base/gxcmap.c
<br>
gs/base/gxdevcli.h
<br>
gs/base/gxdevice.h
<br>
gs/base/gxi12bit.c
<br>
gs/base/gxicolor.c
<br>
gs/base/gximag3x.c
<br>
gs/base/gximono.c
<br>
gs/base/gxiscale.c
<br>
gs/base/lib.mak
<br>
gs/psi/zdevice.c
<br>
gs/psi/zusparam.c
<br>
pcl/pctop.c
<br>
psi/psi.mak
<br>
psi/psitop.c
<br>
pxl/pxpthr.c
<br>
pxl/pxtop.c
<br>
svg/svgtop.c
<br>
xps/xpstop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-13 10:52:18 -0700></a>
2011-05-13 10:52:18 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c622f66846aa6b8124b1dffed7dbdaedabedd93f">c622f66846aa6b8124b1dffed7dbdaedabedd93f</a>
<blockquote>
<br>
Modified clusterpush.pl to not rsync Makefiles
<br>
<br>
Modified clusterpush.pl to not rsync Makefiles and config.log files.
<br>
Also removed the various files that have been moved to the cluster.git
<br>
repository.
<br>
<br>
No expected cluster differences.
<br>
<br>
gs/toolbin/localcluster/bmps2html.pl
<br>
gs/toolbin/localcluster/build.pl
<br>
gs/toolbin/localcluster/cachearchive.pl
<br>
gs/toolbin/localcluster/checkSize.pl
<br>
gs/toolbin/localcluster/clustermaster.pl
<br>
gs/toolbin/localcluster/clustermonitor.cgi
<br>
gs/toolbin/localcluster/clustermonitor.pl
<br>
gs/toolbin/localcluster/clusterpull.sh
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
gs/toolbin/localcluster/compare.pl
<br>
gs/toolbin/localcluster/comparerevs.pl
<br>
gs/toolbin/localcluster/dashboard.html
<br>
gs/toolbin/localcluster/nightly.pl
<br>
gs/toolbin/localcluster/pngs2html.pl
<br>
gs/toolbin/localcluster/readlog.pl
<br>
gs/toolbin/localcluster/readme
<br>
gs/toolbin/localcluster/run.pl
<br>
gs/toolbin/localcluster/setupcluster
<br>
gs/toolbin/localcluster/weekly.sh
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-13 09:42:41 -0700></a>
2011-05-13 09:42:41 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7dcc68ce753175a9c686021d53a061253e2787c3">7dcc68ce753175a9c686021d53a061253e2787c3</a>
<blockquote>
<br>
Modified math_.h to use our hypot().
<br>
<br>
The system hypot() function gives slightly different results on Linux vs
<br>
Mac OS X systems for same input values. This minor difference results
<br>
in rendering variations in some files, confounding the regression
<br>
test system.
<br>
<br>
This revision changes math_.h to use our hypot() in all cases instead
<br>
of the system one (previously our function was used on those platforms
<br>
where there was no system hypot() function).
<br>
<br>
Testing by Robin shows that our function is faster than the system one,
<br>
so another reason to make this change.
<br>
<br>
Fixes Bug 692197.
<br>
<br>
Cluster differences on some nodes expected in:
<br>
<br>
tests_private__pcl__pcl5ccet__28-10.BIN ppmraw
<br>
tests_private__pcl__pcl5ccet__32-01.BIN pbmraw
<br>
tests_private__pcl__pcl5cfts__fts.2210a pbmraw
<br>
tests_private__pcl__pcl5efts__fts.1810 ppmraw
<br>
tests_private__pcl__pcl5efts__fts.2132 pbmraw
<br>
tests_private__pcl__pcl5efts__fts.2291 pbmraw
<br>
tests_private__pcl__pcl5efts__fts.2350 pbmraw
<br>
<br>
gs/base/math_.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-13 09:33:29 +0000></a>
2011-05-13 09:33:29 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4bd5322f27e9b95716323bdd000e312418a59676">4bd5322f27e9b95716323bdd000e312418a59676</a>
<blockquote>
<br>
Further tweak to lcms cached transforms.
<br>
<br>
Use int comparisons rather than memcmp. No differences shown in cluster
<br>
testing.
<br>
<br>
gs/lcms/src/cmsxform.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 23:14:47 +0000></a>
2011-05-12 23:14:47 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3767ee67758778d00c9c5c879ade41fc9f41c83b">3767ee67758778d00c9c5c879ade41fc9f41c83b</a>
<blockquote>
<br>
Simplify LCMS cached transform template.
<br>
<br>
I'd overengineered the cached transform template code; the cache is
<br>
reset on every format change, so there is no need to check for that
<br>
in the transform function.
<br>
<br>
No expected performance increase, but the code is less complex. No
<br>
differences seen in cluster testing. CLUSTER_UNTESTED.
<br>
<br>
gs/lcms/src/cmsxform.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 17:57:55 +0100></a>
2011-05-12 17:57:55 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8bcf5d9dd0c4088a811f85121addb238c9240478">8bcf5d9dd0c4088a811f85121addb238c9240478</a>
<blockquote>
<br>
Add new lcms source/header file to ghostscript.vcproj.
<br>
<br>
No cluster differences as this isn't tested. CLUSTER_UNTESTED.
<br>
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 16:06:08 +0000></a>
2011-05-12 16:06:08 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d324305b11fd0bb399c868fe87b26cb768dc06c5">d324305b11fd0bb399c868fe87b26cb768dc06c5</a>
<blockquote>
<br>
LCMS (v1) Optimisations for CachedXFORM etc.
<br>
<br>
Optimise CachedXFORM (and related functions) by using a 'template' header
<br>
file and repeatedly including it with different options to generate
<br>
different specific versions of the code.
<br>
<br>
This gives a 10% improvement on 568.40345_VO_nr_3_vpeSR18.xl (a file where
<br>
most of the time is spent in clipping).
<br>
<br>
No expected cluster differences. I've just done a full test with a bmpcmp
<br>
and it showed no differences, but in light of what happened last time I
<br>
committed this, I am not going to use the magic rune to stop the cluster
<br>
rechecking it on commit.
<br>
<br>
gs/base/lcms.mak
<br>
gs/lcms/include/lcms.h
<br>
gs/lcms/src/cmspack.c
<br>
gs/lcms/src/cmsxform.c
<br>
gs/lcms/src/cmsxform.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-12 15:08:01 +0100></a>
2011-05-12 15:08:01 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e79fff7a2b215103c795b74d4abe162bf8ca3486">e79fff7a2b215103c795b74d4abe162bf8ca3486</a>
<blockquote>
<br>
Change PSI so -Z! works by default in debug builds.
<br>
<br>
Previously, the -Z! option (to show the name of each PS operator as it is
<br>
executed) has only been available in DEBUG builds that specifically use
<br>
the DEBUG_TRACE_PS_OPERATORS option. This change ensures that it is available
<br>
in ALL debug builds, and in any release build where the
<br>
DEBUG_TRACE_PS_OPERATORS symbol is predefined.
<br>
<br>
The reason for historically having it as a separate option was because
<br>
checking for whether the ! debug flag was set on every operator was felt
<br>
to be too large an overhead. I have arranged the code so that this overhead
<br>
is minimised now - in debug builds we only get the extra overhead when
<br>
the -Z! is specified on the command line.
<br>
<br>
In normal release builds there is no change to the overhead. In release
<br>
builds with DEBUG_TRACE_PS_OPERATORS, the same overheads apply as in
<br>
DEBUG builds (that is a small additional overhead when -Z! is not used
<br>
and a larger one when it is).
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/iinit.c
<br>
gs/psi/iinit.h
<br>
gs/psi/interp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-11 15:39:06 -0600></a>
2011-05-11 15:39:06 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7d77dabf5a1e24118455a5c0417ae75c5d5dcf60">7d77dabf5a1e24118455a5c0417ae75c5d5dcf60</a>
<blockquote>
<br>
Fixes bug #689870 - add proper big endian number accessors.
<br>
<br>
Previously only an unsigned accessor was provided and it was being
<br>
used to read both signed and unsigned quantities.
<br>
<br>
gs/jbig2dec/jbig2.c
<br>
gs/jbig2dec/jbig2_halftone.c
<br>
gs/jbig2dec/jbig2_page.c
<br>
gs/jbig2dec/jbig2_priv.h
<br>
gs/jbig2dec/jbig2_segment.c
<br>
gs/jbig2dec/jbig2_symbol_dict.c
<br>
gs/jbig2dec/jbig2_text.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-11 15:18:11 -0600></a>
2011-05-11 15:18:11 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7c309e8a33333da3c124732bb6b00b0701e85579">7c309e8a33333da3c124732bb6b00b0701e85579</a>
<blockquote>
<br>
Fixes 690889, potential null dereference.
<br>
<br>
Prevent a theoretical (no test file) null dereference. There are
<br>
several of these cases identified by by static analysis. We believe
<br>
the authors intent was to pass the word stream if the arithmetic state
<br>
was not set, as in the other call of the same function.
<br>
<br>
gs/jbig2dec/jbig2_symbol_dict.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-11 17:12:59 +0000></a>
2011-05-11 17:12:59 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2bde8dc655c36ef729964980aa373c26dbe873e5">2bde8dc655c36ef729964980aa373c26dbe873e5</a>
<blockquote>
<br>
Backout 6469f73 pending investigation of unexpected differences.
<br>
<br>
gs/base/lcms.mak
<br>
gs/lcms/include/lcms.h
<br>
gs/lcms/src/cmspack.c
<br>
gs/lcms/src/cmsxform.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-11 16:17:05 +0000></a>
2011-05-11 16:17:05 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6469f738123e0c212473f11d38e88bb3650a9087">6469f738123e0c212473f11d38e88bb3650a9087</a>
<blockquote>
<br>
LCMS (v1) optimisations for CachedXFORM etc.
<br>
<br>
Optimise CachedXFORM (and related functions) by using a 'template' header
<br>
file and repeatedly including it with different options to generate
<br>
different specific versions of the code.
<br>
<br>
This gives a 10% improvement on 568.40345_VO_nr_3_vpeSR18.xl (a file where
<br>
most of the time is spent in clipping).
<br>
<br>
No expected cluster differences.
<br>
<br>
gs/base/lcms.mak
<br>
gs/lcms/include/lcms.h
<br>
gs/lcms/src/cmspack.c
<br>
gs/lcms/src/cmsxform.c
<br>
gs/lcms/src/cmsxform.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 19:50:04 +0100></a>
2011-05-02 19:50:04 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1d07f53add51362ce5887b599f2dcb360f9cf348">1d07f53add51362ce5887b599f2dcb360f9cf348</a>
<blockquote>
<br>
Pacify valgrind (and improve performance?) with tiny change.
<br>
<br>
A tiny change to gxclrast.c where we initialise state_tile.size.{x,y}.
<br>
This stops valgrind giving warnings. While the code works OK without
<br>
this (I believe), it can cause various %, /, gcd operations. These are
<br>
all expensive operations and are neatly sidestepped by the simple
<br>
expedient of setting the variable to 0 to start with.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-10 19:29:49 +0100></a>
2011-05-10 19:29:49 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f6f6de913f2f20914ed641a0331e405011d6565b">f6f6de913f2f20914ed641a0331e405011d6565b</a>
<blockquote>
<br>
Add LAND_BITS define to landscape mono halftoning code.
<br>
<br>
The monochrome halftone thresholding code relies on collating incoming
<br>
scanline data into 'scancolumn' buffers. When we have 16 bytes in these
<br>
buffers, they halftoned and flushed through copy_mono.
<br>
<br>
copy_mono would prefer to work with longer than 16 byte runs, so we
<br>
remove the hardcoded 16s from throughout the code and replace it with
<br>
a #defined value. A side effect of this is that the code becomes
<br>
slightly clearer.
<br>
<br>
Sadly, it seems this doesn't give the expected speedups; testing here
<br>
indicates that both 32 and 128 run slower, possibly due to cache effects.
<br>
<br>
Nonetheless we commit the code in case inspiration strikes us later on.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gsiparam.h
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gximono.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-10 19:24:55 +0100></a>
2011-05-10 19:24:55 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=21cfb2e3b6c0d15c84b748586c51969daae58345">21cfb2e3b6c0d15c84b748586c51969daae58345</a>
<blockquote>
<br>
LCMS performance tweak; ToFixedDomain/FromFixedDomain.
<br>
<br>
Make ToFixedDomain/FromFixedDomains #defines rather than inline functions.
<br>
MSVC doesn't inline them, and they are used in speed critical areas.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/lcms/include/lcms.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 18:53:00 +0100></a>
2011-05-02 18:53:00 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=eef6a4d712a79a5f8d5f48f43c2572d5f002fc38">eef6a4d712a79a5f8d5f48f43c2572d5f002fc38</a>
<blockquote>
<br>
Quiet valgrind warning, and remove misleading init.
<br>
<br>
Cherry picked from patt_trans_clist branch to fix bug 692138.
<br>
<br>
When run with valgrind on:
<br>
<br>
gs -sDEVICE=pbmraw -r300 -dMaxBitmap=100000000 -o out.pbm Bug690189c.pdf
<br>
<br>
Valgrind complains that params.GrayBackground is used without being
<br>
initialised. We fix this here by amending gs_trans_mask_params_init.
<br>
<br>
In so doing, we note that in zbegintransparencymaskgroup we were setting
<br>
params.ColorSpace, only to call gs_trans_mask_params_init and have it
<br>
overwrite it. To avoid confusion we therefore remove this needless init.
<br>
<br>
No cluster differences seen in testing.
<br>
<br>
gs/base/gstrans.c
<br>
gs/psi/ztrans.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-10 09:16:17 +0000></a>
2011-05-10 09:16:17 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b1cf87e28636a4922505e9c486b59e64c857717f">b1cf87e28636a4922505e9c486b59e64c857717f</a>
<blockquote>
<br>
Optimisations for mem_mono_strip_copy_rop_dev.
<br>
<br>
Now that mem_mono_strip_copy_rop_dev is working reliably, cut out the
<br>
excess debugging code so we can see the wood for the trees.
<br>
<br>
To cope with situations where we get narrow texture tiles, reinstate the
<br>
old code (as rop_run relies on longer runs to get traction). Add new cases
<br>
for no-textures to avoid nested loops etc.
<br>
<br>
This all seems to help with the performance of cicero_call.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevm1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-10 08:39:19 +0000></a>
2011-05-10 08:39:19 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2429ef51f12477d083bfcd3f15f97f90bb653b52">2429ef51f12477d083bfcd3f15f97f90bb653b52</a>
<blockquote>
<br>
Optimisations to gximono.c; special case the spp_out == 1 case.
<br>
<br>
Simple optimisations to the hotspots in image_render_mono_ht.
<br>
<br>
No real differences seen in cluster testing.
<br>
<br>
gs/base/gximono.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-09 23:46:09 +0000></a>
2011-05-09 23:46:09 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bf8d753f7346c0c97bd4109f0684993ab0a46041">bf8d753f7346c0c97bd4109f0684993ab0a46041</a>
<blockquote>
<br>
New gxdda.h formulation.
<br>
<br>
Rejig the gxdda macros slightly. We store more 'natural' values internally
<br>
and get code that optimises slightly better.
<br>
<br>
No differences expected in cluster testing (1 SEGV shown in my testing, but
<br>
I think that's random).
<br>
<br>
gs/base/gxdda.h
<br>
gs/base/gxi12bit.c
<br>
gs/base/sidscale.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-10 00:21:21 -0400></a>
2011-05-10 00:21:21 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0f5928344123e31229d31eb81e3f09b528170e38">0f5928344123e31229d31eb81e3f09b528170e38</a>
<blockquote>
<br>
Execute linkdest procedure in a stopped context to trap errors caused
<br>
by out-of-range link destinations that can occur in an invalid files or
<br>
during processing of a page range. Bug 692200.
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-09 14:47:48 -0600></a>
2011-05-09 14:47:48 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=df4e669177f7757a5c054084f4990599bef5c355">df4e669177f7757a5c054084f4990599bef5c355</a>
<blockquote>
<br>
Remove unused file should have been committed with e55d362f.
<br>
<br>
gs/base/gsnorop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-09 13:16:31 -0600></a>
2011-05-09 13:16:31 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e55d362f3370b4bff0d72dc58c4b7a08b0dba71a">e55d362f3370b4bff0d72dc58c4b7a08b0dba71a</a>
<blockquote>
<br>
Incorporate raster operation library into the core graphics library.
<br>
<br>
We were going to fold the roblib in for simplicity, more recently
<br>
the graphics library code has been refactored such that the raster op
<br>
library is always required. For example operations previously done in
<br>
the copy_mono code are now done with the raster op code.
<br>
<br>
CLUSTER_UNTESTED
<br>
<br>
gs/base/Makefile.in
<br>
gs/base/lib.mak
<br>
gs/base/msvclib.mak
<br>
gs/base/ugcclib.mak
<br>
language_switch/pspcl6_gcc.mak
<br>
language_switch/pspcl6_msvc.mak
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-05 16:16:22 +0100></a>
2011-05-05 16:16:22 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=60d4b088c6d314079643a92a3c4e983b116600a9">60d4b088c6d314079643a92a3c4e983b116600a9</a>
<blockquote>
<br>
Use defined default page size for nullpage device.
<br>
<br>
The nullpage device previously used a 1"x1" default page size, this changes it
<br>
to use the same default setting as other page devices (this can be Letter or
<br>
A4, set in a makefile).
<br>
<br>
Also, add some lower bounds checking to gslp.ps so that it will error out if
<br>
the page size is too small to hold at least one line of text.
<br>
<br>
No cluster difference expected.
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/lib/gslp.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-08 11:26:15 -0700></a>
2011-05-08 11:26:15 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c677c48f278aba56d45bf2601ed5d152287540f1">c677c48f278aba56d45bf2601ed5d152287540f1</a>
<blockquote>
<br>
Fix for compiler warning
<br>
<br>
gs/base/gsdevice.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-07 23:21:38 -0700></a>
2011-05-07 23:21:38 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b1d311f06250a07d4c360e67369980d199722694">b1d311f06250a07d4c360e67369980d199722694</a>
<blockquote>
<br>
Significant change in how the device profile is handled in ghostscript. This
<br>
change adds in a new device procedure called get_profile, which is going to
<br>
typically be set to gx_forward_get_profile or gx_default_get_profile. Most
<br>
internal devices like the pattern accumulator, the clip device, memory devices,
<br>
will use the gx_forward_get_profile procedure. In this way, the profile is
<br>
typically only maintained by the the target device. The gdevp14 device is the significant internal device that takes special handling due to the way that it
<br>
can change its ICC profile based upon the current transparency group color space. The get_profile procedure also passes along information about the object
<br>
type so that we will be able to easily add in the device dependent color
<br>
management. The rendering intent, which can also be object dependent is also returned by the call. This change has been cluster tested and showed no differences.
<br>
<br>
gs/base/gdevbit.c
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevmem.c
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevprn.c
<br>
gs/base/gdevrops.c
<br>
gs/base/gscms.h
<br>
gs/base/gscsepr.c
<br>
gs/base/gsdevice.c
<br>
gs/base/gsequivc.c
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gstrans.c
<br>
gs/base/gxccman.c
<br>
gs/base/gxclip.c
<br>
gs/base/gxclipm.c
<br>
gs/base/gxclist.c
<br>
gs/base/gxcmap.c
<br>
gs/base/gxcmap.h
<br>
gs/base/gxdevcli.h
<br>
gs/base/gxdevice.h
<br>
gs/base/gxi12bit.c
<br>
gs/base/gxicolor.c
<br>
gs/base/gximag3x.c
<br>
gs/base/gximono.c
<br>
gs/base/gxiscale.c
<br>
gs/base/gxpcmap.c
<br>
gs/contrib/opvp/gdevopvp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 08:57:07 -0400></a>
2011-05-06 08:57:07 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a065765cd3529d17ba687954d8f4deacd8319247">a065765cd3529d17ba687954d8f4deacd8319247</a>
<blockquote>
<br>
Add a missing check of the return value from runarg(). Bug 692189.
<br>
<br>
gs/psi/imainarg.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-06 01:13:51 -0400></a>
2011-05-06 01:13:51 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2822d8a9f4186aa14f3913258841b74ff87309cf">2822d8a9f4186aa14f3913258841b74ff87309cf</a>
<blockquote>
<br>
Check the type of /File and /Length attributes during XForm identification
<br>
to avoud confusion with appearance subdictionary, which can include any
<br>
attributes (including /File or /Length) pointing to a dictionary. Bug 692192.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-04 15:38:22 +0000></a>
2011-05-04 15:38:22 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2756e4d6160f73af7bf5ed913af207914aeee588">2756e4d6160f73af7bf5ed913af207914aeee588</a>
<blockquote>
<br>
Invert bmpcmps reading of cups files.
<br>
<br>
I had black <-> white. Easy fix.
<br>
<br>
gs/toolbin/bmpcmp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-04 15:08:36 +0100></a>
2011-05-04 15:08:36 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e97bf09450c5a08b591e0fca4ef59a21fb78b6ef">e97bf09450c5a08b591e0fca4ef59a21fb78b6ef</a>
<blockquote>
<br>
Fix bmpcmp to read cups colorspace=0 files too.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/toolbin/bmpcmp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-04 00:45:28 -0400></a>
2011-05-04 00:45:28 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2f0b609805f1abf42b4b10dd721d9fef3001a847">2f0b609805f1abf42b4b10dd721d9fef3001a847</a>
<blockquote>
<br>
Accept and skip any number of whitespace characters (including
<br>
just spaces) after the entry count in the xref table. Remove /lineeq
<br>
and /linene procedures that are no longer used. Bug 692177.
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-03 08:58:18 -0600></a>
2011-05-03 08:58:18 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=af70515f6dcd1ffae90250697325fee224182e17">af70515f6dcd1ffae90250697325fee224182e17</a>
<blockquote>
<br>
Retain or bias the reference count of the rop texture device.
<br>
<br>
The image code was using the rop texture device without any reference
<br>
counting, explicitly freeing the device when it was done. That was
<br>
fine if the device was the only device in the chain, however, linking
<br>
in other devices could lead indirectly to unintended freeing of the
<br>
rop device. A crash was seen in the the XL test file C705.BIN but
<br>
only with halftoning at particular resolutions like 72 dpi. We did
<br>
not study why the crash was limited to particular resolutions and
<br>
devices.
<br>
<br>
gs/base/gxipixel.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-03 17:45:45 +0100></a>
2011-05-03 17:45:45 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=afcbace446526e29bae11ce53bac5769a409e56f">afcbace446526e29bae11ce53bac5769a409e56f</a>
<blockquote>
<br>
Add gx_device_dump debugging function.
<br>
<br>
In DEBUG builds gx_device_dump(gx_device *dev, char *text); prints a
<br>
recursive listing of devices, their refcounts and names, and targets.
<br>
<br>
If anyone spots a forwarding device this doesn't work with, please let me
<br>
know.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gxdevcli.h
<br>
gs/base/gxdevsop.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-03 16:39:13 +0000></a>
2011-05-03 16:39:13 +0000</strong>
<br>Robin Watts <robin@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6d5e2bde4fe7a42bdd631fb0756f4fafc460ec41">6d5e2bde4fe7a42bdd631fb0756f4fafc460ec41</a>
<blockquote>
<br>
Fix copy_plane; was always copying into plane 0.
<br>
<br>
When writing copy_plane, I had neglected to offset into the data
<br>
according to the plane required.
<br>
<br>
CLUSTER_UNTESTED.
<br>
<br>
gs/base/gdevmpla.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 14:51:26 +0100></a>
2011-05-02 14:51:26 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a78476dd0be85f69885f2614be5ab614b03c9168">a78476dd0be85f69885f2614be5ab614b03c9168</a>
<blockquote>
<br>
Add support for cups (1bpp) files to bmpcmp.
<br>
<br>
gs/toolbin/bmpcmp.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 20:41:12 +0100></a>
2011-05-02 20:41:12 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=cc3562ce331bc45a89cebd49c91e10149b5a90b2">cc3562ce331bc45a89cebd49c91e10149b5a90b2</a>
<blockquote>
<br>
Solve windows debug build crash on exit with cups device.
<br>
<br>
It seems that the cups device takes it upon itself to close the output file
<br>
rather than leaving it for the ghostscript core to close as every other
<br>
device does. This upsets the windows DLL file handling.
<br>
<br>
The solution is simply to remove the lines that close the file. I've
<br>
checked both with Till and Ken, and they concur. Thanks.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/cups/gdevcups.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-05-02 14:32:18 +0100></a>
2011-05-02 14:32:18 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e784a5443d0bee380d1ad32055ad3075e3aa0995">e784a5443d0bee380d1ad32055ad3075e3aa0995</a>
<blockquote>
<br>
Change error return to remove confusion over meaning.
<br>
<br>
When we encounter a font whose charstring has been replaced with a PS
<br>
procedure, we were returning FT_Err_Invalid_File_Format, and using that
<br>
as a hint we should try to execute it as a PS procedure. This
<br>
turns out to be problematic as it is also the error return generated by
<br>
Freetype for an invalid charstring. In the case of an invalid charstring
<br>
we should fall back to the notdef, not attempt to execute the object as
<br>
Postscript.
<br>
<br>
So, change the error return value that *we* generate, and subsequently
<br>
check for, to FT_Err_Unknown_File_Format, which FT should never,
<br>
normally, generate during glyph interpretation. This means, in this
<br>
case, we correctly identify a failed attempt to interpret a charstring,
<br>
and use the notdef fallback - instead of, eventually, throwing an
<br>
error.
<br>
<br>
Bug 692176.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/psi/fapi_ft.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-30 19:01:53 +0100></a>
2011-04-30 19:01:53 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5091054103f3b07bbae8ab2fc75e6c6cc3fd7a86">5091054103f3b07bbae8ab2fc75e6c6cc3fd7a86</a>
<blockquote>
<br>
Remove unused variable.
<br>
<br>
gs/base/gdevpng.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-30 18:11:47 +0100></a>
2011-04-30 18:11:47 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=dcae57315a683272c799545783694c43545b6fe0">dcae57315a683272c799545783694c43545b6fe0</a>
<blockquote>
<br>
Fix PNG device error when no downscale specified.
<br>
<br>
When I introduced the downscaling to selected png devices, I neglected to
<br>
set a sensible default value for downscale factor. This means that if you
<br>
attempt to set any device parameters, without specifying -dDownScaleFactor
<br>
then you get a rangecheck error. This commit fixes that.
<br>
<br>
No cluster changes expected.
<br>
<br>
gs/base/gdevpng.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-30 08:38:31 -0400></a>
2011-04-30 08:38:31 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c98ade33d2b8fbc0ca6579c6d9e0ceb425374b0c">c98ade33d2b8fbc0ca6579c6d9e0ceb425374b0c</a>
<blockquote>
<br>
Normalize pattern /BBox in PDF interpreter before passing it to PS
<br>
to avoid a /rangecheck error. Bug 692174.
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-27 22:27:39 -0700></a>
2011-04-27 22:27:39 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b128a1424550b3462348bd40ecd768356cdb08ae">b128a1424550b3462348bd40ecd768356cdb08ae</a>
<blockquote>
<br>
Fix for reference counting issue of the compositor device at
<br>
the end of the clist playback. In most cases, the compositor rc
<br>
should be 1 at this point and so the device is closed and then
<br>
freed. The case, when it is not 1 is when we have a pattern
<br>
that has a transparency and is stored in a clist. In this case
<br>
the target for the pattern clist device is the main pdf14 device and
<br>
we increment the rc during this assignment. So, when the
<br>
playback completes, the rc of the compositor is 2. We do not
<br>
want to close and free the compositor, since it is part of the
<br>
main clist that we have going on. Instead we only want to
<br>
decrement the rc. The test file pattrans_big.pdf is now
<br>
handled correctly but has a rendering/tiling issue it appears.
<br>
<br>
This commit (from the patt_trans_clist_branch) has been cherry-picked
<br>
to the trunk to solve the SEGV in bug #692160. This leaves pdf14
<br>
compositors leaking though.
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-28 20:23:29 +0100></a>
2011-04-28 20:23:29 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1553ea878b414b4ac389f7cec4c2076bc52be966">1553ea878b414b4ac389f7cec4c2076bc52be966</a>
<blockquote>
<br>
Stop compiler turning for loop into memset in halftoning code.
<br>
<br>
The msvc compiler cleverly spots that a for loop can be turned
<br>
into a memset. Unfortunately it can't know that the values for
<br>
which the loop is called are normally so small that the calling
<br>
of the function costs more than simply doing the stores.
<br>
<br>
The fix is to cast the pointer to which we are storing to be
<br>
volatile. This saves a significant chunk of runtime for:
<br>
<br>
pcl6.exe -sDEVICE=bit -r600 -o null: -dLeadingEdge=3
<br>
cicero_call_CRF03-all-in_adobe-8_358p_xNuv288.xl
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/gxht_thresh.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-28 17:19:14 +0100></a>
2011-04-28 17:19:14 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=dd0ead1acfd2cf2fea4e417afdd4b52b06d8c3ad">dd0ead1acfd2cf2fea4e417afdd4b52b06d8c3ad</a>
<blockquote>
<br>
Ensure optimization flags get propogated for lcms
<br>
<br>
An inconcistency between definitions in the Unix and Windows builds meant
<br>
that on Windows several compiler flags (including that for optimization)
<br>
was not being used when buliding the lcms source files. The confusion
<br>
stems from Ghostscript requiring /Za to compile, and lcms failing to
<br>
compile with /Za.
<br>
<br>
Bug 692173.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/msvccmd.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-28 16:20:38 +0100></a>
2011-04-28 16:20:38 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=98a891175a74e4fdbdd2b5dc10a7fa60b9f75e16">98a891175a74e4fdbdd2b5dc10a7fa60b9f75e16</a>
<blockquote>
<br>
Add special case runrops for rops 0xF0 and CC (copy S and copy T).
<br>
<br>
This is in response to Norberts complaints about the speed of 9.02 with
<br>
cicero_call_CRF03-all-in_adobe-8_358p_xNuv288.xl and others.
<br>
<br>
gs/base/gsroprun.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-28 09:01:05 +0100></a>
2011-04-28 09:01:05 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=26e55117205eaf76dfa6011c29e287f84ec99799">26e55117205eaf76dfa6011c29e287f84ec99799</a>
<blockquote>
<br>
Change to include psi/ierrors.h.
<br>
<br>
psitop.c previously included the deprecated header file base/errors.h
<br>
which has now been removed. psi/ierrors.h is the correct header to
<br>
include.
<br>
<br>
No cluster differences expected.
<br>
<br>
psi/psitop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-28 08:10:39 +0100></a>
2011-04-28 08:10:39 +0100</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7132af8bb76824feb241374cf152349995b6cc10">7132af8bb76824feb241374cf152349995b6cc10</a>
<blockquote>
<br>
Remove the deprecated errors.h file.
<br>
<br>
Related to Bug 692151 in that it rendered the bug invalid.
<br>
<br>
No cluster differences expected.
<br>
<br>
gs/base/errors.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-25 18:58:52 -0600></a>
2011-04-25 18:58:52 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0361e41b57f8f4d798eb42e6320e6e96c355169d">0361e41b57f8f4d798eb42e6320e6e96c355169d</a>
<blockquote>
<br>
PJL filesystem commands can be made static.
<br>
<br>
Warning cleanup - make local functions static.
<br>
<br>
Use %s if the argument is not literal to address the warning "format
<br>
not a string literal and no format arguments".
<br>
<br>
Presumably a format specifier could appear in the character array
<br>
resulting in an argument mismatch.
<br>
<br>
pl/pjparse.c
<br>
pl/pjparsei.c
<br>
pl/plmain.c
<br>
pxl/pxtop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-25 17:53:50 -0600></a>
2011-04-25 17:53:50 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=732dc98f92f2132f21811cf8b2612c1091e65050">732dc98f92f2132f21811cf8b2612c1091e65050</a>
<blockquote>
<br>
Partially refactor image api so it can be shared between pcl and pxl,
<br>
also to move away from using the obsolete image api.
<br>
<br>
pl/pldraw.c
<br>
pl/pldraw.h
<br>
pxl/pximage.c
<br>
pxl/pxink.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 19:20:25 +0100></a>
2011-04-26 19:20:25 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=262c866a71d08c1709484d95ffb3639f53156078">262c866a71d08c1709484d95ffb3639f53156078</a>
<blockquote>
<br>
Fix for bug 692081. Antialiasing patterns results in white holes.
<br>
<br>
gx_default_copy_alpha simulates alpha by weighted average of RGB values.
<br>
When the alpha value is zero, the current implementation reads the current
<br>
background value, and just writes it back. This has the effect of making
<br>
any device that watches what devices get written to think that that pixel
<br>
is solid. (One such device is the pattern tile device where it collects what
<br>
pixels have been marked, and what haven't).
<br>
<br>
The CORRECT way to do this is to stop the line accumulation at that point,
<br>
flush everything to there, then start again a pixel later.
<br>
<br>
Doing this solves the bug, and causes no cluster changes.
<br>
<br>
gs/base/gdevdbit.c
<br>
gs/base/gxcindex.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 12:37:14 +0100></a>
2011-04-26 12:37:14 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=11b5fb512393a6e9d9bdf6c076dc388ebd8c7c3f">11b5fb512393a6e9d9bdf6c076dc388ebd8c7c3f</a>
<blockquote>
<br>
Fix warnings (unused variables and missing cases in switches).
<br>
<br>
gs/base/gdevddrw.c
<br>
gs/base/gstrans.c
<br>
gs/base/gxblend1.c
<br>
gs/base/gxiscale.c
<br>
gs/base/gxstroke.c
<br>
gs/psi/zicc.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 10:34:46 +0100></a>
2011-04-26 10:34:46 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a349c53ca01df5e425f25d1fa14d38c43d95b60c">a349c53ca01df5e425f25d1fa14d38c43d95b60c</a>
<blockquote>
<br>
Removed unused variables to quiet warnings.
<br>
<br>
gs/base/gdevtifs.c
<br>
gs/base/gxdownscale.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-25 22:56:41 -0700></a>
2011-04-25 22:56:41 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=79e14a10307ba37bcf00af1b05c1c52875d9774a">79e14a10307ba37bcf00af1b05c1c52875d9774a</a>
<blockquote>
<br>
Fix for multithreaded rendering crash that can occur due to race conditions between threads with the increment and decrement of the icc link cache object during the rendering of the bands. Fix involved place a lock around the operations. Thanks to Ray for helping with this.
<br>
<br>
gs/base/gxclrast.c
<br>
gs/base/gxclthrd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-25 17:37:09 -0700></a>
2011-04-25 17:37:09 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=03cb94a9da2cddd2b7055e8565dd797c67bf56f4">03cb94a9da2cddd2b7055e8565dd797c67bf56f4</a>
<blockquote>
<br>
Fix for memory leak in gdevp14 device. This involved making sure the overprint compositor was initialized retained with a ref count of 1 like the pdf14 device.
<br>
<br>
gs/base/gsovrc.c
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-26 00:53:07 +0100></a>
2011-04-26 00:53:07 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=16789dc892db636719383c2542aa9cec04092e4d">16789dc892db636719383c2542aa9cec04092e4d</a>
<blockquote>
<br>
Fix memory overwrite in png devices.
<br>
<br>
In my fiddling with the png devices the other day to add downscaling, I
<br>
omitted to extend the size of two of them (png16m and png48). This meant
<br>
that png16m was overwriting 8 bytes of memory after its device structure.
<br>
<br>
Fix this to solve a SEGV when DownScaleFactor is used.
<br>
<br>
gs/base/gdevpng.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-24 20:35:45 -0400></a>
2011-04-24 20:35:45 -0400</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5a6de969ae67a2318115c5e8e6e2b3b06fc58f3">f5a6de969ae67a2318115c5e8e6e2b3b06fc58f3</a>
<blockquote>
<br>
Split large beginbfrange..endbfrange blocks in ToUnicode CMaps into
<br>
smaller blocks to stay within the limits of various PS constricts and
<br>
speed up operand stack manipulation, esp. "counttomark -3 roll". Bug 691908.
<br>
<br>
gs/Resource/Init/pdf_font.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-25 09:31:32 -0600></a>
2011-04-25 09:31:32 -0600</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3b66709cafd05910f2442250e12d1918f239c34b">3b66709cafd05910f2442250e12d1918f239c34b</a>
<blockquote>
<br>
The new custom paper size implementation introduced a bug in
<br>
passthrough mode requiring additional state setup when we switch from
<br>
PXL to PCL state.
<br>
<br>
pcl/pcpage.c
<br>
pxl/pxpthr.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-22 15:40:50 -0600></a>
2011-04-22 15:40:50 -0600</strong>
<br>henrys <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=460ff495a31f8a87d0ed677eed2660fca79369fc">460ff495a31f8a87d0ed677eed2660fca79369fc</a>
<blockquote>
<br>
Revision 43a5362 modified a global variable. We address that by
<br>
making the page table a dynamic member of the pcl state.
<br>
<br>
pcl/pcommand.c
<br>
pcl/pcpage.c
<br>
pcl/pcstate.h
<br>
pcl/pcxfmst.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 23:25:50 -0600></a>
2011-04-20 23:25:50 -0600</strong>
<br>henrys <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e5a9f968265abc47a85811e620c79bedf87b1da0">e5a9f968265abc47a85811e620c79bedf87b1da0</a>
<blockquote>
<br>
Josef Hinteregger's patch to implement custom paper sizes in PJL and PCL,
<br>
bug #691587.
<br>
<br>
pcl/pcpage.c
<br>
pl/pjparse.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 23:20:34 -0700></a>
2011-04-20 23:20:34 -0700</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4ddefa258ee17e359429c901ef8a0a8f3b234083">4ddefa258ee17e359429c901ef8a0a8f3b234083</a>
<blockquote>
<br>
Fix to stop reset of ICC profile directory to the default directory (which is the romfs) when there is a VMreclaim. Previously if the VMreclaim happens while we are still in the process of initializing the icc manager this can cause a crash. This was the source of the crash with the tiffsep device when COMPILE_INITS=0.
<br>
<br>
gs/base/gsicc_manage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-22 18:08:10 +0100></a>
2011-04-22 18:08:10 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1b3908faa01c7ef6197374a27b1a5861f0a383fe">1b3908faa01c7ef6197374a27b1a5861f0a383fe</a>
<blockquote>
<br>
Extend downscaling to png devices too (from tiffscaled).
<br>
<br>
Extract the code to do downscaling/min feature size from tiffscaled{,8,24}
<br>
into a new gx_downscaler class. Make tiffscaled{,8,24} call this new class
<br>
with no change in functionality.
<br>
<br>
Make png devices call this new code. Only png16m and pnggray are actually
<br>
affected by downscaling though. Add a new pngmonod device to do grayscale
<br>
rendering internally and to downscale/min_feature_size/error diffuse to
<br>
monochrome.
<br>
<br>
gs/base/devs.mak
<br>
gs/base/gdevpng.c
<br>
gs/base/gdevprn.c
<br>
gs/base/gdevtifs.c
<br>
gs/base/gxdownscale.c
<br>
gs/base/gxdownscale.h
<br>
gs/base/lib.mak
<br>
gs/base/macos-mcp.mak
<br>
gs/base/macosx.mak
<br>
gs/base/openvms.mak
<br>
gs/base/unix-gcc.mak
<br>
gs/base/unixansi.mak
<br>
gs/doc/Devices.htm
<br>
gs/ghostscript.vcproj
<br>
gs/psi/msvc.mak
<br>
gs/psi/os2.mak
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 10:40:58 -0700></a>
2011-04-20 10:40:58 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8a203b909d59f8aa649492c23fa570afe3a61565">8a203b909d59f8aa649492c23fa570afe3a61565</a>
<blockquote>
<br>
Revert of a4c4877b35b6782ef64b382713eaa6bcd4eca8d6 since we decided to rename the directories back to their before svn => git transition names.
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 09:17:25 -0700></a>
2011-04-20 09:17:25 -0700</strong>
<br>mvrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=20b6c78ff6fb123bc11a068ca329a96d2452b529">20b6c78ff6fb123bc11a068ca329a96d2452b529</a>
<blockquote>
<br>
Fix for issue when creating ICC profiles from DEF/G structures. As a few progressions and fixes bug 692156 and likely bug 691977
<br>
<br>
gs/base/gsicc_create.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 21:23:01 -0700></a>
2011-04-19 21:23:01 -0700</strong>
<br>Marcos H. Woehrmann <marcos.woehrmann@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a4c4877b35b6782ef64b382713eaa6bcd4eca8d6">a4c4877b35b6782ef64b382713eaa6bcd4eca8d6</a>
<blockquote>
<br>
Modified clusterpush.pl to account for the new directory structure introduced with the svn => git transition.
<br>
<br>
gs/toolbin/localcluster/clusterpush.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 14:56:12 +0100></a>
2011-04-20 14:56:12 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0f57eacebce435c7da518b2d17638036a3ae5a40">0f57eacebce435c7da518b2d17638036a3ae5a40</a>
<blockquote>
<br>
Add bin directories to .gitignore file.
<br>
<br>
Also add some comments with useful lines that people might want to copy
<br>
to their local .git/info/exclude file.
<br>
<br>
.gitignore
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 14:46:26 +0100></a>
2011-04-20 14:46:26 +0100</strong>
<br>Robin Watts <Robin.Watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c10532c1b2e63dd6d6d95f1a0b578eb865ff4d9a">c10532c1b2e63dd6d6d95f1a0b578eb865ff4d9a</a>
<blockquote>
<br>
New tiffscaled8 and tiffscaled24 devices.
<br>
<br>
Add new tiffscaled8 and tiffscaled24 devices, copied and modified from
<br>
tiffscaled. These output greyscale and 24bit rgb instead of tiffscaleds
<br>
mono output. MinFeatureSize is ignored for these devices as it's meaningless
<br>
for contone output.
<br>
<br>
Error Diffusion is still done, but is almost certainly a waste of time - it
<br>
was just simpler to make the code work this way. If performance is an issue,
<br>
we can remove that later.
<br>
<br>
gs/base/configure.ac
<br>
gs/base/devs.mak
<br>
gs/base/gdevtifs.c
<br>
gs/base/gdevtifs.h
<br>
gs/base/gdevtsep.c
<br>
gs/base/macos-mcp.mak
<br>
gs/base/openvms.mak
<br>
gs/base/unix-gcc.mak
<br>
gs/base/unixansi.mak
<br>
gs/doc/Devices.htm
<br>
gs/psi/msvc.mak
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-20 00:00:45 +0200></a>
2011-04-20 00:00:45 +0200</strong>
<br>Tor Andersson <tor.andersson@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f6e8c8d24c4a2f66b45ce04ab544aaf8b305a0d1">f6e8c8d24c4a2f66b45ce04ab544aaf8b305a0d1</a>
<blockquote>
<br>
Change GS_PRODUCTFAMILY to say GIT instead of SVN PRERELEASE.
<br>
<br>
gs/base/gscdef.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 23:58:23 +0200></a>
2011-04-19 23:58:23 +0200</strong>
<br>Tor Andersson <tor.andersson@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c91007a224a533fb7582646d98b6bf1721f4f297">c91007a224a533fb7582646d98b6bf1721f4f297</a>
<blockquote>
<br>
Clean up file permissions.
<br>
<br>
COPYING.AFPL
<br>
gs/examples/golfer.eps
<br>
gs/examples/tiger.eps
<br>
gs/ghostscript-ufst.vcproj
<br>
gs/ghostscript.vcproj
<br>
gs/psi/winint.mak
<br>
tools/Acrobat2Tiff/Acrobat2Tiff.sln
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff.vbproj
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Application.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Application.myapp
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/AssemblyInfo.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Resources.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Resources.resx
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Settings.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Settings.settings
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/bin/Release/Acrobat2Tiff.xml
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/bin/Release/Interop.Acrobat.dll
<br>
tools/cmpi/cmpi.bkl
<br>
tools/cmpi/cmpi.cpp
<br>
tools/cmpi/cmpi.dsp
<br>
tools/cmpi/cmpi.dsw
<br>
tools/cmpi/cmpi.pro
<br>
tools/cmpi/cmpi.rc
<br>
tools/cmpi/cmpi.sln
<br>
tools/cmpi/cmpi.suo
<br>
tools/cmpi/cmpi.vcp
<br>
tools/cmpi/cmpi.vcproj
<br>
tools/cmpi/cmpi.vcw
<br>
tools/cmpi/descrip.mms
<br>
tools/cmpi/makefile.bcc
<br>
tools/cmpi/makefile.dmc
<br>
tools/cmpi/makefile.dms
<br>
tools/cmpi/makefile.dos
<br>
tools/cmpi/makefile.gcc
<br>
tools/cmpi/makefile.sc
<br>
tools/cmpi/makefile.unx
<br>
tools/cmpi/makefile.va
<br>
tools/cmpi/makefile.vc
<br>
tools/cmpi/makefile.wat
<br>
tools/tiger.svg
<br>
tools/xps2tiff/README
<br>
tools/xps2tiff/xps2tiff.sln
<br>
tools/xps2tiff/xps2tiff/AssemblyInfo.cpp
<br>
tools/xps2tiff/xps2tiff/stdafx.cpp
<br>
tools/xps2tiff/xps2tiff/xps2tiff.cpp
<br>
tools/xps2tiff/xps2tiff/xps2tiff.vcproj
<br>
win32/GhostPDL.sln
<br>
win32/ReadMe.txt
<br>
win32/language_switch.vcproj
<br>
win32/pcl.vcproj
<br>
win32/svg.vcproj
<br>
win32/xps.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 23:49:56 +0200></a>
2011-04-19 23:49:56 +0200</strong>
<br>Tor Andersson <tor.andersson@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=781969994b5381ba4bed03beef217f9bde6e7c58">781969994b5381ba4bed03beef217f9bde6e7c58</a>
<blockquote>
<br>
Indent with spaces and strip trailing whitespace.
<br>
<br>
gs/Resource/Init/gs_agl.ps
<br>
gs/Resource/Init/gs_btokn.ps
<br>
gs/Resource/Init/gs_cet.ps
<br>
gs/Resource/Init/gs_cff.ps
<br>
gs/Resource/Init/gs_cidcm.ps
<br>
gs/Resource/Init/gs_ciddc.ps
<br>
gs/Resource/Init/gs_cidfm.ps
<br>
gs/Resource/Init/gs_cidfn.ps
<br>
gs/Resource/Init/gs_cidtt.ps
<br>
gs/Resource/Init/gs_cmap.ps
<br>
gs/Resource/Init/gs_cspace.ps
<br>
gs/Resource/Init/gs_css_e.ps
<br>
gs/Resource/Init/gs_dbt_e.ps
<br>
gs/Resource/Init/gs_diskf.ps
<br>
gs/Resource/Init/gs_diskn.ps
<br>
gs/Resource/Init/gs_dpnxt.ps
<br>
gs/Resource/Init/gs_dps.ps
<br>
gs/Resource/Init/gs_dps1.ps
<br>
gs/Resource/Init/gs_dps2.ps
<br>
gs/Resource/Init/gs_dscp.ps
<br>
gs/Resource/Init/gs_epsf.ps
<br>
gs/Resource/Init/gs_fapi.ps
<br>
gs/Resource/Init/gs_fntem.ps
<br>
gs/Resource/Init/gs_fonts.ps
<br>
gs/Resource/Init/gs_frsd.ps
<br>
gs/Resource/Init/gs_icc.ps
<br>
gs/Resource/Init/gs_il1_e.ps
<br>
gs/Resource/Init/gs_img.ps
<br>
gs/Resource/Init/gs_init.ps
<br>
gs/Resource/Init/gs_l2img.ps
<br>
gs/Resource/Init/gs_lev2.ps
<br>
gs/Resource/Init/gs_ll3.ps
<br>
gs/Resource/Init/gs_mex_e.ps
<br>
gs/Resource/Init/gs_mgl_e.ps
<br>
gs/Resource/Init/gs_mro_e.ps
<br>
gs/Resource/Init/gs_pdf_e.ps
<br>
gs/Resource/Init/gs_pdfwr.ps
<br>
gs/Resource/Init/gs_res.ps
<br>
gs/Resource/Init/gs_resmp.ps
<br>
gs/Resource/Init/gs_setpd.ps
<br>
gs/Resource/Init/gs_statd.ps
<br>
gs/Resource/Init/gs_std_e.ps
<br>
gs/Resource/Init/gs_sym_e.ps
<br>
gs/Resource/Init/gs_trap.ps
<br>
gs/Resource/Init/gs_ttf.ps
<br>
gs/Resource/Init/gs_typ32.ps
<br>
gs/Resource/Init/gs_typ42.ps
<br>
gs/Resource/Init/gs_type1.ps
<br>
gs/Resource/Init/gs_wan_e.ps
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/Resource/Init/pdf_cslayer.ps
<br>
gs/Resource/Init/pdf_draw.ps
<br>
gs/Resource/Init/pdf_font.ps
<br>
gs/Resource/Init/pdf_main.ps
<br>
gs/Resource/Init/pdf_ops.ps
<br>
gs/Resource/Init/pdf_rbld.ps
<br>
gs/Resource/Init/pdf_sec.ps
<br>
gs/base/ConvertUTF.c
<br>
gs/base/ConvertUTF.h
<br>
gs/base/aes.c
<br>
gs/base/aes.h
<br>
gs/base/assert_.h
<br>
gs/base/ctype_.h
<br>
gs/base/dirent_.h
<br>
gs/base/dos_.h
<br>
gs/base/echogs.c
<br>
gs/base/errno_.h
<br>
gs/base/errors.h
<br>
gs/base/fcntl_.h
<br>
gs/base/gconf.c
<br>
gs/base/gconf.h
<br>
gs/base/gdebug.h
<br>
gs/base/gdev3852.c
<br>
gs/base/gdev3b1.c
<br>
gs/base/gdev4081.c
<br>
gs/base/gdev4693.c
<br>
gs/base/gdev8510.c
<br>
gs/base/gdev8bcm.c
<br>
gs/base/gdev8bcm.h
<br>
gs/base/gdevabuf.c
<br>
gs/base/gdevadmp.c
<br>
gs/base/gdevatx.c
<br>
gs/base/gdevbbox.c
<br>
gs/base/gdevbbox.h
<br>
gs/base/gdevbit.c
<br>
gs/base/gdevbj10.c
<br>
gs/base/gdevbjc.h
<br>
gs/base/gdevbjcl.c
<br>
gs/base/gdevbjcl.h
<br>
gs/base/gdevbmp.c
<br>
gs/base/gdevbmp.h
<br>
gs/base/gdevbmpa.c
<br>
gs/base/gdevbmpc.c
<br>
gs/base/gdevccr.c
<br>
gs/base/gdevcdj.c
<br>
gs/base/gdevcfax.c
<br>
gs/base/gdevcgm.c
<br>
gs/base/gdevcgml.c
<br>
gs/base/gdevcgml.h
<br>
gs/base/gdevcgmx.h
<br>
gs/base/gdevcif.c
<br>
gs/base/gdevclj.c
<br>
gs/base/gdevcljc.c
<br>
gs/base/gdevcp50.c
<br>
gs/base/gdevcslw.c
<br>
gs/base/gdevdbit.c
<br>
gs/base/gdevdcrd.c
<br>
gs/base/gdevdcrd.h
<br>
gs/base/gdevddrw.c
<br>
gs/base/gdevddrw.h
<br>
gs/base/gdevdevn.c
<br>
gs/base/gdevdevn.h
<br>
gs/base/gdevdfax.c
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevdgbr.c
<br>
gs/base/gdevdjet.c
<br>
gs/base/gdevdjtc.c
<br>
gs/base/gdevdljm.c
<br>
gs/base/gdevdljm.h
<br>
gs/base/gdevdm24.c
<br>
gs/base/gdevdsha.c
<br>
gs/base/gdevdsp.c
<br>
gs/base/gdevdsp.h
<br>
gs/base/gdevdsp2.h
<br>
gs/base/gdevemap.c
<br>
gs/base/gdevepsc.c
<br>
gs/base/gdevepsn.c
<br>
gs/base/gdevescp.c
<br>
gs/base/gdevevga.c
<br>
gs/base/gdevfax.c
<br>
gs/base/gdevfax.h
<br>
gs/base/gdevherc.c
<br>
gs/base/gdevhit.c
<br>
gs/base/gdevhl7x.c
<br>
gs/base/gdevifno.c
<br>
gs/base/gdevijs.c
<br>
gs/base/gdevimdi.c
<br>
gs/base/gdevimgn.c
<br>
gs/base/gdevjbig2.c
<br>
gs/base/gdevjpeg.c
<br>
gs/base/gdevjpx.c
<br>
gs/base/gdevl256.c
<br>
gs/base/gdevl31s.c
<br>
gs/base/gdevlbp8.c
<br>
gs/base/gdevlj56.c
<br>
gs/base/gdevlp8k.c
<br>
gs/base/gdevlxm.c
<br>
gs/base/gdevm1.c
<br>
gs/base/gdevm16.c
<br>
gs/base/gdevm2.c
<br>
gs/base/gdevm24.c
<br>
gs/base/gdevm32.c
<br>
gs/base/gdevm4.c
<br>
gs/base/gdevm40.c
<br>
gs/base/gdevm48.c
<br>
gs/base/gdevm56.c
<br>
gs/base/gdevm64.c
<br>
gs/base/gdevmac.c
<br>
gs/base/gdevmac.h
<br>
gs/base/gdevmacpictop.h
<br>
gs/base/gdevmacttf.h
<br>
gs/base/gdevmacxf.c
<br>
gs/base/gdevmeds.c
<br>
gs/base/gdevmeds.h
<br>
gs/base/gdevmem.c
<br>
gs/base/gdevmem.h
<br>
gs/base/gdevmgr.c
<br>
gs/base/gdevmgr.h
<br>
gs/base/gdevmiff.c
<br>
gs/base/gdevmpla.h
<br>
gs/base/gdevmr1.c
<br>
gs/base/gdevmr2n.c
<br>
gs/base/gdevmrop.h
<br>
gs/base/gdevmrun.c
<br>
gs/base/gdevmrun.h
<br>
gs/base/gdevmswn.c
<br>
gs/base/gdevmswn.h
<br>
gs/base/gdevmsxf.c
<br>
gs/base/gdevn533.c
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevo182.c
<br>
gs/base/gdevokii.c
<br>
gs/base/gdevos2p.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevp14.h
<br>
gs/base/gdevp2up.c
<br>
gs/base/gdevpbm.c
<br>
gs/base/gdevpccm.c
<br>
gs/base/gdevpccm.h
<br>
gs/base/gdevpcfb.c
<br>
gs/base/gdevpcfb.h
<br>
gs/base/gdevpcl.c
<br>
gs/base/gdevpcl.h
<br>
gs/base/gdevpcx.c
<br>
gs/base/gdevpdf.c
<br>
gs/base/gdevpdfb.c
<br>
gs/base/gdevpdfb.h
<br>
gs/base/gdevpdfc.c
<br>
gs/base/gdevpdfc.h
<br>
gs/base/gdevpdfd.c
<br>
gs/base/gdevpdfe.c
<br>
gs/base/gdevpdfg.c
<br>
gs/base/gdevpdfg.h
<br>
gs/base/gdevpdfi.c
<br>
gs/base/gdevpdfj.c
<br>
gs/base/gdevpdfk.c
<br>
gs/base/gdevpdfm.c
<br>
gs/base/gdevpdfo.c
<br>
gs/base/gdevpdfo.h
<br>
gs/base/gdevpdfp.c
<br>
gs/base/gdevpdfr.c
<br>
gs/base/gdevpdft.c
<br>
gs/base/gdevpdfu.c
<br>
gs/base/gdevpdfv.c
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevpdt.c
<br>
gs/base/gdevpdt.h
<br>
gs/base/gdevpdtb.c
<br>
gs/base/gdevpdtb.h
<br>
gs/base/gdevpdtc.c
<br>
gs/base/gdevpdtd.c
<br>
gs/base/gdevpdtd.h
<br>
gs/base/gdevpdte.c
<br>
gs/base/gdevpdtf.c
<br>
gs/base/gdevpdtf.h
<br>
gs/base/gdevpdti.c
<br>
gs/base/gdevpdti.h
<br>
gs/base/gdevpdts.c
<br>
gs/base/gdevpdts.h
<br>
gs/base/gdevpdtt.c
<br>
gs/base/gdevpdtt.h
<br>
gs/base/gdevpdtv.c
<br>
gs/base/gdevpdtv.h
<br>
gs/base/gdevpdtw.c
<br>
gs/base/gdevpdtw.h
<br>
gs/base/gdevpdtx.h
<br>
gs/base/gdevpe.c
<br>
gs/base/gdevperm.c
<br>
gs/base/gdevphex.c
<br>
gs/base/gdevpipe.c
<br>
gs/base/gdevpjet.c
<br>
gs/base/gdevplib.c
<br>
gs/base/gdevplnx.c
<br>
gs/base/gdevplnx.h
<br>
gs/base/gdevpm.h
<br>
gs/base/gdevpng.c
<br>
gs/base/gdevppla.c
<br>
gs/base/gdevppla.h
<br>
gs/base/gdevprn.c
<br>
gs/base/gdevprn.h
<br>
gs/base/gdevprna.c
<br>
gs/base/gdevprna.h
<br>
gs/base/gdevps.c
<br>
gs/base/gdevpsd.c
<br>
gs/base/gdevpsdf.h
<br>
gs/base/gdevpsdi.c
<br>
gs/base/gdevpsdp.c
<br>
gs/base/gdevpsds.c
<br>
gs/base/gdevpsds.h
<br>
gs/base/gdevpsdu.c
<br>
gs/base/gdevpsf.h
<br>
gs/base/gdevpsf1.c
<br>
gs/base/gdevpsf2.c
<br>
gs/base/gdevpsfm.c
<br>
gs/base/gdevpsft.c
<br>
gs/base/gdevpsfu.c
<br>
gs/base/gdevpsfx.c
<br>
gs/base/gdevpsim.c
<br>
gs/base/gdevpsu.c
<br>
gs/base/gdevpsu.h
<br>
gs/base/gdevpx.c
<br>
gs/base/gdevpxen.h
<br>
gs/base/gdevpxop.h
<br>
gs/base/gdevpxut.c
<br>
gs/base/gdevpxut.h
<br>
gs/base/gdevrinkj.c
<br>
gs/base/gdevrops.c
<br>
gs/base/gdevs3ga.c
<br>
gs/base/gdevsco.c
<br>
gs/base/gdevsgi.c
<br>
gs/base/gdevsgi.h
<br>
gs/base/gdevsj48.c
<br>
gs/base/gdevsnfb.c
<br>
gs/base/gdevsppr.c
<br>
gs/base/gdevstc.c
<br>
gs/base/gdevstc.h
<br>
gs/base/gdevstc1.c
<br>
gs/base/gdevstc2.c
<br>
gs/base/gdevstc3.c
<br>
gs/base/gdevstc4.c
<br>
gs/base/gdevsun.c
<br>
gs/base/gdevsunr.c
<br>
gs/base/gdevsvg.c
<br>
gs/base/gdevsvga.c
<br>
gs/base/gdevsvga.h
<br>
gs/base/gdevtfax.c
<br>
gs/base/gdevtfax.h
<br>
gs/base/gdevtfnx.c
<br>
gs/base/gdevtifs.c
<br>
gs/base/gdevtifs.h
<br>
gs/base/gdevtknk.c
<br>
gs/base/gdevtrac.c
<br>
gs/base/gdevtsep.c
<br>
gs/base/gdevtxtw.c
<br>
gs/base/gdevupd.c
<br>
gs/base/gdevvec.c
<br>
gs/base/gdevvec.h
<br>
gs/base/gdevvglb.c
<br>
gs/base/gdevwddb.c
<br>
gs/base/gdevwdib.c
<br>
gs/base/gdevwpr2.c
<br>
gs/base/gdevwprn.c
<br>
gs/base/gdevwts.c
<br>
gs/base/gdevx.c
<br>
gs/base/gdevx.h
<br>
gs/base/gdevxalt.c
<br>
gs/base/gdevxcf.c
<br>
gs/base/gdevxcmp.c
<br>
gs/base/gdevxcmp.h
<br>
gs/base/gdevxini.c
<br>
gs/base/gdevxres.c
<br>
gs/base/gdevxxf.c
<br>
gs/base/genarch.c
<br>
gs/base/genconf.c
<br>
gs/base/gendev.c
<br>
gs/base/genht.c
<br>
gs/base/gp.h
<br>
gs/base/gp_dosfe.c
<br>
gs/base/gp_dosfs.c
<br>
gs/base/gp_dvx.c
<br>
gs/base/gp_getnv.c
<br>
gs/base/gp_mac.c
<br>
gs/base/gp_mac.h
<br>
gs/base/gp_macio.c
<br>
gs/base/gp_macpoll.c
<br>
gs/base/gp_mktmp.c
<br>
gs/base/gp_msdll.c
<br>
gs/base/gp_msdos.c
<br>
gs/base/gp_mshdl.c
<br>
gs/base/gp_mslib.c
<br>
gs/base/gp_mspol.c
<br>
gs/base/gp_msprn.c
<br>
gs/base/gp_mswin.c
<br>
gs/base/gp_mswin.h
<br>
gs/base/gp_nsync.c
<br>
gs/base/gp_ntfs.c
<br>
gs/base/gp_os2.c
<br>
gs/base/gp_os2.h
<br>
gs/base/gp_os2fs.c
<br>
gs/base/gp_os2pr.c
<br>
gs/base/gp_os9.c
<br>
gs/base/gp_paper.c
<br>
gs/base/gp_psync.c
<br>
gs/base/gp_stdia.c
<br>
gs/base/gp_stdin.c
<br>
gs/base/gp_strdl.c
<br>
gs/base/gp_sysv.c
<br>
gs/base/gp_unix.c
<br>
gs/base/gp_unix_cache.c
<br>
gs/base/gp_upapr.c
<br>
gs/base/gp_vms.c
<br>
gs/base/gp_wgetv.c
<br>
gs/base/gp_win32.c
<br>
gs/base/gp_wpapr.c
<br>
gs/base/gp_wsync.c
<br>
gs/base/gpcheck.h
<br>
gs/base/gpgetenv.h
<br>
gs/base/gpmisc.c
<br>
gs/base/gpmisc.h
<br>
gs/base/gs_agl.h
<br>
gs/base/gs_dll_call.h
<br>
gs/base/gs_mgl_e.h
<br>
gs/base/gs_mro_e.h
<br>
gs/base/gsalloc.c
<br>
gs/base/gsalloc.h
<br>
gs/base/gsalpha.c
<br>
gs/base/gsalpha.h
<br>
gs/base/gsalphac.c
<br>
gs/base/gsalphac.h
<br>
gs/base/gsargs.c
<br>
gs/base/gsargs.h
<br>
gs/base/gsbitcom.c
<br>
gs/base/gsbitmap.h
<br>
gs/base/gsbitops.c
<br>
gs/base/gsbittab.c
<br>
gs/base/gsbittab.h
<br>
gs/base/gsccode.h
<br>
gs/base/gsccolor.h
<br>
gs/base/gscdef.c
<br>
gs/base/gscdefs.h
<br>
gs/base/gscdevn.c
<br>
gs/base/gscdevn.h
<br>
gs/base/gscedata.c
<br>
gs/base/gscedata.h
<br>
gs/base/gscencs.c
<br>
gs/base/gscencs.h
<br>
gs/base/gschar.c
<br>
gs/base/gschar.h
<br>
gs/base/gschar0.c
<br>
gs/base/gscicach.c
<br>
gs/base/gscicach.h
<br>
gs/base/gscie.c
<br>
gs/base/gscie.h
<br>
gs/base/gsciemap.c
<br>
gs/base/gscindex.h
<br>
gs/base/gsclipsr.c
<br>
gs/base/gsclipsr.h
<br>
gs/base/gscms.h
<br>
gs/base/gscolor.c
<br>
gs/base/gscolor.h
<br>
gs/base/gscolor1.c
<br>
gs/base/gscolor1.h
<br>
gs/base/gscolor2.c
<br>
gs/base/gscolor2.h
<br>
gs/base/gscolor3.c
<br>
gs/base/gscolor3.h
<br>
gs/base/gscolorbuffer.c
<br>
gs/base/gscolorbuffer.h
<br>
gs/base/gscompt.h
<br>
gs/base/gscoord.c
<br>
gs/base/gscoord.h
<br>
gs/base/gscparam.c
<br>
gs/base/gscpixel.c
<br>
gs/base/gscpixel.h
<br>
gs/base/gscpm.h
<br>
gs/base/gscrd.c
<br>
gs/base/gscrd.h
<br>
gs/base/gscrdp.c
<br>
gs/base/gscrdp.h
<br>
gs/base/gscrypt1.c
<br>
gs/base/gscrypt1.h
<br>
gs/base/gscscie.c
<br>
gs/base/gscsel.h
<br>
gs/base/gscsepr.c
<br>
gs/base/gscsepr.h
<br>
gs/base/gscspace.c
<br>
gs/base/gscspace.h
<br>
gs/base/gscssub.c
<br>
gs/base/gscssub.h
<br>
gs/base/gsdcolor.h
<br>
gs/base/gsdevice.c
<br>
gs/base/gsdevice.h
<br>
gs/base/gsdevmem.c
<br>
gs/base/gsdfilt.c
<br>
gs/base/gsdfilt.h
<br>
gs/base/gsdll.h
<br>
gs/base/gsdllwin.h
<br>
gs/base/gsdparam.c
<br>
gs/base/gsdpnext.h
<br>
gs/base/gsdps.c
<br>
gs/base/gsdps.h
<br>
gs/base/gsdps1.c
<br>
gs/base/gsdsrc.c
<br>
gs/base/gsdsrc.h
<br>
gs/base/gsequivc.c
<br>
gs/base/gsequivc.h
<br>
gs/base/gserror.h
<br>
gs/base/gserrors.h
<br>
gs/base/gsexit.h
<br>
gs/base/gsfcid.c
<br>
gs/base/gsfcid2.c
<br>
gs/base/gsfcmap.c
<br>
gs/base/gsfcmap.h
<br>
gs/base/gsfcmap1.c
<br>
gs/base/gsflip.c
<br>
gs/base/gsflip.h
<br>
gs/base/gsfname.c
<br>
gs/base/gsfname.h
<br>
gs/base/gsfont.c
<br>
gs/base/gsfont.h
<br>
gs/base/gsfont0.c
<br>
gs/base/gsfont0c.c
<br>
gs/base/gsfunc.c
<br>
gs/base/gsfunc.h
<br>
gs/base/gsfunc0.c
<br>
gs/base/gsfunc0.h
<br>
gs/base/gsfunc3.c
<br>
gs/base/gsfunc3.h
<br>
gs/base/gsfunc4.c
<br>
gs/base/gsfunc4.h
<br>
gs/base/gsgc.h
<br>
gs/base/gsgcache.c
<br>
gs/base/gsgcache.h
<br>
gs/base/gsgdata.c
<br>
gs/base/gsgdata.h
<br>
gs/base/gshsb.c
<br>
gs/base/gshsb.h
<br>
gs/base/gsht.c
<br>
gs/base/gsht.h
<br>
gs/base/gsht1.c
<br>
gs/base/gsht1.h
<br>
gs/base/gshtscr.c
<br>
gs/base/gshtx.c
<br>
gs/base/gshtx.h
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc.h
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gsicc_cache.h
<br>
gs/base/gsicc_cms.h
<br>
gs/base/gsicc_create.c
<br>
gs/base/gsicc_create.h
<br>
gs/base/gsicc_lcms.c
<br>
gs/base/gsicc_lcms2.c
<br>
gs/base/gsicc_manage.c
<br>
gs/base/gsicc_manage.h
<br>
gs/base/gsicc_profilecache.c
<br>
gs/base/gsicc_profilecache.h
<br>
gs/base/gsimage.c
<br>
gs/base/gsimage.h
<br>
gs/base/gsimpath.c
<br>
gs/base/gsinit.c
<br>
gs/base/gsio.h
<br>
gs/base/gsiodev.c
<br>
gs/base/gsiodevs.c
<br>
gs/base/gsiodisk.c
<br>
gs/base/gsiomacres.c
<br>
gs/base/gsiorom.c
<br>
gs/base/gsiorom.h
<br>
gs/base/gsipar3x.h
<br>
gs/base/gsiparam.h
<br>
gs/base/gsiparm2.h
<br>
gs/base/gsiparm3.h
<br>
gs/base/gsiparm4.h
<br>
gs/base/gsistate.c
<br>
gs/base/gsjconf.h
<br>
gs/base/gsjmorec.h
<br>
gs/base/gslib.c
<br>
gs/base/gslib.h
<br>
gs/base/gslibctx.c
<br>
gs/base/gslibctx.h
<br>
gs/base/gsline.c
<br>
gs/base/gsline.h
<br>
gs/base/gslparam.h
<br>
gs/base/gsmalloc.c
<br>
gs/base/gsmalloc.h
<br>
gs/base/gsmatrix.c
<br>
gs/base/gsmatrix.h
<br>
gs/base/gsmchunk.c
<br>
gs/base/gsmchunk.h
<br>
gs/base/gsmdebug.h
<br>
gs/base/gsmemlok.c
<br>
gs/base/gsmemlok.h
<br>
gs/base/gsmemory.c
<br>
gs/base/gsmemory.h
<br>
gs/base/gsmemraw.h
<br>
gs/base/gsmemret.c
<br>
gs/base/gsmemret.h
<br>
gs/base/gsmisc.c
<br>
gs/base/gsnamecl.c
<br>
gs/base/gsnamecl.h
<br>
gs/base/gsncdummy.c
<br>
gs/base/gsncdummy.h
<br>
gs/base/gsnogc.c
<br>
gs/base/gsnogc.h
<br>
gs/base/gsnorop.c
<br>
gs/base/gsnotify.c
<br>
gs/base/gsnotify.h
<br>
gs/base/gsovrc.c
<br>
gs/base/gsovrc.h
<br>
gs/base/gspaint.c
<br>
gs/base/gspaint.h
<br>
gs/base/gsparam.c
<br>
gs/base/gsparam.h
<br>
gs/base/gsparam2.c
<br>
gs/base/gsparams.c
<br>
gs/base/gsparams.h
<br>
gs/base/gsparamx.c
<br>
gs/base/gsparamx.h
<br>
gs/base/gspath.c
<br>
gs/base/gspath.h
<br>
gs/base/gspath1.c
<br>
gs/base/gspath2.h
<br>
gs/base/gspcolor.c
<br>
gs/base/gspcolor.h
<br>
gs/base/gspenum.h
<br>
gs/base/gspmdrv.c
<br>
gs/base/gspmdrv.h
<br>
gs/base/gsptype1.c
<br>
gs/base/gsptype1.h
<br>
gs/base/gsptype2.c
<br>
gs/base/gsptype2.h
<br>
gs/base/gsrect.h
<br>
gs/base/gsrefct.h
<br>
gs/base/gsromfs0.c
<br>
gs/base/gsrop.c
<br>
gs/base/gsrop.h
<br>
gs/base/gsroprun.c
<br>
gs/base/gsropt.h
<br>
gs/base/gsroptab.c
<br>
gs/base/gsserial.c
<br>
gs/base/gsserial.h
<br>
gs/base/gsshade.c
<br>
gs/base/gsshade.h
<br>
gs/base/gsstate.c
<br>
gs/base/gsstate.h
<br>
gs/base/gsstruct.h
<br>
gs/base/gsstype.h
<br>
gs/base/gstext.c
<br>
gs/base/gstext.h
<br>
gs/base/gstparam.h
<br>
gs/base/gstrans.c
<br>
gs/base/gstrans.h
<br>
gs/base/gstrap.c
<br>
gs/base/gstrap.h
<br>
gs/base/gstype1.c
<br>
gs/base/gstype1.h
<br>
gs/base/gstype2.c
<br>
gs/base/gstype42.c
<br>
gs/base/gstypes.h
<br>
gs/base/gsuid.h
<br>
gs/base/gsutil.c
<br>
gs/base/gsutil.h
<br>
gs/base/gswts.c
<br>
gs/base/gswts.h
<br>
gs/base/gsxfont.h
<br>
gs/base/gx.h
<br>
gs/base/gxacpath.c
<br>
gs/base/gxalloc.h
<br>
gs/base/gxalpha.h
<br>
gs/base/gxarith.h
<br>
gs/base/gxband.h
<br>
gs/base/gxbcache.c
<br>
gs/base/gxbcache.h
<br>
gs/base/gxbitfmt.h
<br>
gs/base/gxbitmap.h
<br>
gs/base/gxbitops.h
<br>
gs/base/gxblend.c
<br>
gs/base/gxblend.h
<br>
gs/base/gxblend1.c
<br>
gs/base/gxccache.c
<br>
gs/base/gxccman.c
<br>
gs/base/gxcdevn.h
<br>
gs/base/gxchar.h
<br>
gs/base/gxchrout.c
<br>
gs/base/gxchrout.h
<br>
gs/base/gxcht.c
<br>
gs/base/gxcid.h
<br>
gs/base/gxcie.h
<br>
gs/base/gxcindex.h
<br>
gs/base/gxclbits.c
<br>
gs/base/gxcldev.h
<br>
gs/base/gxclfile.c
<br>
gs/base/gxclimag.c
<br>
gs/base/gxclio.h
<br>
gs/base/gxclip.c
<br>
gs/base/gxclip.h
<br>
gs/base/gxclip2.c
<br>
gs/base/gxclip2.h
<br>
gs/base/gxclipm.c
<br>
gs/base/gxclipm.h
<br>
gs/base/gxclipsr.h
<br>
gs/base/gxclist.c
<br>
gs/base/gxclist.h
<br>
gs/base/gxcllzw.c
<br>
gs/base/gxclmem.c
<br>
gs/base/gxclmem.h
<br>
gs/base/gxclpage.c
<br>
gs/base/gxclpage.h
<br>
gs/base/gxclpath.c
<br>
gs/base/gxclpath.h
<br>
gs/base/gxclrast.c
<br>
gs/base/gxclread.c
<br>
gs/base/gxclrect.c
<br>
gs/base/gxclthrd.c
<br>
gs/base/gxclthrd.h
<br>
gs/base/gxclutil.c
<br>
gs/base/gxcmap.c
<br>
gs/base/gxcmap.h
<br>
gs/base/gxcolor2.h
<br>
gs/base/gxcomp.h
<br>
gs/base/gxcoord.h
<br>
gs/base/gxcpath.c
<br>
gs/base/gxcpath.h
<br>
gs/base/gxcspace.h
<br>
gs/base/gxctable.c
<br>
gs/base/gxctable.h
<br>
gs/base/gxcvalue.h
<br>
gs/base/gxdcconv.c
<br>
gs/base/gxdcconv.h
<br>
gs/base/gxdcolor.c
<br>
gs/base/gxdcolor.h
<br>
gs/base/gxdda.h
<br>
gs/base/gxdevbuf.h
<br>
gs/base/gxdevcli.h
<br>
gs/base/gxdevmem.h
<br>
gs/base/gxdevndi.c
<br>
gs/base/gxdevndi.h
<br>
gs/base/gxdevrop.h
<br>
gs/base/gxdevsop.h
<br>
gs/base/gxdht.h
<br>
gs/base/gxdhtres.h
<br>
gs/base/gxdhtserial.c
<br>
gs/base/gxdhtserial.h
<br>
gs/base/gxdither.h
<br>
gs/base/gxdtfill.h
<br>
gs/base/gxfapiu.c
<br>
gs/base/gxfapiu.h
<br>
gs/base/gxfarith.h
<br>
gs/base/gxfcache.h
<br>
gs/base/gxfcid.h
<br>
gs/base/gxfcmap.h
<br>
gs/base/gxfcmap1.h
<br>
gs/base/gxfcopy.c
<br>
gs/base/gxfcopy.h
<br>
gs/base/gxfdrop.c
<br>
gs/base/gxfdrop.h
<br>
gs/base/gxfill.c
<br>
gs/base/gxfill.h
<br>
gs/base/gxfillsl.h
<br>
gs/base/gxfilltr.h
<br>
gs/base/gxfillts.h
<br>
gs/base/gxfixed.h
<br>
gs/base/gxfmap.h
<br>
gs/base/gxfont.h
<br>
gs/base/gxfont0.h
<br>
gs/base/gxfont0c.h
<br>
gs/base/gxfont1.h
<br>
gs/base/gxfont42.h
<br>
gs/base/gxfrac.h
<br>
gs/base/gxftype.h
<br>
gs/base/gxfunc.h
<br>
gs/base/gxgetbit.h
<br>
gs/base/gxhintn.c
<br>
gs/base/gxhintn.h
<br>
gs/base/gxhintn1.c
<br>
gs/base/gxhldevc.c
<br>
gs/base/gxhldevc.h
<br>
gs/base/gxht.c
<br>
gs/base/gxht.h
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxht_thresh.h
<br>
gs/base/gxhtbit.c
<br>
gs/base/gxhttile.h
<br>
gs/base/gxhttype.h
<br>
gs/base/gxi12bit.c
<br>
gs/base/gxi16bit.c
<br>
gs/base/gxiclass.h
<br>
gs/base/gxicolor.c
<br>
gs/base/gxidata.c
<br>
gs/base/gxifast.c
<br>
gs/base/gximag3x.c
<br>
gs/base/gximag3x.h
<br>
gs/base/gximage.c
<br>
gs/base/gximage.h
<br>
gs/base/gximage1.c
<br>
gs/base/gximage2.c
<br>
gs/base/gximage3.c
<br>
gs/base/gximage3.h
<br>
gs/base/gximage4.c
<br>
gs/base/gximask.c
<br>
gs/base/gximask.h
<br>
gs/base/gximono.c
<br>
gs/base/gxino12b.c
<br>
gs/base/gxino16b.c
<br>
gs/base/gxiodev.h
<br>
gs/base/gxiparam.h
<br>
gs/base/gxipixel.c
<br>
gs/base/gxiscale.c
<br>
gs/base/gxistate.h
<br>
gs/base/gxline.h
<br>
gs/base/gxlum.h
<br>
gs/base/gxmatrix.h
<br>
gs/base/gxmclip.c
<br>
gs/base/gxmclip.h
<br>
gs/base/gxobj.h
<br>
gs/base/gxoprect.c
<br>
gs/base/gxoprect.h
<br>
gs/base/gxp1fill.c
<br>
gs/base/gxp1impl.h
<br>
gs/base/gxpageq.c
<br>
gs/base/gxpageq.h
<br>
gs/base/gxpaint.c
<br>
gs/base/gxpaint.h
<br>
gs/base/gxpath.c
<br>
gs/base/gxpath.h
<br>
gs/base/gxpath2.c
<br>
gs/base/gxpcache.h
<br>
gs/base/gxpcmap.c
<br>
gs/base/gxpcolor.h
<br>
gs/base/gxpcopy.c
<br>
gs/base/gxpdash.c
<br>
gs/base/gxpflat.c
<br>
gs/base/gxrplane.h
<br>
gs/base/gxsample.c
<br>
gs/base/gxsample.h
<br>
gs/base/gxsamplp.h
<br>
gs/base/gxshade.c
<br>
gs/base/gxshade.h
<br>
gs/base/gxshade1.c
<br>
gs/base/gxshade4.c
<br>
gs/base/gxshade4.h
<br>
gs/base/gxshade6.c
<br>
gs/base/gxstate.h
<br>
gs/base/gxstdio.h
<br>
gs/base/gxstroke.c
<br>
gs/base/gxsync.c
<br>
gs/base/gxsync.h
<br>
gs/base/gxtext.h
<br>
gs/base/gxtmap.h
<br>
gs/base/gxttf.h
<br>
gs/base/gxttfb.c
<br>
gs/base/gxttfb.h
<br>
gs/base/gxtype1.c
<br>
gs/base/gxtype1.h
<br>
gs/base/gxwts.c
<br>
gs/base/gxwts.h
<br>
gs/base/gxxfont.h
<br>
gs/base/gzacpath.h
<br>
gs/base/gzcpath.h
<br>
gs/base/gzht.h
<br>
gs/base/gzline.h
<br>
gs/base/gzpath.h
<br>
gs/base/gzspotan.c
<br>
gs/base/gzspotan.h
<br>
gs/base/gzstate.h
<br>
gs/base/jerror_.h
<br>
gs/base/locale_.h
<br>
gs/base/macos_carbon_d_pre.h
<br>
gs/base/macos_carbon_pre.h
<br>
gs/base/macos_classic_d_pre.h
<br>
gs/base/macsystypes.h
<br>
gs/base/malloc_.h
<br>
gs/base/math_.h
<br>
gs/base/md5.c
<br>
gs/base/md5.h
<br>
gs/base/md5main.c
<br>
gs/base/memory_.h
<br>
gs/base/minftrsz.c
<br>
gs/base/mkromfs.c
<br>
gs/base/opdfread.h
<br>
gs/base/pipe_.h
<br>
gs/base/png_.h
<br>
gs/base/rinkj/evenbetter-rll.c
<br>
gs/base/rinkj/evenbetter-rll.h
<br>
gs/base/rinkj/rinkj-byte-stream.c
<br>
gs/base/rinkj/rinkj-byte-stream.h
<br>
gs/base/rinkj/rinkj-config.c
<br>
gs/base/rinkj/rinkj-config.h
<br>
gs/base/rinkj/rinkj-device.c
<br>
gs/base/rinkj/rinkj-device.h
<br>
gs/base/rinkj/rinkj-dither.c
<br>
gs/base/rinkj/rinkj-dither.h
<br>
gs/base/rinkj/rinkj-epson870.c
<br>
gs/base/rinkj/rinkj-epson870.h
<br>
gs/base/rinkj/rinkj-screen-eb.c
<br>
gs/base/rinkj/rinkj-screen-eb.h
<br>
gs/base/sa85d.c
<br>
gs/base/sa85d.h
<br>
gs/base/sa85x.h
<br>
gs/base/saes.c
<br>
gs/base/saes.h
<br>
gs/base/sarc4.c
<br>
gs/base/sarc4.h
<br>
gs/base/sbcp.c
<br>
gs/base/sbcp.h
<br>
gs/base/sbhc.c
<br>
gs/base/sbhc.h
<br>
gs/base/sbtx.h
<br>
gs/base/sbwbs.c
<br>
gs/base/sbwbs.h
<br>
gs/base/scanchar.h
<br>
gs/base/scantab.c
<br>
gs/base/scf.h
<br>
gs/base/scfd.c
<br>
gs/base/scfdgen.c
<br>
gs/base/scfdtab.c
<br>
gs/base/scfe.c
<br>
gs/base/scfetab.c
<br>
gs/base/scfparam.c
<br>
gs/base/scfx.h
<br>
gs/base/scommon.h
<br>
gs/base/sdcparam.c
<br>
gs/base/sdcparam.h
<br>
gs/base/sdct.h
<br>
gs/base/sdctd.c
<br>
gs/base/sdcte.c
<br>
gs/base/sddparam.c
<br>
gs/base/sdeparam.c
<br>
gs/base/seexec.c
<br>
gs/base/setjmp_.h
<br>
gs/base/sfilter.h
<br>
gs/base/sfilter2.c
<br>
gs/base/sfxboth.c
<br>
gs/base/sfxcommon.c
<br>
gs/base/sfxfd.c
<br>
gs/base/sfxstdio.c
<br>
gs/base/sha2.c
<br>
gs/base/sha2.h
<br>
gs/base/shc.c
<br>
gs/base/shc.h
<br>
gs/base/shcgen.c
<br>
gs/base/shcgen.h
<br>
gs/base/sidscale.c
<br>
gs/base/sidscale.h
<br>
gs/base/siinterp.c
<br>
gs/base/siinterp.h
<br>
gs/base/simscale.c
<br>
gs/base/simscale.h
<br>
gs/base/siscale.c
<br>
gs/base/siscale.h
<br>
gs/base/sisparam.h
<br>
gs/base/sjbig2.c
<br>
gs/base/sjbig2.h
<br>
gs/base/sjbig2_luratech.c
<br>
gs/base/sjbig2_luratech.h
<br>
gs/base/sjpeg.h
<br>
gs/base/sjpegc.c
<br>
gs/base/sjpegd.c
<br>
gs/base/sjpege.c
<br>
gs/base/sjpx.c
<br>
gs/base/sjpx_luratech.c
<br>
gs/base/sjpx_luratech.h
<br>
gs/base/slzwc.c
<br>
gs/base/slzwd.c
<br>
gs/base/slzwe.c
<br>
gs/base/slzwx.h
<br>
gs/base/smd5.c
<br>
gs/base/smd5.h
<br>
gs/base/smtf.c
<br>
gs/base/smtf.h
<br>
gs/base/spdiff.c
<br>
gs/base/spdiffx.h
<br>
gs/base/spngp.c
<br>
gs/base/spngpx.h
<br>
gs/base/spprint.c
<br>
gs/base/spprint.h
<br>
gs/base/spsdf.c
<br>
gs/base/spsdf.h
<br>
gs/base/srdline.h
<br>
gs/base/srld.c
<br>
gs/base/srle.c
<br>
gs/base/srlx.h
<br>
gs/base/ssha2.c
<br>
gs/base/sstring.c
<br>
gs/base/sstring.h
<br>
gs/base/stat_.h
<br>
gs/base/std.h
<br>
gs/base/stdint_.h
<br>
gs/base/stdio_.h
<br>
gs/base/stdpn.h
<br>
gs/base/stdpre.h
<br>
gs/base/stream.c
<br>
gs/base/stream.h
<br>
gs/base/strimpl.h
<br>
gs/base/string_.h
<br>
gs/base/strmio.h
<br>
gs/base/szlibc.c
<br>
gs/base/szlibe.c
<br>
gs/base/szlibx.h
<br>
gs/base/szlibxx.h
<br>
gs/base/time_.h
<br>
gs/base/ttcalc.c
<br>
gs/base/ttcalc.h
<br>
gs/base/ttcommon.h
<br>
gs/base/ttconf.h
<br>
gs/base/ttconfig.h
<br>
gs/base/ttfinp.c
<br>
gs/base/ttfinp.h
<br>
gs/base/ttfmain.c
<br>
gs/base/ttfmemd.c
<br>
gs/base/ttfmemd.h
<br>
gs/base/ttfoutl.h
<br>
gs/base/ttfsfnt.h
<br>
gs/base/ttinterp.c
<br>
gs/base/ttinterp.h
<br>
gs/base/ttload.c
<br>
gs/base/ttload.h
<br>
gs/base/ttmisc.h
<br>
gs/base/ttobjs.c
<br>
gs/base/ttobjs.h
<br>
gs/base/tttables.h
<br>
gs/base/tttype.h
<br>
gs/base/tttypes.h
<br>
gs/base/unistd_.h
<br>
gs/base/valgrind.h
<br>
gs/base/vdtrace.c
<br>
gs/base/vdtrace.h
<br>
gs/base/vms_x_fix.h
<br>
gs/base/vmsmath.h
<br>
gs/base/whitelst.c
<br>
gs/base/whitelst.h
<br>
gs/base/windows_.h
<br>
gs/base/wtsimdi.c
<br>
gs/base/x_.h
<br>
gs/contrib/defs.h
<br>
gs/contrib/eplaser/gdevescv.c
<br>
gs/contrib/eplaser/gdevescv.h
<br>
gs/contrib/gdevbjc_.c
<br>
gs/contrib/gdevbjc_.h
<br>
gs/contrib/gdevbjca.c
<br>
gs/contrib/gdevcd8.c
<br>
gs/contrib/gdevdj9.c
<br>
gs/contrib/gdevgdi.c
<br>
gs/contrib/gdevhl12.c
<br>
gs/contrib/gdevln03.c
<br>
gs/contrib/gdevlx32.c
<br>
gs/contrib/gdevlx50.c
<br>
gs/contrib/gdevlx7.c
<br>
gs/contrib/gdevmd2k.c
<br>
gs/contrib/gdevop4w.c
<br>
gs/contrib/gdevxes.c
<br>
gs/contrib/gomni.c
<br>
gs/contrib/japanese/dviprlib.c
<br>
gs/contrib/japanese/dviprlib.h
<br>
gs/contrib/japanese/gdev10v.c
<br>
gs/contrib/japanese/gdevalps.c
<br>
gs/contrib/japanese/gdevdmpr.c
<br>
gs/contrib/japanese/gdevespg.c
<br>
gs/contrib/japanese/gdevfmlbp.c
<br>
gs/contrib/japanese/gdevfmpr.c
<br>
gs/contrib/japanese/gdevj100.c
<br>
gs/contrib/japanese/gdevlbp3.c
<br>
gs/contrib/japanese/gdevmag.c
<br>
gs/contrib/japanese/gdevmjc.c
<br>
gs/contrib/japanese/gdevmjc.h
<br>
gs/contrib/japanese/gdevml6.c
<br>
gs/contrib/japanese/gdevnpdl.c
<br>
gs/contrib/japanese/gdevp201.c
<br>
gs/contrib/japanese/gdevrpdl.c
<br>
gs/contrib/lips4/gdevl4r.c
<br>
gs/contrib/lips4/gdevl4v.c
<br>
gs/contrib/lips4/gdevlips.c
<br>
gs/contrib/lips4/gdevlips.h
<br>
gs/contrib/lips4/gdevlprn.c
<br>
gs/contrib/lips4/gdevlprn.h
<br>
gs/contrib/opvp/gdevopvp.c
<br>
gs/contrib/opvp/opvp.h
<br>
gs/contrib/opvp/opvp_0_2_0.h
<br>
gs/contrib/opvp/opvp_common.h
<br>
gs/contrib/pcl3/eprn/eprnfs.c
<br>
gs/contrib/pcl3/eprn/eprnparm.c
<br>
gs/contrib/pcl3/eprn/eprnrend.c
<br>
gs/contrib/pcl3/eprn/gdeveprn.h
<br>
gs/contrib/pcl3/eprn/mediasize.c
<br>
gs/contrib/pcl3/eprn/mediasize.h
<br>
gs/contrib/pcl3/eprn/pagecount.c
<br>
gs/contrib/pcl3/ps/calign.ps
<br>
gs/contrib/pcl3/ps/levels-test.ps
<br>
gs/contrib/pcl3/src/pcl3opts.c
<br>
gs/contrib/pcl3/src/pclcap.c
<br>
gs/contrib/pcl3/src/pclcomp.c
<br>
gs/contrib/pcl3/src/pclgen.c
<br>
gs/contrib/pcl3/src/pclgen.h
<br>
gs/contrib/pcl3/src/pclscan.c
<br>
gs/contrib/pcl3/src/pclscan.h
<br>
gs/contrib/pcl3/src/pclsize.c
<br>
gs/contrib/pcl3/src/pclsize.h
<br>
gs/contrib/pscolor/black.ps
<br>
gs/contrib/pscolor/color.ps
<br>
gs/contrib/pscolor/input.ps
<br>
gs/contrib/pscolor/test.c
<br>
gs/icclib/icc.c
<br>
gs/icclib/icc.h
<br>
gs/icclib/icc9809.h
<br>
gs/ijs/ijs.c
<br>
gs/ijs/ijs_client.c
<br>
gs/ijs/ijs_client.h
<br>
gs/ijs/ijs_client_example.c
<br>
gs/ijs/ijs_exec_unix.c
<br>
gs/ijs/ijs_exec_win.c
<br>
gs/ijs/ijs_server.c
<br>
gs/ijs/ijs_server.h
<br>
gs/ijs/ijs_server_example.c
<br>
gs/ijs/ijs_spec.ps
<br>
gs/imdi/arch.h
<br>
gs/imdi/cctiff.c
<br>
gs/imdi/cgen.c
<br>
gs/imdi/config.h
<br>
gs/imdi/copyright.h
<br>
gs/imdi/imdi.c
<br>
gs/imdi/imdi.h
<br>
gs/imdi/imdi_gen.c
<br>
gs/imdi/imdi_gen.h
<br>
gs/imdi/imdi_imp.h
<br>
gs/imdi/imdi_k.c
<br>
gs/imdi/imdi_k.h
<br>
gs/imdi/imdi_tab.c
<br>
gs/imdi/imdi_tab.h
<br>
gs/lib/EndOfTask.ps
<br>
gs/lib/PDFA_def.ps
<br>
gs/lib/PDFX_def.ps
<br>
gs/lib/acctest.ps
<br>
gs/lib/addxchar.ps
<br>
gs/lib/align.ps
<br>
gs/lib/bdftops.ps
<br>
gs/lib/caption.ps
<br>
gs/lib/cat.ps
<br>
gs/lib/cid2code.ps
<br>
gs/lib/docie.ps
<br>
gs/lib/dumphint.ps
<br>
gs/lib/font2c.ps
<br>
gs/lib/font2pcl.ps
<br>
gs/lib/gs_ce_e.ps
<br>
gs/lib/gs_cmdl.ps
<br>
gs/lib/gs_fform.ps
<br>
gs/lib/gs_il2_e.ps
<br>
gs/lib/gs_kanji.ps
<br>
gs/lib/gs_ksb_e.ps
<br>
gs/lib/gs_lgo_e.ps
<br>
gs/lib/gs_lgx_e.ps
<br>
gs/lib/gs_pfile.ps
<br>
gs/lib/gs_rdlin.ps
<br>
gs/lib/gs_wl1_e.ps
<br>
gs/lib/gs_wl2_e.ps
<br>
gs/lib/gs_wl5_e.ps
<br>
gs/lib/gslp.ps
<br>
gs/lib/gsnup.ps
<br>
gs/lib/image-qa.ps
<br>
gs/lib/impath.ps
<br>
gs/lib/jispaper.ps
<br>
gs/lib/landscap.ps
<br>
gs/lib/lines.ps
<br>
gs/lib/markhint.ps
<br>
gs/lib/markpath.ps
<br>
gs/lib/mkcidfm.ps
<br>
gs/lib/opdfread.ps
<br>
gs/lib/packfile.ps
<br>
gs/lib/pcharstr.ps
<br>
gs/lib/pdf2dsc.ps
<br>
gs/lib/pdfopt.ps
<br>
gs/lib/pdfwrite.ps
<br>
gs/lib/pf2afm.ps
<br>
gs/lib/pfbtopfa.ps
<br>
gs/lib/ppath.ps
<br>
gs/lib/pphs.ps
<br>
gs/lib/prfont.ps
<br>
gs/lib/printafm.ps
<br>
gs/lib/ps2ai.ps
<br>
gs/lib/ps2ascii.ps
<br>
gs/lib/ps2epsi.ps
<br>
gs/lib/rollconv.ps
<br>
gs/lib/showchar.ps
<br>
gs/lib/stcinfo.ps
<br>
gs/lib/stcolor.ps
<br>
gs/lib/stocht.ps
<br>
gs/lib/traceimg.ps
<br>
gs/lib/traceop.ps
<br>
gs/lib/type1enc.ps
<br>
gs/lib/type1ops.ps
<br>
gs/lib/uninfo.ps
<br>
gs/lib/unprot.ps
<br>
gs/lib/viewcmyk.ps
<br>
gs/lib/viewgif.ps
<br>
gs/lib/viewjpeg.ps
<br>
gs/lib/viewmiff.ps
<br>
gs/lib/viewpbm.ps
<br>
gs/lib/viewpcx.ps
<br>
gs/lib/viewps2a.ps
<br>
gs/lib/viewrgb.ps
<br>
gs/lib/wftopfa.ps
<br>
gs/lib/winmaps.ps
<br>
gs/lib/wrfont.ps
<br>
gs/lib/zeroline.ps
<br>
gs/psi/bfont.h
<br>
gs/psi/btoken.h
<br>
gs/psi/dmmain.c
<br>
gs/psi/dpmain.c
<br>
gs/psi/dscparse.c
<br>
gs/psi/dscparse.h
<br>
gs/psi/dstack.h
<br>
gs/psi/dwdll.c
<br>
gs/psi/dwdll.h
<br>
gs/psi/dwimg.c
<br>
gs/psi/dwimg.h
<br>
gs/psi/dwinst.h
<br>
gs/psi/dwmain.c
<br>
gs/psi/dwmainc.c
<br>
gs/psi/dwnodll.c
<br>
gs/psi/dwreg.c
<br>
gs/psi/dwreg.h
<br>
gs/psi/dwres.h
<br>
gs/psi/dwsetup.h
<br>
gs/psi/dwtext.c
<br>
gs/psi/dwtext.h
<br>
gs/psi/dwtrace.c
<br>
gs/psi/dwtrace.h
<br>
gs/psi/dwuninst.h
<br>
gs/psi/dxmain.c
<br>
gs/psi/dxmainc.c
<br>
gs/psi/estack.h
<br>
gs/psi/fapi_ft.c
<br>
gs/psi/fapibstm.c
<br>
gs/psi/fapiufst.c
<br>
gs/psi/files.h
<br>
gs/psi/ghost.h
<br>
gs/psi/gs.c
<br>
gs/psi/gsdll.c
<br>
gs/psi/gserver.c
<br>
gs/psi/ialloc.c
<br>
gs/psi/ialloc.h
<br>
gs/psi/iapi.c
<br>
gs/psi/iapi.h
<br>
gs/psi/iastate.h
<br>
gs/psi/iastruct.h
<br>
gs/psi/ibnum.c
<br>
gs/psi/ibnum.h
<br>
gs/psi/ichar.h
<br>
gs/psi/ichar1.h
<br>
gs/psi/icharout.h
<br>
gs/psi/icid.h
<br>
gs/psi/icie.h
<br>
gs/psi/icolor.h
<br>
gs/psi/iconf.c
<br>
gs/psi/iconf.h
<br>
gs/psi/icontext.c
<br>
gs/psi/icontext.h
<br>
gs/psi/icremap.h
<br>
gs/psi/icsmap.h
<br>
gs/psi/icstate.h
<br>
gs/psi/iddict.h
<br>
gs/psi/iddstack.h
<br>
gs/psi/idebug.c
<br>
gs/psi/idebug.h
<br>
gs/psi/idict.c
<br>
gs/psi/idict.h
<br>
gs/psi/idictdef.h
<br>
gs/psi/idicttpl.h
<br>
gs/psi/idisp.c
<br>
gs/psi/idisp.h
<br>
gs/psi/idosave.h
<br>
gs/psi/idparam.c
<br>
gs/psi/idparam.h
<br>
gs/psi/idsdata.h
<br>
gs/psi/idstack.c
<br>
gs/psi/idstack.h
<br>
gs/psi/ierrors.h
<br>
gs/psi/iesdata.h
<br>
gs/psi/iestack.h
<br>
gs/psi/ifapi.h
<br>
gs/psi/ifcid.h
<br>
gs/psi/ifilter.h
<br>
gs/psi/ifilter2.h
<br>
gs/psi/ifont.h
<br>
gs/psi/ifont1.h
<br>
gs/psi/ifont2.h
<br>
gs/psi/ifont42.h
<br>
gs/psi/ifrpred.h
<br>
gs/psi/ifunc.h
<br>
gs/psi/ifwpred.h
<br>
gs/psi/igc.c
<br>
gs/psi/igc.h
<br>
gs/psi/igcref.c
<br>
gs/psi/igcstr.c
<br>
gs/psi/igcstr.h
<br>
gs/psi/igstate.h
<br>
gs/psi/iht.h
<br>
gs/psi/iimage.h
<br>
gs/psi/iimage2.h
<br>
gs/psi/iinit.c
<br>
gs/psi/iinit.h
<br>
gs/psi/ilevel.h
<br>
gs/psi/ilocate.c
<br>
gs/psi/imain.c
<br>
gs/psi/imain.h
<br>
gs/psi/imainarg.h
<br>
gs/psi/imemory.h
<br>
gs/psi/iminst.h
<br>
gs/psi/iname.c
<br>
gs/psi/iname.h
<br>
gs/psi/inamedef.h
<br>
gs/psi/inameidx.h
<br>
gs/psi/inames.h
<br>
gs/psi/inamestr.h
<br>
gs/psi/inobtokn.c
<br>
gs/psi/inouparm.c
<br>
gs/psi/interp.h
<br>
gs/psi/iosdata.h
<br>
gs/psi/iostack.h
<br>
gs/psi/ipacked.h
<br>
gs/psi/iparam.c
<br>
gs/psi/iparam.h
<br>
gs/psi/iparray.h
<br>
gs/psi/ipcolor.h
<br>
gs/psi/iplugin.c
<br>
gs/psi/iplugin.h
<br>
gs/psi/ireclaim.c
<br>
gs/psi/iref.h
<br>
gs/psi/isave.c
<br>
gs/psi/isave.h
<br>
gs/psi/iscanbin.c
<br>
gs/psi/iscanbin.h
<br>
gs/psi/iscannum.c
<br>
gs/psi/iscannum.h
<br>
gs/psi/isdata.h
<br>
gs/psi/isstate.h
<br>
gs/psi/istack.c
<br>
gs/psi/istack.h
<br>
gs/psi/istkparm.h
<br>
gs/psi/istream.h
<br>
gs/psi/istruct.h
<br>
gs/psi/iutil.c
<br>
gs/psi/iutil.h
<br>
gs/psi/iutil2.c
<br>
gs/psi/iutil2.h
<br>
gs/psi/ivmem2.h
<br>
gs/psi/ivmspace.h
<br>
gs/psi/main.h
<br>
gs/psi/oparc.h
<br>
gs/psi/opcheck.h
<br>
gs/psi/opdef.h
<br>
gs/psi/oper.h
<br>
gs/psi/opextern.h
<br>
gs/psi/ostack.h
<br>
gs/psi/sfilter1.c
<br>
gs/psi/store.h
<br>
gs/psi/wrfont.c
<br>
gs/psi/wrfont.h
<br>
gs/psi/write_t1.c
<br>
gs/psi/write_t1.h
<br>
gs/psi/write_t2.c
<br>
gs/psi/write_t2.h
<br>
gs/psi/zalg.c
<br>
gs/psi/zarith.c
<br>
gs/psi/zarray.c
<br>
gs/psi/zbfont.c
<br>
gs/psi/zbseq.c
<br>
gs/psi/zcfont.c
<br>
gs/psi/zchar.c
<br>
gs/psi/zchar1.c
<br>
gs/psi/zchar2.c
<br>
gs/psi/zchar32.c
<br>
gs/psi/zchar42.c
<br>
gs/psi/zchar42.h
<br>
gs/psi/zcharout.c
<br>
gs/psi/zcharx.c
<br>
gs/psi/zcid.c
<br>
gs/psi/zcidtest.c
<br>
gs/psi/zcie.c
<br>
gs/psi/zcie.h
<br>
gs/psi/zcolor.c
<br>
gs/psi/zcolor.h
<br>
gs/psi/zcolor1.c
<br>
gs/psi/zcolor2.c
<br>
gs/psi/zcolor3.c
<br>
gs/psi/zcontext.c
<br>
gs/psi/zcontrol.c
<br>
gs/psi/zcrd.c
<br>
gs/psi/zcsdevn.c
<br>
gs/psi/zcsindex.c
<br>
gs/psi/zcspixel.c
<br>
gs/psi/zcssepr.c
<br>
gs/psi/zdevcal.c
<br>
gs/psi/zdevice.c
<br>
gs/psi/zdevice2.c
<br>
gs/psi/zdfilter.c
<br>
gs/psi/zdict.c
<br>
gs/psi/zdosio.c
<br>
gs/psi/zdouble.c
<br>
gs/psi/zdpnext.c
<br>
gs/psi/zdps.c
<br>
gs/psi/zdps1.c
<br>
gs/psi/zdscpars.c
<br>
gs/psi/zfaes.c
<br>
gs/psi/zfapi.c
<br>
gs/psi/zfarc4.c
<br>
gs/psi/zfbcp.c
<br>
gs/psi/zfcid.c
<br>
gs/psi/zfcid0.c
<br>
gs/psi/zfcid1.c
<br>
gs/psi/zfcmap.c
<br>
gs/psi/zfdctd.c
<br>
gs/psi/zfdcte.c
<br>
gs/psi/zfdecode.c
<br>
gs/psi/zfile.c
<br>
gs/psi/zfile.h
<br>
gs/psi/zfile1.c
<br>
gs/psi/zfileio.c
<br>
gs/psi/zfilter.c
<br>
gs/psi/zfilter2.c
<br>
gs/psi/zfilterx.c
<br>
gs/psi/zfimscale.c
<br>
gs/psi/zfjbig2.c
<br>
gs/psi/zfjpx.c
<br>
gs/psi/zfmd5.c
<br>
gs/psi/zfont.c
<br>
gs/psi/zfont0.c
<br>
gs/psi/zfont1.c
<br>
gs/psi/zfont2.c
<br>
gs/psi/zfont32.c
<br>
gs/psi/zfont42.c
<br>
gs/psi/zfontenum.c
<br>
gs/psi/zfproc.c
<br>
gs/psi/zfrsd.c
<br>
gs/psi/zfrsd.h
<br>
gs/psi/zfsample.c
<br>
gs/psi/zfunc.c
<br>
gs/psi/zfunc.h
<br>
gs/psi/zfunc0.c
<br>
gs/psi/zfunc3.c
<br>
gs/psi/zfunc4.c
<br>
gs/psi/zfzlib.c
<br>
gs/psi/zgeneric.c
<br>
gs/psi/zgstate.c
<br>
gs/psi/zhsb.c
<br>
gs/psi/zht.c
<br>
gs/psi/zht1.c
<br>
gs/psi/zht2.c
<br>
gs/psi/zht2.h
<br>
gs/psi/zicc.c
<br>
gs/psi/zicc.h
<br>
gs/psi/zimage.c
<br>
gs/psi/zimage2.c
<br>
gs/psi/zimage3.c
<br>
gs/psi/ziodev2.c
<br>
gs/psi/ziodevs.c
<br>
gs/psi/ziodevsc.c
<br>
gs/psi/zmath.c
<br>
gs/psi/zmatrix.c
<br>
gs/psi/zmedia2.c
<br>
gs/psi/zmisc.c
<br>
gs/psi/zmisc1.c
<br>
gs/psi/zmisc2.c
<br>
gs/psi/zmisc3.c
<br>
gs/psi/zncdummy.c
<br>
gs/psi/zpacked.c
<br>
gs/psi/zpaint.c
<br>
gs/psi/zpath.c
<br>
gs/psi/zpath1.c
<br>
gs/psi/zpcolor.c
<br>
gs/psi/zpdfops.c
<br>
gs/psi/zrelbit.c
<br>
gs/psi/zrop.c
<br>
gs/psi/zshade.c
<br>
gs/psi/zstack.c
<br>
gs/psi/zstring.c
<br>
gs/psi/zsysvm.c
<br>
gs/psi/ztrans.c
<br>
gs/psi/ztrap.c
<br>
gs/psi/zupath.c
<br>
gs/psi/zusparam.c
<br>
gs/psi/zutf8.c
<br>
gs/psi/zvmem.c
<br>
gs/psi/zvmem2.c
<br>
gs/psi/zwinutf8.c
<br>
gs/toolbin/GenSubstCID.ps
<br>
gs/toolbin/bmpcmp.c
<br>
gs/toolbin/color/halftone/halfttoning/halftone.c
<br>
gs/toolbin/color/icc_creator/ICC_Creator/CIELAB.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc34.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/resource.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/stdafx.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/targetver.h
<br>
gs/toolbin/drawafm.ps
<br>
gs/toolbin/encs2c.ps
<br>
gs/toolbin/extractFonts.ps
<br>
gs/toolbin/extractICCprofiles.ps
<br>
gs/toolbin/genfontmap.ps
<br>
gs/toolbin/jpxtopdf.c
<br>
gs/toolbin/pdf_info.ps
<br>
gs/toolbin/pdfinflt.ps
<br>
gs/toolbin/tests/fuzzy.c
<br>
pcl/pcbiptrn.c
<br>
pcl/pccid.c
<br>
pcl/pccolor.c
<br>
pcl/pccprint.c
<br>
pcl/pccrd.c
<br>
pcl/pccrd.h
<br>
pcl/pccsbase.c
<br>
pcl/pccsbase.h
<br>
pcl/pcdict.h
<br>
pcl/pcdraw.c
<br>
pcl/pcfont.c
<br>
pcl/pcfont.h
<br>
pcl/pcfontpg.c
<br>
pcl/pcfrgrnd.c
<br>
pcl/pcfrgrnd.h
<br>
pcl/pcfsel.c
<br>
pcl/pcfsel.h
<br>
pcl/pcht.c
<br>
pcl/pcht.h
<br>
pcl/pcimpl.c
<br>
pcl/pcindxed.c
<br>
pcl/pcindxed.h
<br>
pcl/pcjob.c
<br>
pcl/pclookup.c
<br>
pcl/pclookup.h
<br>
pcl/pcmacros.c
<br>
pcl/pcmisc.c
<br>
pcl/pcmtx3.c
<br>
pcl/pcmtx3.h
<br>
pcl/pcommand.c
<br>
pcl/pcommand.h
<br>
pcl/pcpage.c
<br>
pcl/pcpalet.c
<br>
pcl/pcpalet.h
<br>
pcl/pcparse.c
<br>
pcl/pcparse.h
<br>
pcl/pcpatrn.c
<br>
pcl/pcpatrn.h
<br>
pcl/pcpattyp.h
<br>
pcl/pcpatxfm.c
<br>
pcl/pcpatxfm.h
<br>
pcl/pcrect.c
<br>
pcl/pcsfont.c
<br>
pcl/pcstate.h
<br>
pcl/pcstatus.c
<br>
pcl/pcsymbol.c
<br>
pcl/pcsymbol.h
<br>
pcl/pctext.c
<br>
pcl/pctop.c
<br>
pcl/pctop.h
<br>
pcl/pctpm.h
<br>
pcl/pcuptrn.c
<br>
pcl/pcursor.c
<br>
pcl/pcwhtidx.c
<br>
pcl/pcxfmst.h
<br>
pcl/pgchar.c
<br>
pcl/pgcolor.c
<br>
pcl/pgconfig.c
<br>
pcl/pgdraw.c
<br>
pcl/pgdraw.h
<br>
pcl/pgfdata.c
<br>
pcl/pgfdata.h
<br>
pcl/pgfont.c
<br>
pcl/pgframe.c
<br>
pcl/pggeom.c
<br>
pcl/pggeom.h
<br>
pcl/pglabel.c
<br>
pcl/pglfill.c
<br>
pcl/pgmisc.c
<br>
pcl/pgmisc.h
<br>
pcl/pgparse.c
<br>
pcl/pgpoly.c
<br>
pcl/pgstate.h
<br>
pcl/rtgmode.c
<br>
pcl/rtgmode.h
<br>
pcl/rtmisc.c
<br>
pcl/rtraster.c
<br>
pcl/rtrstcmp.c
<br>
pcl/rtrstcmp.h
<br>
pcl/rtrstst.h
<br>
pl/dwimg.c
<br>
pl/dwimg.h
<br>
pl/dwmainc.c
<br>
pl/dwreg.c
<br>
pl/dwreg.h
<br>
pl/dwres.h
<br>
pl/pjparse.c
<br>
pl/pjparse.h
<br>
pl/pjparsei.c
<br>
pl/pjtop.c
<br>
pl/pjtop.h
<br>
pl/plalloc.c
<br>
pl/plalloc.h
<br>
pl/plapi.h
<br>
pl/plchar.c
<br>
pl/pldict.c
<br>
pl/pldict.h
<br>
pl/pldraw.c
<br>
pl/plfont.c
<br>
pl/plfont.h
<br>
pl/plftable.c
<br>
pl/plht.c
<br>
pl/plimpl.c
<br>
pl/pllfont.c
<br>
pl/plmain.c
<br>
pl/plplatf.c
<br>
pl/plplatf.h
<br>
pl/plplatfps.c
<br>
pl/plsrgb.c
<br>
pl/plsymbol.c
<br>
pl/plsymbol.h
<br>
pl/pltop.c
<br>
pl/pltop.h
<br>
pl/pltoputl.c
<br>
pl/pltoputl.h
<br>
pl/pluchar.c
<br>
pl/plufont.c
<br>
pl/plulfont.c
<br>
pl/plvocab.c
<br>
psi/psitop.c
<br>
pxl/pxasm.ps
<br>
pxl/pxbfont.c
<br>
pxl/pxbfont.ps
<br>
pxl/pxerrors.h
<br>
pxl/pxffont.c
<br>
pxl/pxfont.c
<br>
pxl/pxgstate.c
<br>
pxl/pxgstate.h
<br>
pxl/pximage.c
<br>
pxl/pximpl.c
<br>
pxl/pxink.c
<br>
pxl/pxoper.h
<br>
pxl/pxpaint.c
<br>
pxl/pxparse.c
<br>
pxl/pxparse.h
<br>
pxl/pxpthr.c
<br>
pxl/pxsessio.c
<br>
pxl/pxstate.c
<br>
pxl/pxstate.h
<br>
pxl/pxstream.c
<br>
pxl/pxsymbol.ps
<br>
pxl/pxtop.c
<br>
pxl/pxvalue.c
<br>
pxl/pxvalue.h
<br>
svg/ghostsvg.h
<br>
svg/svgcolor.c
<br>
svg/svgdoc.c
<br>
svg/svgshapes.c
<br>
svg/svgtop.c
<br>
svg/svgtransform.c
<br>
svg/svgtypes.c
<br>
svg/svgxml.c
<br>
tools/GOT/detag.c
<br>
tools/GOT/tagimage.c
<br>
tools/gslite/gslt.h
<br>
tools/gslite/gslt_alloc.c
<br>
tools/gslite/gslt_alloc.h
<br>
tools/gslite/gslt_font.h
<br>
tools/gslite/gslt_font_api.c
<br>
tools/gslite/gslt_font_api.h
<br>
tools/gslite/gslt_font_api_test.c
<br>
tools/gslite/gslt_font_cache.c
<br>
tools/gslite/gslt_font_cff.c
<br>
tools/gslite/gslt_font_encoding.c
<br>
tools/gslite/gslt_font_glyph.c
<br>
tools/gslite/gslt_font_int.h
<br>
tools/gslite/gslt_font_test.c
<br>
tools/gslite/gslt_font_ttf.c
<br>
tools/gslite/gslt_image.c
<br>
tools/gslite/gslt_image.h
<br>
tools/gslite/gslt_image_jpeg.c
<br>
tools/gslite/gslt_image_png.c
<br>
tools/gslite/gslt_image_test.c
<br>
tools/gslite/gslt_image_threads_test.c
<br>
tools/gslite/gslt_image_tiff.c
<br>
tools/gslite/gslt_init.c
<br>
tools/gslite/gslt_test.c
<br>
tools/tt2pcl.c
<br>
tools/xps2tiff/xps2tiff/stdafx.h
<br>
xps/xpsgradient.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 23:40:49 +0200></a>
2011-04-19 23:40:49 +0200</strong>
<br>Tor Andersson <tor.andersson@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0b17959f31afe3baffbc328e7f92e88e634ad8b8">0b17959f31afe3baffbc328e7f92e88e634ad8b8</a>
<blockquote>
<br>
Introduce end-of-line normalization.
<br>
<br>
.gitattributes
<br>
.gitignore
<br>
COPYING.AFPL
<br>
gs/.gitignore
<br>
gs/Resource/Init/FAPIcidfmap
<br>
gs/Resource/Init/FAPIconfig
<br>
gs/Resource/Init/FAPIfontmap
<br>
gs/Resource/Init/gs_agl.ps
<br>
gs/Resource/Init/gs_mgl_e.ps
<br>
gs/Resource/Init/gs_mro_e.ps
<br>
gs/base/gdevplib.c
<br>
gs/base/gs_agl.h
<br>
gs/base/gs_mgl_e.h
<br>
gs/base/gs_mro_e.h
<br>
gs/base/gsicc_lcms2.c
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxht_thresh.h
<br>
gs/base/lcups.mak
<br>
gs/base/lcupsi.mak
<br>
gs/base/opdfread.h
<br>
gs/base/whitelst.c
<br>
gs/base/whitelst.h
<br>
gs/cups/libs/filter/image-colorspace.c
<br>
gs/doc/Details9.htm
<br>
gs/doc/GS9_Color_Management.tex
<br>
gs/doc/History9.htm
<br>
gs/doc/figures/Overview.eps
<br>
gs/expat/examples/elements.dsp
<br>
gs/expat/examples/outline.dsp
<br>
gs/expat/expat.dsw
<br>
gs/expat/lib/expat.dsp
<br>
gs/expat/lib/expat_static.dsp
<br>
gs/expat/lib/expatw.dsp
<br>
gs/expat/lib/expatw_static.dsp
<br>
gs/expat/tests/benchmark/benchmark.dsp
<br>
gs/expat/tests/benchmark/benchmark.dsw
<br>
gs/expat/xmlwf/xmlwf.dsp
<br>
gs/freetype/builds/win32/vc2005/freetype.sln
<br>
gs/freetype/builds/win32/vc2005/freetype.vcproj
<br>
gs/freetype/builds/win32/vc2008/freetype.sln
<br>
gs/freetype/builds/win32/vc2008/freetype.vcproj
<br>
gs/freetype/builds/win32/visualc/freetype.dsp
<br>
gs/freetype/builds/win32/visualc/freetype.dsw
<br>
gs/freetype/builds/win32/visualc/freetype.sln
<br>
gs/freetype/builds/win32/visualc/freetype.vcproj
<br>
gs/freetype/builds/win32/visualce/freetype.dsp
<br>
gs/freetype/builds/win32/visualce/freetype.dsw
<br>
gs/freetype/builds/win32/visualce/freetype.vcproj
<br>
gs/freetype/builds/wince/vc2005-ce/freetype.sln
<br>
gs/freetype/builds/wince/vc2005-ce/freetype.vcproj
<br>
gs/freetype/builds/wince/vc2008-ce/freetype.sln
<br>
gs/freetype/builds/wince/vc2008-ce/freetype.vcproj
<br>
gs/ghostscript-ufst.vcproj
<br>
gs/ghostscript.vcproj
<br>
gs/jasper/src/msvc/imgcmp.dsp
<br>
gs/jasper/src/msvc/imginfo.dsp
<br>
gs/jasper/src/msvc/jasper.dsp
<br>
gs/jasper/src/msvc/jasper.dsw
<br>
gs/jasper/src/msvc/jiv.dsp
<br>
gs/jasper/src/msvc/libjasper.dsp
<br>
gs/jpegxr/APP.rc
<br>
gs/jpegxr/APP.vcproj
<br>
gs/jpegxr/DLL.rc
<br>
gs/jpegxr/DLL.vcproj
<br>
gs/jpegxr/JPEG-XR.sln
<br>
gs/lcms/Delphi/Samples/MAKETEST.BAT
<br>
gs/lcms/Delphi/Samples/gamutchk.pas
<br>
gs/lcms/Projects/BorlandC_5.5/lcms.rc
<br>
gs/lcms/Projects/BorlandC_5.5/lcmsdll.lk
<br>
gs/lcms/Projects/BorlandC_5.5/lcmsdll.lst
<br>
gs/lcms/Projects/BorlandC_5.5/mklcmsdll.bat
<br>
gs/lcms/Projects/VC2005/Python.vcproj
<br>
gs/lcms/Projects/VC2005/Testbed.vcproj
<br>
gs/lcms/Projects/VC2005/icc2ps.vcproj
<br>
gs/lcms/Projects/VC2005/icclink.vcproj
<br>
gs/lcms/Projects/VC2005/icctrans.vcproj
<br>
gs/lcms/Projects/VC2005/jpegicc.vcproj
<br>
gs/lcms/Projects/VC2005/lcms.rc
<br>
gs/lcms/Projects/VC2005/lcms.sln
<br>
gs/lcms/Projects/VC2005/lcms.vcproj
<br>
gs/lcms/Projects/VC2005/lcmsdll.vcproj
<br>
gs/lcms/Projects/VC2005/tiffdiff.vcproj
<br>
gs/lcms/Projects/VC2005/tifficc.vcproj
<br>
gs/lcms/Projects/VC2008/Python.vcproj
<br>
gs/lcms/Projects/VC2008/Testbed.vcproj
<br>
gs/lcms/Projects/VC2008/icc2ps.vcproj
<br>
gs/lcms/Projects/VC2008/icclink.vcproj
<br>
gs/lcms/Projects/VC2008/icctrans.vcproj
<br>
gs/lcms/Projects/VC2008/jpegicc.vcproj
<br>
gs/lcms/Projects/VC2008/lcms.rc
<br>
gs/lcms/Projects/VC2008/lcms.sln
<br>
gs/lcms/Projects/VC2008/lcms.vcproj
<br>
gs/lcms/Projects/VC2008/lcmsdll.vcproj
<br>
gs/lcms/Projects/VC2008/tiffdiff.vcproj
<br>
gs/lcms/Projects/VC2008/tifficc.vcproj
<br>
gs/lcms/Projects/VC6/Python.dsp
<br>
gs/lcms/Projects/VC6/Python.plg
<br>
gs/lcms/Projects/VC6/Testbed.dsp
<br>
gs/lcms/Projects/VC6/Testbed.plg
<br>
gs/lcms/Projects/VC6/icc2ps.dsp
<br>
gs/lcms/Projects/VC6/icclink.dsp
<br>
gs/lcms/Projects/VC6/icctrans.dsp
<br>
gs/lcms/Projects/VC6/jpegicc.dsp
<br>
gs/lcms/Projects/VC6/lcms.dsp
<br>
gs/lcms/Projects/VC6/lcms.dsw
<br>
gs/lcms/Projects/VC6/lcms.rc
<br>
gs/lcms/Projects/VC6/lcmsdll.dsp
<br>
gs/lcms/Projects/VC6/tifficc.dsp
<br>
gs/lcms/Projects/VC7/Python.vcproj
<br>
gs/lcms/Projects/VC7/Testbed.vcproj
<br>
gs/lcms/Projects/VC7/icc2ps.vcproj
<br>
gs/lcms/Projects/VC7/icclink.vcproj
<br>
gs/lcms/Projects/VC7/icctrans.vcproj
<br>
gs/lcms/Projects/VC7/jpegicc.vcproj
<br>
gs/lcms/Projects/VC7/lcms.rc
<br>
gs/lcms/Projects/VC7/lcms.sln
<br>
gs/lcms/Projects/VC7/lcms.vcproj
<br>
gs/lcms/Projects/VC7/lcmsdll.vcproj
<br>
gs/lcms/Projects/VC7/tiffdiff.vcproj
<br>
gs/lcms/Projects/VC7/tifficc.vcproj
<br>
gs/lcms2/Projects/VC2010/lcms2_static/lcms2_static.vcxproj
<br>
gs/lcms2/utils/delphi/delphidemo.dpr
<br>
gs/lcms2/utils/delphi/delphidemo.dproj
<br>
gs/lcms2/utils/delphi/demo1.pas
<br>
gs/lcms2/utils/delphi/lcms2dll.pas
<br>
gs/lcms2/utils/matlab/icctrans.c
<br>
gs/lib/opdfread.ps
<br>
gs/libpng/contrib/visupng/VisualPng.dsp
<br>
gs/libpng/contrib/visupng/VisualPng.dsw
<br>
gs/libpng/contrib/visupng/VisualPng.rc
<br>
gs/libpng/projects/cbuilder5/libpng.bpf
<br>
gs/libpng/projects/cbuilder5/libpng.bpg
<br>
gs/libpng/projects/cbuilder5/libpng.bpr
<br>
gs/libpng/projects/cbuilder5/libpng.cpp
<br>
gs/libpng/projects/cbuilder5/libpngstat.bpf
<br>
gs/libpng/projects/cbuilder5/libpngstat.bpr
<br>
gs/libpng/projects/visualc6/libpng.dsp
<br>
gs/libpng/projects/visualc6/libpng.dsw
<br>
gs/libpng/projects/visualc6/pngtest.dsp
<br>
gs/libpng/projects/visualc71/libpng.sln
<br>
gs/libpng/projects/visualc71/libpng.vcproj
<br>
gs/libpng/projects/visualc71/pngtest.vcproj
<br>
gs/libpng/projects/visualc71/zlib.vcproj
<br>
gs/psi/dw64c.def
<br>
gs/psi/dwmain64.def
<br>
gs/psi/gsdll64.def
<br>
gs/psi/msvc.mak
<br>
gs/psi/msvc64.mak
<br>
gs/psi/nsisinst.nsi
<br>
gs/tiff/man/tiffcrop.1
<br>
gs/toolbin/color/halftone/README
<br>
gs/toolbin/color/halftone/halfttoning.sln
<br>
gs/toolbin/color/halftone/halfttoning/halftone.c
<br>
gs/toolbin/color/halftone/halfttoning/halfttoning.vcproj
<br>
gs/toolbin/color/icc_creator/ICC_Creator.sln
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_Creator.rc
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_Creator.vcproj
<br>
gs/toolbin/color/icc_creator/ucr_bg.txt
<br>
gs/toolbin/gen_ldf_jb2.py
<br>
gs/toolbin/pdf_info.ps
<br>
gs/zlib/contrib/dotzlib/DotZLib.build
<br>
gs/zlib/contrib/dotzlib/DotZLib.sln
<br>
gs/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/CodecBase.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/Deflater.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/DotZLib.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj
<br>
gs/zlib/contrib/dotzlib/DotZLib/GZipStream.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/Inflater.cs
<br>
gs/zlib/contrib/dotzlib/DotZLib/UnitTests.cs
<br>
gs/zlib/contrib/masm686/match.asm
<br>
gs/zlib/contrib/masmx64/bld_ml64.bat
<br>
gs/zlib/contrib/masmx64/gvmat64.asm
<br>
gs/zlib/contrib/masmx64/inffas8664.c
<br>
gs/zlib/contrib/masmx64/inffasx64.asm
<br>
gs/zlib/contrib/masmx86/bld_ml32.bat
<br>
gs/zlib/contrib/masmx86/gvmat32.asm
<br>
gs/zlib/contrib/masmx86/gvmat32c.c
<br>
gs/zlib/contrib/masmx86/inffas32.asm
<br>
gs/zlib/contrib/masmx86/mkasm.bat
<br>
gs/zlib/contrib/vstudio/vc7/miniunz.vcproj
<br>
gs/zlib/contrib/vstudio/vc7/minizip.vcproj
<br>
gs/zlib/contrib/vstudio/vc7/testzlib.vcproj
<br>
gs/zlib/contrib/vstudio/vc7/zlib.rc
<br>
gs/zlib/contrib/vstudio/vc7/zlibstat.vcproj
<br>
gs/zlib/contrib/vstudio/vc7/zlibvc.def
<br>
gs/zlib/contrib/vstudio/vc7/zlibvc.sln
<br>
gs/zlib/contrib/vstudio/vc7/zlibvc.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/miniunz.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/minizip.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/testzlib.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/testzlibdll.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/zlib.rc
<br>
gs/zlib/contrib/vstudio/vc8/zlibstat.vcproj
<br>
gs/zlib/contrib/vstudio/vc8/zlibvc.def
<br>
gs/zlib/contrib/vstudio/vc8/zlibvc.sln
<br>
gs/zlib/contrib/vstudio/vc8/zlibvc.vcproj
<br>
gs/zlib/projects/visualc6/example.dsp
<br>
gs/zlib/projects/visualc6/minigzip.dsp
<br>
gs/zlib/projects/visualc6/zlib.dsp
<br>
gs/zlib/projects/visualc6/zlib.dsw
<br>
pl/dwimg.c
<br>
pl/dwimg.h
<br>
pl/dwmainc.c
<br>
pl/dwreg.c
<br>
pl/dwreg.h
<br>
pl/dwres.h
<br>
tools/Acrobat2Tiff/Acrobat2Tiff.sln
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff.vbproj
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Application.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Application.myapp
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/AssemblyInfo.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Resources.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Resources.resx
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Settings.Designer.vb
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/Acrobat2Tiff/Settings.settings
<br>
tools/Acrobat2Tiff/Acrobat2Tiff/bin/Release/Acrobat2Tiff.xml
<br>
tools/GOT/detag.c
<br>
tools/GOT/tagimage.c
<br>
tools/cmpi/cmpi.bkl
<br>
tools/cmpi/cmpi.cpp
<br>
tools/cmpi/cmpi.dsp
<br>
tools/cmpi/cmpi.dsw
<br>
tools/cmpi/cmpi.pro
<br>
tools/cmpi/cmpi.rc
<br>
tools/cmpi/cmpi.sln
<br>
tools/cmpi/cmpi.vcp
<br>
tools/cmpi/cmpi.vcproj
<br>
tools/cmpi/cmpi.vcw
<br>
tools/cmpi/descrip.mms
<br>
tools/cmpi/makefile.bcc
<br>
tools/cmpi/makefile.dmc
<br>
tools/cmpi/makefile.dms
<br>
tools/cmpi/makefile.dos
<br>
tools/cmpi/makefile.gcc
<br>
tools/cmpi/makefile.sc
<br>
tools/cmpi/makefile.unx
<br>
tools/cmpi/makefile.va
<br>
tools/cmpi/makefile.vc
<br>
tools/cmpi/makefile.wat
<br>
tools/xps2tiff/README
<br>
tools/xps2tiff/xps2tiff.sln
<br>
tools/xps2tiff/xps2tiff/AssemblyInfo.cpp
<br>
tools/xps2tiff/xps2tiff/stdafx.cpp
<br>
tools/xps2tiff/xps2tiff/stdafx.h
<br>
tools/xps2tiff/xps2tiff/xps2tiff.cpp
<br>
tools/xps2tiff/xps2tiff/xps2tiff.vcproj
<br>
win32/GhostPDL.sln
<br>
win32/language_switch.vcproj
<br>
win32/pcl.vcproj
<br>
win32/svg.vcproj
<br>
win32/xps.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 14:01:55 +0000></a>
2011-04-19 14:01:55 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1eadba53383fad842dbc5e72ca137914a83b63e6">1eadba53383fad842dbc5e72ca137914a83b63e6</a>
<blockquote>
<br>
Changes to localcluster code to attempt to implement bmpcmphead. This certainly
<br>
doesn't break anything, but I don't actually ever seem to get any differences
<br>
out when running bmpcmphead.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12408 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/localcluster/build.pl
<br>
gs/toolbin/localcluster/clustermaster.pl
<br>
gs/toolbin/localcluster/run.pl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-19 10:06:23 +0000></a>
2011-04-19 10:06:23 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c9e506d7e910f6560c97a81de704296236a782cb">c9e506d7e910f6560c97a81de704296236a782cb</a>
<blockquote>
<br>
Fix for bug 692152.
<br>
<br>
We 'bend' the size of pattern tiles, against the spec, ostensibly to better
<br>
match Acrobat. The fix here is simply to avoid such bending in the case where
<br>
TilingType is 2. According to the spec, TilingType 2 says specifically not
<br>
to use the same device pixel size for every repeat of the pattern, and that
<br>
is exactly what we were doing.
<br>
<br>
This cures the original bug, and produces 464 changes in the cluster tests.
<br>
Some (like ps3cet/18-02B.PS) are clear progressions. Others are less obviously
<br>
improvements, but comparison with Acrobat (and discussion with Ken/Chris)
<br>
shows that it's no worse than before, just 'different'.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12405 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsptype1.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-18 22:58:18 +0000></a>
2011-04-18 22:58:18 +0000</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a05ab8a88d5bc33c068a8e05ecba5f1adf3f3645">a05ab8a88d5bc33c068a8e05ecba5f1adf3f3645</a>
<blockquote>
<br>
Fix reading of an embedded ICC profile from DSC comments and a
<br>
potential SEGV when the value of /N exceeds 8. Bug 692156.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12404 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/Resource/Init/gs_icc.ps
<br>
gs/psi/zcolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-18 20:34:34 +0000></a>
2011-04-18 20:34:34 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=64bfc773be69bd422c95bca132c47782a421dc3a">64bfc773be69bd422c95bca132c47782a421dc3a</a>
<blockquote>
<br>
Further movement toward getting fast thresholding operations working for CMYK output devices. Addition of special op to detect if a device is a planar type, creation of threshold screen for all the planes and spatial resampling of color input to output resolution for portrait case. A commit to get things in trunk before we convert from SVN to git.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12403 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevplib.c
<br>
gs/base/gxdevsop.h
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxicolor.c
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-18 18:41:26 +0000></a>
2011-04-18 18:41:26 +0000</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=25152b1f7b5317ef1c3efd438a4d5ce26bcca5ba">25152b1f7b5317ef1c3efd438a4d5ce26bcca5ba</a>
<blockquote>
<br>
Consider any xref entry with 0 offset as a free entry. Earlier revisions
<br>
rebuilt the xref table when offset == 0 but generation != 0.
<br>
However, rebuilding is an unreliable process and should be avoided if
<br>
possible. Bug 692159.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12402 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-18 07:58:13 +0000></a>
2011-04-18 07:58:13 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7169dc6a5af38e1955c660813ed6e62392dc0deb">7169dc6a5af38e1955c660813ed6e62392dc0deb</a>
<blockquote>
<br>
Add a fallback check for libpaper support.
<br>
<br>
Older versions of autogen appear to have a bug which causes the AC_CHECK_LIB
<br>
macro to mis-identify the libpaper development library as being present when
<br>
it is not.
<br>
<br>
So add a second check check based on the presence of paper.h using
<br>
AC_CHECK_HEADER().
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12401 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/configure.ac
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-16 14:21:57 +0000></a>
2011-04-16 14:21:57 +0000</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=848275e2554bb57ebf2e12dabc47fc2922e7b877">848275e2554bb57ebf2e12dabc47fc2922e7b877</a>
<blockquote>
<br>
Instead of searching for %%EOF marker (which is often damaged) and browsing the
<br>
file backwards, search for 'startxref' and take the next token as an xref
<br>
position. Besides fixing the reported bug, this greatly simplifies the search
<br>
for xref position. Bug 692153.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12400 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/Resource/Init/pdf_base.ps
<br>
gs/Resource/Init/pdf_main.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-14 20:59:18 +0000></a>
2011-04-14 20:59:18 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3be81f880b7f0a31d3c213ad4245d0bbfeb0b5ef">3be81f880b7f0a31d3c213ad4245d0bbfeb0b5ef</a>
<blockquote>
<br>
code to support rendering color source images to a mono device using thresholding. The code is currently disabled pending additional testing.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12397 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gxicolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-13 22:17:12 +0000></a>
2011-04-13 22:17:12 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4a3666ee2833e877a26ef75fece00fd6fad14c93">4a3666ee2833e877a26ef75fece00fd6fad14c93</a>
<blockquote>
<br>
Reorganization of thresholding code to make it easier to get the threshold operation working for color images as input as well as the case when we go to a cmyk planar device.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12396 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gxht_thresh.c
<br>
gs/base/gxht_thresh.h
<br>
gs/base/gxicolor.c
<br>
gs/base/gximono.c
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-13 16:21:07 +0000></a>
2011-04-13 16:21:07 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3791878570227c7f5f1c07891c066fab3db2e5d3">3791878570227c7f5f1c07891c066fab3db2e5d3</a>
<blockquote>
<br>
Fix reference counting of compositors in clist rendering; previously
<br>
the code assumed that it was the only claimant of a compositor and
<br>
closed/freed the device regardless of the reference count.
<br>
<br>
Cluster testing shows no differences.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12394 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gxclrast.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-13 13:30:03 +0000></a>
2011-04-13 13:30:03 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=29ff2a6f7d27ac9b19887ecc9243a6a8bc6aa9b8">29ff2a6f7d27ac9b19887ecc9243a6a8bc6aa9b8</a>
<blockquote>
<br>
Fix (pdfwrite) : Restore TT->CIDFOnt conversion
<br>
<br>
When creating PDF/A output, the Acrobat pre-flight tool throws out subset TrueType fonts
<br>
which are symbolic. Its not clear why, since the spec says that subset TrueType fonts
<br>
are permitted and does not require any additional information (such as /CharSet for
<br>
type 1 fonts).
<br>
<br>
If we instead create a CIDFont with a CIDSet, then the pre-flight tool is happy (and
<br>
also, usefully, doesn't complain about multiple CMAP subtables), so here we spot
<br>
that there is no preferred Encoding (always the case with Symbolic fonts) and make
<br>
the conversion.
<br>
<br>
No differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12393 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevpdtf.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-13 04:47:52 +0000></a>
2011-04-13 04:47:52 +0000</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=124ab469aa0ad450a46d909e99c1b5d7072e646b">124ab469aa0ad450a46d909e99c1b5d7072e646b</a>
<blockquote>
<br>
Fix for PCL when NumRenderingThreads > 0. PCL uses a memory allocator that is
<br>
not thread safe (chunk memory) but the mt rendering needs a thread safe base
<br>
allocator since the main thread may be allocating as well as the rendering
<br>
threads. This problem was seen with a couple of 'performance' documents, but
<br>
could fail on any document. Bug 692111 for customer #661.
<br>
<br>
cluster testing showed no regressions, as expected since it didn't use MT
<br>
rendering.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12392 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsalloc.c
<br>
gs/base/gsmalloc.c
<br>
gs/base/gsmchunk.c
<br>
gs/base/gsmemlok.c
<br>
gs/base/gsmemory.h
<br>
gs/base/gsmemret.c
<br>
gs/base/gxclread.c
<br>
gs/base/gxclthrd.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 20:08:59 +0000></a>
2011-04-12 20:08:59 +0000</strong>
<br>Ray Johnston <ray.johnston@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fdac37730cb0f86e8cd1efad2c49243c5ea5ec0b">fdac37730cb0f86e8cd1efad2c49243c5ea5ec0b</a>
<blockquote>
<br>
Add some more useful stuff to pdf_info.ps: Default dumps Media paramters and
<br>
fonts that are needed, but not embedded and standard fonts. Media parameters
<br>
now include Rotate value and states if the page has transparency.
<br>
<br>
Also allow this to be used more conveniently with the -- syntax:
<br>
gs {-q} -- toolbin/pdf_info.ps inputfile.pdf
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12391 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/pdf_info.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 15:19:15 +0000></a>
2011-04-12 15:19:15 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=78bb9a6585153e2cf0cbcc689706cd89d68b5b7b">78bb9a6585153e2cf0cbcc689706cd89d68b5b7b</a>
<blockquote>
<br>
Fix PostScript colour handling
<br>
<br>
Bug #692116 "gs crash while executing stop operator"
<br>
<br>
The problem was caused by a mismatch between the graphics library and the PostScript
<br>
interpreter. When executing setcachedevice the graphcis library can set the colour
<br>
space to DeviceGray. Because it is unaware of the 'higher level' members of the graphics
<br>
state which belong to the PostScript interpreter it does not, and cannot, set the
<br>
*PostScript* graphics state colour space to the same space.
<br>
<br>
Normally this does not matter, because after the glyph is complete the colour space is
<br>
restored. However, if a currentgray/currentrgb/currentcmyk operator is executed after
<br>
the graphics library has set the space to DeviceGray, but before it has restored the
<br>
space, then the PostScript space will be incorrect. This leads to the PostScript
<br>
handling trying to access more elements from the stack than 'currentcolor' put there
<br>
(currentcolor uses the underlying space, not the PostScript space), and causes errors.
<br>
<br>
There isn't a really good way to handle this, because we can't put information about
<br>
the PostScript state into the graphics library. So I've chosen to check the underlying
<br>
colour space when processing currentgray etc, and if the space in the graphics
<br>
library is DeviceGray and does not match the expected PostScript space, then instead
<br>
of raising an error we proceed as if the PostScript space had been DeviceGray all
<br>
along.
<br>
<br>
No differences expected
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12389 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/zcolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 09:12:59 +0000></a>
2011-04-12 09:12:59 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1b48fe7a0a2bd2aa49cd6cbf0ec5de3abcab7c89">1b48fe7a0a2bd2aa49cd6cbf0ec5de3abcab7c89</a>
<blockquote>
<br>
Fix the GS_LIB registry value.
<br>
<br>
The GS_LIB registry entry was missing the "lib" directory.
<br>
<br>
Also, tidy up some of the uninstall rules.
<br>
<br>
No cluster differences.
<br>
<br>
Bug 692140
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12388 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/nsisinst.nsi
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 06:44:27 +0000></a>
2011-04-12 06:44:27 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f0a9ab32440ecade2d301187489805284cbf1a9d">f0a9ab32440ecade2d301187489805284cbf1a9d</a>
<blockquote>
<br>
Forgot to save the readme
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12387 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/color/icc_creator/README.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 06:38:17 +0000></a>
2011-04-12 06:38:17 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d90c248c90cb8e12c6613d32b347846a64f91ca6">d90c248c90cb8e12c6613d32b347846a64f91ca6</a>
<blockquote>
<br>
Addition of one more profile, which is a CMYK profile but which only outputs in the K channel and a ifdef in the code to generate this thing.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12386 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/color/icc_creator/ICC Profiles/cmyk_k_ouput_only.icc
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.cpp
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 06:17:59 +0000></a>
2011-04-12 06:17:59 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a031163dc9ada140b6e606582c29c9515fc7d839">a031163dc9ada140b6e606582c29c9515fc7d839</a>
<blockquote>
<br>
Fix for an issue related to white point for the cmyk profile also fix for when UCR/BG is used in the profile creation.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12385 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/color/icc_creator/ICC Profiles/ps_emulate_cmyk.icc
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.cpp
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 05:11:30 +0000></a>
2011-04-12 05:11:30 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6acec66087ba2de2d99c42c9e1d33cdb89473089">6acec66087ba2de2d99c42c9e1d33cdb89473089</a>
<blockquote>
<br>
Addition of ICC profiles that properly emulate the PS color mappings
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12384 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/color/icc_creator/ICC Profiles/ps_emulate_cmyk.icc
<br>
gs/toolbin/color/icc_creator/ICC Profiles/ps_emulate_gray.icc
<br>
gs/toolbin/color/icc_creator/ICC Profiles/ps_emulate_rgb.icc
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-12 05:02:03 +0000></a>
2011-04-12 05:02:03 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=151535c554165c2f03fbe07098cc45fb0b341f67">151535c554165c2f03fbe07098cc45fb0b341f67</a>
<blockquote>
<br>
Fix for bugs in ICC creator tool related primarily to the CMYK profile for simulating PS color conversions. Added in a option so that we do the CPSI like conversion and also added in the ability to define UCR/BG and pack those mappings into ICC profiles. These fixes were needed to take care of an issue found by customer 850.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12383 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/color/halftone/README
<br>
gs/toolbin/color/icc_creator/ICC_Creator/CIELAB.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_Creator.rc
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp
<br>
gs/toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.cpp
<br>
gs/toolbin/color/icc_creator/ICC_Creator/icc_create.h
<br>
gs/toolbin/color/icc_creator/ICC_Creator/resource.h
<br>
gs/toolbin/color/icc_creator/README.txt
<br>
gs/toolbin/color/icc_creator/ucr_bg.txt
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-11 15:59:22 +0000></a>
2011-04-11 15:59:22 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4509a49f66c24f3a5590aadaaee30325676df877">4509a49f66c24f3a5590aadaaee30325676df877</a>
<blockquote>
<br>
Fix (colour handling) : crash when executing 'stop'
<br>
<br>
This is part of the fix for bug #692116. The crash in that report is caused because the
<br>
continuation procedures for the colour handling are sometimes pushed with a
<br>
push_mark_estack where the opproc has a value of 0. This is not valid and I always
<br>
intended to fix it, but forgot.
<br>
<br>
This changes all uses of push_mark_estack so that the opproc is set to a valid routine
<br>
which does nothing, thus solving the crash and exposing the real problem. The only
<br>
reason we get a crash is because we are executing stop as part of the error handler,
<br>
because currentgray returned an error.
<br>
<br>
No differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12382 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/zcolor.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-09 07:06:43 +0000></a>
2011-04-09 07:06:43 +0000</strong>
<br>Alex Cherepanov <alex.cherepanov@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6cb2c7110447967b01f19415ae0ff0f8dd1a251b">6cb2c7110447967b01f19415ae0ff0f8dd1a251b</a>
<blockquote>
<br>
Add special processing for a broken PDF file that uses bare stream
<br>
dictionaries instead of ICCBased color space arrays. Bug 692213.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12381 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/Resource/Init/pdf_draw.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-08 17:03:54 +0000></a>
2011-04-08 17:03:54 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0791cc859ad38053ab3d3eef50169ac259f771cb">0791cc859ad38053ab3d3eef50169ac259f771cb</a>
<blockquote>
<br>
Fix for x11alpha device when the source file has transparency. Two issues existed. One, found by henry, was that the target device of the x11alpha device was not inheriting the icc profile of the x11alpha device. The other was that the x11alpha device was using the bbox compositor procedure, which has some operations in it related to checking if the device has a target and the pdf14 device will target the target of the bbox device. This is not what we want for the x11alpha device. This should fix a lot of the x11alpha bugs Basically any source files that had transparency would have failed prior to this fix.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12380 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevxini.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-08 13:34:53 +0000></a>
2011-04-08 13:34:53 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=507cbee1403b20b2c3fec692f746f41d9d985566">507cbee1403b20b2c3fec692f746f41d9d985566</a>
<blockquote>
<br>
Fix Bug 692129. If an image is scaled to zero height and interpolation
<br>
is on, we end up mallocing a zero byte buffer and then overrunning it.
<br>
<br>
The fix is to detect this scaling, and still allocate a 1 pixel high
<br>
buffer.
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12378 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/siscale.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-08 08:48:17 +0000></a>
2011-04-08 08:48:17 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1b6c7591e0f62007e4cf690d2f2fcbb56be9f989">1b6c7591e0f62007e4cf690d2f2fcbb56be9f989</a>
<blockquote>
<br>
Fix GSLite : update to changes in decode_glyph method
<br>
<br>
Revision 12374 altered the decode_glyph font method to take an additional parameter,
<br>
the character code. This commit updates the GSLite code routines to take the extra
<br>
parameter
<br>
<br>
No differences expected, I don't think this is tested (or even compiled)
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12377 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
tools/gslite/gslt_font_api.c
<br>
tools/gslite/gslt_font_cff.c
<br>
tools/gslite/gslt_font_ttf.c
<br>
tools/gslite/gslt_test.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-08 08:36:35 +0000></a>
2011-04-08 08:36:35 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=cc053e229b4a2dd03ff83673bfb819be51e970c3">cc053e229b4a2dd03ff83673bfb819be51e970c3</a>
<blockquote>
<br>
Fix XPS and PCL interpreters : Change to decode_glyph routine
<br>
<br>
The decode_glyph font method was changed to pass in the character code in revision
<br>
12374, but I missed the fact that these methods also exist in the XPS and PCL
<br>
interpreters.
<br>
<br>
This revision simply updates the methods with the additional parameter.
<br>
<br>
No differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12376 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
pl/plfont.c
<br>
xps/xpscff.c
<br>
xps/xpsttf.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-07 15:52:45 +0000></a>
2011-04-07 15:52:45 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a69dfc3caebd4f16ab8ba7f1c888bdbed6e5dbce">a69dfc3caebd4f16ab8ba7f1c888bdbed6e5dbce</a>
<blockquote>
<br>
Resolve a path problem when running mkcidfm.ps.
<br>
<br>
mkcidfm.ps did not handle the path to the Windows
<br>
font directory using back slash directory delimiters
<br>
so the nsis script now replaces all the back slash
<br>
delimiters with forward slash, with which mkcidfm.ps
<br>
works correctly.
<br>
<br>
Bug 691511
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12375 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/nsisinst.nsi
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-07 15:48:21 +0000></a>
2011-04-07 15:48:21 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=24c562b9bcedcd9e6bd1d63a06c09eba52a24cbd">24c562b9bcedcd9e6bd1d63a06c09eba52a24cbd</a>
<blockquote>
<br>
Fix (pdfwrite) : Not using ToUnicode CMaps under some conditions
<br>
<br>
Bug #692119 "Cannot copy text from Ghostscript generated PDF/A document"
<br>
<br>
The PDF interpreter converts ToUnicode CMaps into GlyphNames2Unicode dictionaries, to
<br>
do this it uses the Encoding to convert the character codes into glyph names. Of course
<br>
for CIDFonts we don't want to do this, and so when there is no Encoding we instead
<br>
put the Unicode value directly into the dictionary using the CID as an index.
<br>
<br>
If the font has no Encoding (which is optional in PDF) then we do the same for a
<br>
regular font. However, by the time pdfwrite sees the font we have had to add an Encoding
<br>
as its not valid for us to define a regular font with no Encoding.
<br>
<br>
So pdfwrite converts the character code into a (bogus) glyph name, and then tries to
<br>
look up that glyph name in the GlyphNames2Unicode dictionary. Obviously this fails.
<br>
<br>
I've extended the 'decode_glyph' call so that it takes both the glyph name and the
<br>
character code, for CID fonts the character code is always -1. If the glyph name can't
<br>
be found in the GlyphNames2Unicode dictionary then we try to use the character code
<br>
instead.
<br>
<br>
This works for this test case, and I don't think its likely to produce worse results
<br>
than the old code. Regression tests show no differences, but since they don't test
<br>
ToUnicode CMaps they weren't expected to. My own tests seem to be OK but I can't say
<br>
I'm terribly sure about this one.
<br>
<br>
Expected Differences
<br>
None
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12374 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevpdtc.c
<br>
gs/base/gdevpdte.c
<br>
gs/base/gsfont.c
<br>
gs/base/gxfont.h
<br>
gs/psi/bfont.h
<br>
gs/psi/zbfont.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-07 03:30:16 +0000></a>
2011-04-07 03:30:16 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8170bf69742a320e7e28bffa58cbf0f0f14f2eb0">8170bf69742a320e7e28bffa58cbf0f0f14f2eb0</a>
<blockquote>
<br>
Fix for 692123. It was necessary to make sure that the blending state of the pdf14 device is updated when we have the alpha buffer device installed in front of the pdf14 device.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12373 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gspaint.c
<br>
gs/base/gstrans.c
<br>
gs/base/gstrans.h
<br>
gs/base/gxdevsop.h
<br>
gs/base/lib.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-06 18:33:27 +0000></a>
2011-04-06 18:33:27 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c03e320614893bb304b6c63e02a597d0153df031">c03e320614893bb304b6c63e02a597d0153df031</a>
<blockquote>
<br>
Change lcms2 memory handling and update lib.
<br>
<br>
As of this commit, we can (and do) run a completely unchanged library.
<br>
<br>
This includes our tiny tweak to be able to get the input/output formats for
<br>
a given transform. Also update our interface code so that we use the plugin
<br>
mechanism to redirect malloc/free etc through us rather than hacking the
<br>
code direct. Thanks to Marti Maria for both of these.
<br>
<br>
No cluster changes as this code is not tested. CLUSTER_UNTESTED.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12372 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_lcms2.c
<br>
gs/lcms2/AUTHORS
<br>
gs/lcms2/ChangeLog
<br>
gs/lcms2/Makefile.in
<br>
gs/lcms2/configure
<br>
gs/lcms2/configure.ac
<br>
gs/lcms2/doc/LittleCMS2.1 API.pdf
<br>
gs/lcms2/include/Makefile.in
<br>
gs/lcms2/include/lcms2.h
<br>
gs/lcms2/src/Makefile.in
<br>
gs/lcms2/src/cmscnvrt.c
<br>
gs/lcms2/src/cmserr.c
<br>
gs/lcms2/src/cmsxform.c
<br>
gs/lcms2/src/lcms2_internal.h
<br>
gs/lcms2/testbed/Makefile.in
<br>
gs/lcms2/utils/jpgicc/Makefile.in
<br>
gs/lcms2/utils/linkicc/Makefile.in
<br>
gs/lcms2/utils/linkicc/linkicc.1
<br>
gs/lcms2/utils/linkicc/linkicc.c
<br>
gs/lcms2/utils/psicc/Makefile.in
<br>
gs/lcms2/utils/tificc/Makefile.in
<br>
gs/lcms2/utils/transicc/Makefile.in
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-06 17:41:50 +0000></a>
2011-04-06 17:41:50 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a54df2d2b0e78777a037ceacfba76dd47d9993d3">a54df2d2b0e78777a037ceacfba76dd47d9993d3</a>
<blockquote>
<br>
Resolve a crash to due an unexpected CMap object type.
<br>
<br>
The code was not checking that the CMap object was a string or an array (of
<br>
strings) before trying read bytes from it. If the CMap actually turned out
<br>
to be an unexpected object, such as an integer, it would cause a crash.
<br>
<br>
Credit to Ken Sharp for the patch.
<br>
<br>
Bug 692124
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12371 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/zfapi.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-06 12:13:55 +0000></a>
2011-04-06 12:13:55 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d97f8c354d97c8ec941c2d4b702b7d17ab0e03b3">d97f8c354d97c8ec941c2d4b702b7d17ab0e03b3</a>
<blockquote>
<br>
Fix (ps2write/pdfwrite) : bitmapped font problem
<br>
<br>
When producing an inline image representing a glyph which could not be embedded as text,
<br>
the code emitted the matrix setup for the image before opening the context. If there
<br>
was (for example) a pending text operation this caused the matrix setup to appear in
<br>
the text context instead of the image context, leading to the image disappearing.
<br>
<br>
Opening the image context before emitting the matrix solves the problem.
<br>
<br>
Expected Differences
<br>
The output from ps2write (resolution = 300 dpi) with the file
<br>
'metrics_no_bbox.ps'
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12370 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevpdfb.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-05 15:01:49 +0000></a>
2011-04-05 15:01:49 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2d72418b094cb62501d6af82a845848d01134119">2d72418b094cb62501d6af82a845848d01134119</a>
<blockquote>
<br>
The FAPI code was relying on the result of gx_compute_text_oversampling()
<br>
to ascertain whether anti-aliasing is in force.
<br>
<br>
This is insufficient, as it turns out, and we actually need to base the
<br>
decision on the alpha bits as requested by the device.
<br>
<br>
No cluster differences expected.
<br>
<br>
Bug 692120.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12369 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/zfapi.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-04 16:33:13 +0000></a>
2011-04-04 16:33:13 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f4a6e441bbe26758d4d3d9c62c369fde2b0e9643">f4a6e441bbe26758d4d3d9c62c369fde2b0e9643</a>
<blockquote>
<br>
Squash some warnings in the lcms v2 interface code. No expected differences.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12368 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_lcms2.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-04 14:42:57 +0000></a>
2011-04-04 14:42:57 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b359a954d93cd140b3e000c107854b021ccd9189">b359a954d93cd140b3e000c107854b021ccd9189</a>
<blockquote>
<br>
Squash 4 warnings in the lcmvs v1 stuff.
<br>
<br>
No cluster differences expected (and testing shows none, so CLUSTER_UNTESTED).
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12367 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_cms.h
<br>
gs/base/gsicc_manage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-04 07:40:55 +0000></a>
2011-04-04 07:40:55 +0000</strong>
<br>Ken Sharp <ken.sharp@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1f92f1449bf208c8f7a878c8f149ca67cd62ab49">1f92f1449bf208c8f7a878c8f149ca67cd62ab49</a>
<blockquote>
<br>
Alter the generation of Decode array entries for images using Indexed colour spaces by
<br>
using bit shifting instead of simple 'exp' operator.
<br>
<br>
No differences expected, code is equivalent.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12366 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/opdfread.h
<br>
gs/lib/opdfread.ps
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:40:27 +0000></a>
2011-04-03 20:40:27 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b58247cecc1fd272e12adc26890d912346dd92c5">b58247cecc1fd272e12adc26890d912346dd92c5</a>
<blockquote>
<br>
Bug 689093 #21/ HTML compatibility.
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12365 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Drivers.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:39:48 +0000></a>
2011-04-03 20:39:48 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d52ff94dea3bb3db0dc4c9ee1c8e89d48b1fb7ed">d52ff94dea3bb3db0dc4c9ee1c8e89d48b1fb7ed</a>
<blockquote>
<br>
Bug 689093 #20/ HTML compatibility
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12364 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/API.htm
<br>
gs/doc/C-style.htm
<br>
gs/doc/Changes.htm
<br>
gs/doc/Commprod.htm
<br>
gs/doc/DLL.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Develop.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/Fonts.htm
<br>
gs/doc/Helpers.htm
<br>
gs/doc/Hershey.htm
<br>
gs/doc/History1.htm
<br>
gs/doc/History2.htm
<br>
gs/doc/History3.htm
<br>
gs/doc/History4.htm
<br>
gs/doc/History5.htm
<br>
gs/doc/History6.htm
<br>
gs/doc/History7.htm
<br>
gs/doc/Install.htm
<br>
gs/doc/Issues.htm
<br>
gs/doc/Language.htm
<br>
gs/doc/Lib.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/News.htm
<br>
gs/doc/Projects.htm
<br>
gs/doc/Ps-style.htm
<br>
gs/doc/Ps2epsi.htm
<br>
gs/doc/Ps2pdf.htm
<br>
gs/doc/Ps2ps2.htm
<br>
gs/doc/Psfiles.htm
<br>
gs/doc/Readme.htm
<br>
gs/doc/Release.htm
<br>
gs/doc/Source.htm
<br>
gs/doc/Unix-lpr.htm
<br>
gs/doc/Use.htm
<br>
gs/doc/Xfonts.htm
<br>
gs/doc/index.html
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:39:13 +0000></a>
2011-04-03 20:39:13 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=591b83fa9500a99ff8d24ddd7aa8962bd44312d6">591b83fa9500a99ff8d24ddd7aa8962bd44312d6</a>
<blockquote>
<br>
Bug 689093 #19/ CSS conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12363 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/gs.css
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:39:01 +0000></a>
2011-04-03 20:39:01 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=464ee97310cd5c003d3683f2a2ceb16691394813">464ee97310cd5c003d3683f2a2ceb16691394813</a>
<blockquote>
<br>
Bug 689093 #18bis/ SVN damage:
<br>
Replace ijs\ijs_spec.pdf, with a good copy.
<br>
<br>
This file is currently damaged in the SVN Repository. The damage seem to have
<br>
happened during the conversion of the Repository from CVS to Subversion. This copy
<br>
of the file comes from the last CVS version available; the copy in the 1st SVN
<br>
checkout I have is already damaged. Note the "/CreationDate" inside the pdf is the
<br>
same as in the current (damaged) version and the last change to this file is very
<br>
old, so this file's substantive content did not change after the migration to SVN.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12362 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/ijs/ijs_spec.pdf
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:38:09 +0000></a>
2011-04-03 20:38:09 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bbb639d51f543398c6e318075656af4857ad58b5">bbb639d51f543398c6e318075656af4857ad58b5</a>
<blockquote>
<br>
Bug 689093 #18/ SVN damage
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12361 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/scfdgen.c
<br>
gs/doc/C-style.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Details.htm
<br>
gs/doc/Details8.htm
<br>
gs/doc/Details9.htm
<br>
gs/doc/Develop.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/Hershey.htm
<br>
gs/doc/History1.htm
<br>
gs/doc/History2.htm
<br>
gs/doc/History3.htm
<br>
gs/doc/History4.htm
<br>
gs/doc/History5.htm
<br>
gs/doc/History6.htm
<br>
gs/doc/History7.htm
<br>
gs/doc/History8.htm
<br>
gs/doc/History9.htm
<br>
gs/doc/Install.htm
<br>
gs/doc/Issues.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/Ps-style.htm
<br>
gs/doc/Release.htm
<br>
gs/doc/Use.htm
<br>
gs/toolbin/gen_ldf_jb2.py
<br>
gs/toolbin/split_changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:27:35 +0000></a>
2011-04-03 20:27:35 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5ff3a16a18372eff2b65054ced9b0cd283ad1ea9">5ff3a16a18372eff2b65054ced9b0cd283ad1ea9</a>
<blockquote>
<br>
Bug 689093 #17/ SVN damage
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12360 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/split_changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:25:28 +0000></a>
2011-04-03 20:25:28 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5b7d759adc6fb7f5ab85b72c195aaa4cc8a9882b">5b7d759adc6fb7f5ab85b72c195aaa4cc8a9882b</a>
<blockquote>
<br>
Bug 689093 #16/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12359 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Details.htm
<br>
gs/doc/Details8.htm
<br>
gs/doc/Details9.htm
<br>
gs/doc/History8.htm
<br>
gs/doc/History9.htm
<br>
gs/toolbin/split_changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:25:06 +0000></a>
2011-04-03 20:25:06 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=399081713e3314b04fa4404e870434f0bacb4590">399081713e3314b04fa4404e870434f0bacb4590</a>
<blockquote>
<br>
Bug 689093 #15 (note: there's no #14)/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12358 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Language.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/Ps2pdf.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:24:56 +0000></a>
2011-04-03 20:24:56 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ce833816683f46ec1acd966c4c86a01a33b2f687">ce833816683f46ec1acd966c4c86a01a33b2f687</a>
<blockquote>
<br>
Bug 689093 #13/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12357 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Deprecated.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:24:48 +0000></a>
2011-04-03 20:24:48 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=394631da0981713367ca2472be75445bd0fb0d56">394631da0981713367ca2472be75445bd0fb0d56</a>
<blockquote>
<br>
Bug 689093 #12 (note: there's no #11)/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12356 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Changes.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Details9.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/History9.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/News.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:24:30 +0000></a>
2011-04-03 20:24:30 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a17d948ba8edffee3d5cdd710ed495da93d72bda">a17d948ba8edffee3d5cdd710ed495da93d72bda</a>
<blockquote>
<br>
Bug 689093 #10/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12355 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/API.htm
<br>
gs/doc/DLL.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/Fonts.htm
<br>
gs/doc/Helpers.htm
<br>
gs/doc/Install.htm
<br>
gs/doc/Language.htm
<br>
gs/doc/Lib.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/Projects.htm
<br>
gs/doc/Ps-style.htm
<br>
gs/doc/Ps2epsi.htm
<br>
gs/doc/Ps2pdf.htm
<br>
gs/doc/Ps2ps2.htm
<br>
gs/doc/Psfiles.htm
<br>
gs/doc/Release.htm
<br>
gs/doc/Source.htm
<br>
gs/doc/Unix-lpr.htm
<br>
gs/doc/Use.htm
<br>
gs/doc/Xfonts.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:24:19 +0000></a>
2011-04-03 20:24:19 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=01a5f1374998c9d24e021ee8851ae36cb58a8230">01a5f1374998c9d24e021ee8851ae36cb58a8230</a>
<blockquote>
<br>
Bug 689093 #09/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12354 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/History6.htm
<br>
gs/doc/History7.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:24:04 +0000></a>
2011-04-03 20:24:04 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2692aa2af43e7f1d3655fabad728ceca9157f9b5">2692aa2af43e7f1d3655fabad728ceca9157f9b5</a>
<blockquote>
<br>
Bug 689093 #08/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12353 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Details8.htm
<br>
gs/doc/History8.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:23:39 +0000></a>
2011-04-03 20:23:39 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7215a52b4ae31ceb807da776b2c06f368dc9e275">7215a52b4ae31ceb807da776b2c06f368dc9e275</a>
<blockquote>
<br>
Bug 689093 #07/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12352 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Details.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:22:54 +0000></a>
2011-04-03 20:22:54 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9be02f9987043d2f1c4ea6bb1da403e9bbeaa535">9be02f9987043d2f1c4ea6bb1da403e9bbeaa535</a>
<blockquote>
<br>
Bug 689093 #06/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12351 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/split_changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:22:27 +0000></a>
2011-04-03 20:22:27 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=33674899f2fca8b2ed947862131bc57eb99c749a">33674899f2fca8b2ed947862131bc57eb99c749a</a>
<blockquote>
<br>
Bug 689093 #05/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12350 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/API.htm
<br>
gs/doc/C-style.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Details8.htm
<br>
gs/doc/Develop.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/History5.htm
<br>
gs/doc/History6.htm
<br>
gs/doc/History7.htm
<br>
gs/doc/History8.htm
<br>
gs/doc/Issues.htm
<br>
gs/doc/Language.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/Ps-style.htm
<br>
gs/doc/Release.htm
<br>
gs/doc/Use.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:21:59 +0000></a>
2011-04-03 20:21:59 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6b853264c8be1ce8efdf0f511889647d2e3251fa">6b853264c8be1ce8efdf0f511889647d2e3251fa</a>
<blockquote>
<br>
Bug 689093 #04/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12349 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Details8.htm
<br>
gs/doc/History8.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:21:48 +0000></a>
2011-04-03 20:21:48 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=24d88fd4b1c8c57e01ba295de69b6ff8a7c3431b">24d88fd4b1c8c57e01ba295de69b6ff8a7c3431b</a>
<blockquote>
<br>
Bug 689093 #03/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12348 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/split_changelog.py
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:20:32 +0000></a>
2011-04-03 20:20:32 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=81cda2e93b17532409bdea39168db92bf2552919">81cda2e93b17532409bdea39168db92bf2552919</a>
<blockquote>
<br>
Bug 689093 #02/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12347 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/API.htm
<br>
gs/doc/C-style.htm
<br>
gs/doc/Commprod.htm
<br>
gs/doc/DLL.htm
<br>
gs/doc/Deprecated.htm
<br>
gs/doc/Details8.htm
<br>
gs/doc/Details9.htm
<br>
gs/doc/Develop.htm
<br>
gs/doc/Devices.htm
<br>
gs/doc/Drivers.htm
<br>
gs/doc/Fonts.htm
<br>
gs/doc/Helpers.htm
<br>
gs/doc/History1.htm
<br>
gs/doc/History2.htm
<br>
gs/doc/History3.htm
<br>
gs/doc/History4.htm
<br>
gs/doc/History5.htm
<br>
gs/doc/History6.htm
<br>
gs/doc/History7.htm
<br>
gs/doc/History8.htm
<br>
gs/doc/History9.htm
<br>
gs/doc/Install.htm
<br>
gs/doc/Issues.htm
<br>
gs/doc/Language.htm
<br>
gs/doc/Lib.htm
<br>
gs/doc/Make.htm
<br>
gs/doc/News.htm
<br>
gs/doc/Projects.htm
<br>
gs/doc/Ps-style.htm
<br>
gs/doc/Ps2epsi.htm
<br>
gs/doc/Ps2pdf.htm
<br>
gs/doc/Ps2ps2.htm
<br>
gs/doc/Psfiles.htm
<br>
gs/doc/Readme.htm
<br>
gs/doc/Release.htm
<br>
gs/doc/Source.htm
<br>
gs/doc/Unix-lpr.htm
<br>
gs/doc/Use.htm
<br>
gs/doc/Xfonts.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-03 20:19:46 +0000></a>
2011-04-03 20:19:46 +0000</strong>
<br>Gheorghe Savulescu <sags@ghostscript.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a5a20b7b8c0443ac5fd8c88bdb3af37390e4bf5c">a5a20b7b8c0443ac5fd8c88bdb3af37390e4bf5c</a>
<blockquote>
<br>
Bug 689093 #01/ HTML conformance
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12346 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/toolbin/makehist.tcl
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 23:17:22 +0000></a>
2011-04-01 23:17:22 +0000</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2674c673a3f4f29c9ca1620c36a97e0bd89c0e18">2674c673a3f4f29c9ca1620c36a97e0bd89c0e18</a>
<blockquote>
<br>
Remove temporary development definition used to identify the graphics
<br>
library supported the new ICC code.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12345 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_manage.h
<br>
pcl/pctop.c
<br>
pxl/pxgstate.c
<br>
pxl/pxpthr.c
<br>
pxl/pxtop.c
<br>
xps/xpstop.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 22:58:42 +0000></a>
2011-04-01 22:58:42 +0000</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ad470fdd8c23d7597260ec1c068da69075e1d7f8">ad470fdd8c23d7597260ec1c068da69075e1d7f8</a>
<blockquote>
<br>
Fixes 691870 where the banding code was using an ICC color and the
<br>
full page was not. For color spaces in images we never actually call
<br>
"setcolorspace" so the image type was not being set to icc, we do this
<br>
now explicitly in the PCL/XL code now.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12344 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
pxl/pxgstate.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 18:42:42 +0000></a>
2011-04-01 18:42:42 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a51bd3e408207936f0e795280a71253695a9d57e">a51bd3e408207936f0e795280a71253695a9d57e</a>
<blockquote>
<br>
Add 2 files missed in commit 12341. These ones WILL have mattered.
<br>
Apoligies for this. A combination of git svn eating my first attempt
<br>
at committing it, and my own base level of incompetence caused this.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12343 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_cms.h
<br>
gs/base/gsicc_lcms.c
<br>
gs/base/lcms2.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 18:38:52 +0000></a>
2011-04-01 18:38:52 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b3ce17fce356461895d536c65d39defdb0137b06">b3ce17fce356461895d536c65d39defdb0137b06</a>
<blockquote>
<br>
Add file that somehow got missed in the lcms2 commit (r12340).
<br>
<br>
Not enabled by default so CLUSTER_UNTESTED.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12342 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsicc_lcms2.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 18:05:33 +0000></a>
2011-04-01 18:05:33 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b3703b36cb5544d9defd00780d814caed4eae5b4">b3703b36cb5544d9defd00780d814caed4eae5b4</a>
<blockquote>
<br>
Fix so that we have proper antialiasing with softmasks. Fixes bug 687674
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12341 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 18:00:12 +0000></a>
2011-04-01 18:00:12 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=50ecc84d5463bd013f794a9dd53254c2e295a85e">50ecc84d5463bd013f794a9dd53254c2e295a85e</a>
<blockquote>
<br>
Initial import of LittleCMS v2.1 into the Ghostscript/GhostPDL
<br>
build, with simple integration. LittleCMS version 1 is still used by default,
<br>
so no cluster differences expected.
<br>
<br>
The version of little cms imported was taken from the lcms git repository,
<br>
commit 314bc7201d340ab303b36a0ade2c37cf40b83a3b, and then a couple of
<br>
small tweaks were applied:
<br>
<br>
* lcms2 currently offers no way to get the input/output format for a
<br>
transform, so I add 2 functions (cmsGetTransformInputFormat and
<br>
cmsGetTransformOutputFormat) to do this.
<br>
<br>
* lcms2 currently offers no easy way to redirect malloc/free operations
<br>
away from it's internal implementation, so we add a define (LCMS_USER_ALLOC)
<br>
to allow us to be able to define our own functions. This mirrors the
<br>
work done in lcms1 by Michael, I believe.
<br>
<br>
The choice of which version of lcms to build with is made by the WHICH_CMS
<br>
define option in the makefile. Currently this is set to lcms by default,
<br>
but can be changed to lcms2 to allow lcms2 to be used instead.
<br>
<br>
To make this work, various small tweaks have been required. Firstly, we
<br>
rename gsicc_littlecms.h to gsicc_cms.h, reflecting the fact that this is
<br>
not littlecms specific - rather, it defines the interface that any cms
<br>
would have to provide in order to work with Ghostscript/GhostPDL.
<br>
<br>
Secondly, we rename gsicc_littlecms.c to gsicc_lcms.c to make the makefile
<br>
macros easier.
<br>
<br>
We add a gsicc_lcms2.c file (derived from copying and editing gsicc_lcms.c)
<br>
that interfaces with lcms2.
<br>
<br>
Currently lcms2 builds and appears to run without crashing, but gives
<br>
differing results in some cases. This will need to be solved before we can
<br>
swap over to using lcms2 by default.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12340 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
common/msvc_top.mak
<br>
common/ugcc_top.mak
<br>
gs/base/Makefile.in
<br>
gs/base/configure.ac
<br>
gs/base/gs.mak
<br>
gs/base/gsicc.c
<br>
gs/base/gsicc_cache.c
<br>
gs/base/gsicc_littlecms.c
<br>
gs/base/gsicc_littlecms.h
<br>
gs/base/gsicc_manage.h
<br>
gs/base/gxi12bit.c
<br>
gs/base/gxicolor.c
<br>
gs/base/gximono.c
<br>
gs/base/gxipixel.c
<br>
gs/base/lcms.mak
<br>
gs/base/lib.mak
<br>
gs/base/macos-mcp.mak
<br>
gs/base/macosx.mak
<br>
gs/base/msvclib.mak
<br>
gs/base/openvms.mak
<br>
gs/base/ugcclib.mak
<br>
gs/base/unix-gcc.mak
<br>
gs/base/unixansi.mak
<br>
gs/base/winlib.mak
<br>
gs/ghostscript.vcproj
<br>
gs/lcms2/AUTHORS
<br>
gs/lcms2/COPYING
<br>
gs/lcms2/ChangeLog
<br>
gs/lcms2/INSTALL
<br>
gs/lcms2/Lib/BC/BC.txt
<br>
gs/lcms2/Lib/MS/MS.TXT
<br>
gs/lcms2/Makefile.am
<br>
gs/lcms2/Makefile.in
<br>
gs/lcms2/NEWS
<br>
gs/lcms2/Projects/BorlandC_5.5/lcms2.rc
<br>
gs/lcms2/Projects/BorlandC_5.5/lcmsdll.lk
<br>
gs/lcms2/Projects/BorlandC_5.5/lcmsdll.lst
<br>
gs/lcms2/Projects/BorlandC_5.5/mklcmsdll.bat
<br>
gs/lcms2/Projects/VC2008/jpegicc/jpegicc.vcproj
<br>
gs/lcms2/Projects/VC2008/lcms2.rc
<br>
gs/lcms2/Projects/VC2008/lcms2.sln
<br>
gs/lcms2/Projects/VC2008/lcms2_DLL/lcms2_DLL.vcproj
<br>
gs/lcms2/Projects/VC2008/lcms2_static/lcms2_static.vcproj
<br>
gs/lcms2/Projects/VC2008/linkicc/linkicc.vcproj
<br>
gs/lcms2/Projects/VC2008/psicc/psicc.vcproj
<br>
gs/lcms2/Projects/VC2008/resource.h
<br>
gs/lcms2/Projects/VC2008/testbed/testbed.vcproj
<br>
gs/lcms2/Projects/VC2008/tiffdiff/tiffdiff.vcproj
<br>
gs/lcms2/Projects/VC2008/tifficc/tifficc.vcproj
<br>
gs/lcms2/Projects/VC2008/transicc/transicc.vcproj
<br>
gs/lcms2/Projects/VC2010/jpegicc/jpegicc.vcproj
<br>
gs/lcms2/Projects/VC2010/jpegicc/jpegicc.vcxproj
<br>
gs/lcms2/Projects/VC2010/jpegicc/jpegicc.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/lcms2.rc
<br>
gs/lcms2/Projects/VC2010/lcms2.sln
<br>
gs/lcms2/Projects/VC2010/lcms2_DLL/lcms2_DLL.vcproj
<br>
gs/lcms2/Projects/VC2010/lcms2_DLL/lcms2_DLL.vcxproj
<br>
gs/lcms2/Projects/VC2010/lcms2_DLL/lcms2_DLL.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/lcms2_static/lcms2_static.vcproj
<br>
gs/lcms2/Projects/VC2010/lcms2_static/lcms2_static.vcxproj
<br>
gs/lcms2/Projects/VC2010/lcms2_static/lcms2_static.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/linkicc/linkicc.vcproj
<br>
gs/lcms2/Projects/VC2010/linkicc/linkicc.vcxproj
<br>
gs/lcms2/Projects/VC2010/linkicc/linkicc.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/psicc/psicc.vcproj
<br>
gs/lcms2/Projects/VC2010/psicc/psicc.vcxproj
<br>
gs/lcms2/Projects/VC2010/psicc/psicc.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/resource.h
<br>
gs/lcms2/Projects/VC2010/testbed/testbed.vcproj
<br>
gs/lcms2/Projects/VC2010/testbed/testbed.vcxproj
<br>
gs/lcms2/Projects/VC2010/testbed/testbed.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/tiffdiff/tiffdiff.vcproj
<br>
gs/lcms2/Projects/VC2010/tiffdiff/tiffdiff.vcxproj
<br>
gs/lcms2/Projects/VC2010/tiffdiff/tiffdiff.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/tifficc/tifficc.vcproj
<br>
gs/lcms2/Projects/VC2010/tifficc/tifficc.vcxproj
<br>
gs/lcms2/Projects/VC2010/tifficc/tifficc.vcxproj.filters
<br>
gs/lcms2/Projects/VC2010/transicc/transicc.vcproj
<br>
gs/lcms2/Projects/VC2010/transicc/transicc.vcxproj
<br>
gs/lcms2/Projects/VC2010/transicc/transicc.vcxproj.filters
<br>
gs/lcms2/Projects/mac/._.DS_Store
<br>
gs/lcms2/Projects/mac/LittleCMS/._.DS_Store
<br>
gs/lcms2/Projects/mac/LittleCMS/English.lproj/InfoPlist.strings
<br>
gs/lcms2/Projects/mac/LittleCMS/Info.plist
<br>
gs/lcms2/Projects/mac/LittleCMS/LittleCMS.xcodeproj/mariama.mode1v3
<br>
gs/lcms2/Projects/mac/LittleCMS/LittleCMS.xcodeproj/mariama.pbxuser
<br>
gs/lcms2/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.pbxproj
<br>
gs/lcms2/Projects/mac/LittleCMS/LittleCMS_Prefix.pch
<br>
gs/lcms2/Projects/mac/LittleCMS/TestBed-Info.plist
<br>
gs/lcms2/README.1ST
<br>
gs/lcms2/aclocal.m4
<br>
gs/lcms2/autogen.sh
<br>
gs/lcms2/bin/Bin.txt
<br>
gs/lcms2/bin/Thumbs.db
<br>
gs/lcms2/config.guess
<br>
gs/lcms2/config.sub
<br>
gs/lcms2/configure
<br>
gs/lcms2/configure.ac
<br>
gs/lcms2/depcomp
<br>
gs/lcms2/doc/LittleCMS2.0 API.pdf
<br>
gs/lcms2/doc/LittleCMS2.0 Plugin API.pdf
<br>
gs/lcms2/doc/LittleCMS2.0 tutorial.pdf
<br>
gs/lcms2/doc/LittleCMS2.1 API.pdf
<br>
gs/lcms2/doc/LittleCMS2.1 Plugin API.pdf
<br>
gs/lcms2/doc/LittleCMS2.1 tutorial.pdf
<br>
gs/lcms2/include/Makefile.am
<br>
gs/lcms2/include/Makefile.in
<br>
gs/lcms2/include/icc34.h
<br>
gs/lcms2/include/lcms2.h
<br>
gs/lcms2/include/lcms2_plugin.h
<br>
gs/lcms2/install-sh
<br>
gs/lcms2/lcms2.pc.in
<br>
gs/lcms2/ltmain.sh
<br>
gs/lcms2/missing
<br>
gs/lcms2/src/Makefile.am
<br>
gs/lcms2/src/Makefile.in
<br>
gs/lcms2/src/cmscam02.c
<br>
gs/lcms2/src/cmscgats.c
<br>
gs/lcms2/src/cmscnvrt.c
<br>
gs/lcms2/src/cmserr.c
<br>
gs/lcms2/src/cmsgamma.c
<br>
gs/lcms2/src/cmsgmt.c
<br>
gs/lcms2/src/cmsintrp.c
<br>
gs/lcms2/src/cmsio0.c
<br>
gs/lcms2/src/cmsio1.c
<br>
gs/lcms2/src/cmslut.c
<br>
gs/lcms2/src/cmsmd5.c
<br>
gs/lcms2/src/cmsmtrx.c
<br>
gs/lcms2/src/cmsnamed.c
<br>
gs/lcms2/src/cmsopt.c
<br>
gs/lcms2/src/cmspack.c
<br>
gs/lcms2/src/cmspcs.c
<br>
gs/lcms2/src/cmsplugin.c
<br>
gs/lcms2/src/cmsps2.c
<br>
gs/lcms2/src/cmssamp.c
<br>
gs/lcms2/src/cmssm.c
<br>
gs/lcms2/src/cmstypes.c
<br>
gs/lcms2/src/cmsvirt.c
<br>
gs/lcms2/src/cmswtpnt.c
<br>
gs/lcms2/src/cmsxform.c
<br>
gs/lcms2/src/lcms2.def
<br>
gs/lcms2/src/lcms2_internal.h
<br>
gs/lcms2/testbed/Makefile.am
<br>
gs/lcms2/testbed/Makefile.in
<br>
gs/lcms2/testbed/USWebCoatedSWOP.icc
<br>
gs/lcms2/testbed/UncoatedFOGRA29.icc
<br>
gs/lcms2/testbed/bad.icc
<br>
gs/lcms2/testbed/sRGBSpac.icm
<br>
gs/lcms2/testbed/sRGB_Color_Space_Profile.icm
<br>
gs/lcms2/testbed/sRGB_v4_ICC_preference.icc
<br>
gs/lcms2/testbed/testcms2.c
<br>
gs/lcms2/testbed/testthread.cpp
<br>
gs/lcms2/testbed/toosmall.icc
<br>
gs/lcms2/utils/common/utils.h
<br>
gs/lcms2/utils/common/vprf.c
<br>
gs/lcms2/utils/common/xgetopt.c
<br>
gs/lcms2/utils/delphi/delphidemo.dpr
<br>
gs/lcms2/utils/delphi/delphidemo.dproj
<br>
gs/lcms2/utils/delphi/delphidemo.res
<br>
gs/lcms2/utils/delphi/demo1.dfm
<br>
gs/lcms2/utils/delphi/demo1.pas
<br>
gs/lcms2/utils/delphi/lcms2dll.pas
<br>
gs/lcms2/utils/jpgicc/Makefile.am
<br>
gs/lcms2/utils/jpgicc/Makefile.in
<br>
gs/lcms2/utils/jpgicc/iccjpeg.c
<br>
gs/lcms2/utils/jpgicc/iccjpeg.h
<br>
gs/lcms2/utils/jpgicc/jpgicc.1
<br>
gs/lcms2/utils/jpgicc/jpgicc.c
<br>
gs/lcms2/utils/linkicc/Makefile.am
<br>
gs/lcms2/utils/linkicc/Makefile.in
<br>
gs/lcms2/utils/linkicc/linkicc.1
<br>
gs/lcms2/utils/linkicc/linkicc.c
<br>
gs/lcms2/utils/matlab/icctrans.c
<br>
gs/lcms2/utils/matlab/lcms_rsp
<br>
gs/lcms2/utils/psicc/Makefile.am
<br>
gs/lcms2/utils/psicc/Makefile.in
<br>
gs/lcms2/utils/psicc/psicc.1
<br>
gs/lcms2/utils/psicc/psicc.c
<br>
gs/lcms2/utils/samples/Makefile.am
<br>
gs/lcms2/utils/samples/Makefile.in
<br>
gs/lcms2/utils/samples/itufax.c
<br>
gs/lcms2/utils/samples/mkcmy.c
<br>
gs/lcms2/utils/samples/mkgrayer.c
<br>
gs/lcms2/utils/samples/mktiff8.c
<br>
gs/lcms2/utils/samples/roundtrip.c
<br>
gs/lcms2/utils/samples/vericc.c
<br>
gs/lcms2/utils/samples/wtpt.1
<br>
gs/lcms2/utils/samples/wtpt.c
<br>
gs/lcms2/utils/tificc/Makefile.am
<br>
gs/lcms2/utils/tificc/Makefile.in
<br>
gs/lcms2/utils/tificc/tifdiff.c
<br>
gs/lcms2/utils/tificc/tificc.1
<br>
gs/lcms2/utils/tificc/tificc.c
<br>
gs/lcms2/utils/transicc/Makefile.am
<br>
gs/lcms2/utils/transicc/Makefile.in
<br>
gs/lcms2/utils/transicc/transicc.1
<br>
gs/lcms2/utils/transicc/transicc.c
<br>
gs/psi/int.mak
<br>
gs/psi/msvc.mak
<br>
gs/psi/os2.mak
<br>
main/pcl6_gcc.mak
<br>
main/pcl6_msvc.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 16:44:50 +0000></a>
2011-04-01 16:44:50 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b960ff15c895dbe5a7d6baf470ad8a12949ad054">b960ff15c895dbe5a7d6baf470ad8a12949ad054</a>
<blockquote>
<br>
Fix for mistaken double allocation of threshold array object. Thanks to ray for finding this.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12339 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gsht.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-04-01 16:39:59 +0000></a>
2011-04-01 16:39:59 +0000</strong>
<br>Michael Vrhel <michael.vrhel@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=66adf73f5cbaa010b6a7ee730384c3a58752bff3">66adf73f5cbaa010b6a7ee730384c3a58752bff3</a>
<blockquote>
<br>
Fix so that anti-aliasing works when the source file contains transparency. This involved the addition of a copy_alpha procedure for the gdevp14 device. In addition, the anti-aliasing parameters for the target device are passed along to the gdevp14 device. The gdevp14 clist device uses the forward copy alpha operation, so that we end up using the clist_copy_alpha operation. Then during the clist reading phase we use the gdevp14 device's copy_alpha command.
<br>
<br>
There are two things that I do need to do in relation to this commit. One is that the operation that actually computes and applies the alpha associated with the transparency needs to be optimized so that we are not doing floating point math. Also, support needs to be added for knockout fills. However, for the vast majority of files with transparency we should now have support with -dGraphicAlphaBits and -dTextAlphaBits.
<br>
<br>
I will open a bug on the two outstanding issues so that I don't forget.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12338 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-31 17:30:58 +0000></a>
2011-03-31 17:30:58 +0000</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=7825ac4552256609c8060b5af13bb168170db6eb">7825ac4552256609c8060b5af13bb168170db6eb</a>
<blockquote>
<br>
Bug #692100, padding was being treated inconsistently within 2
<br>
procedures resulting in UMR's and incorrect results. I'm afraid we
<br>
still don't understand the details of HP's seemingly bug-ridden
<br>
padding implementation but this fix at least makes the code internally
<br>
consistent.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12337 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
pxl/pximage.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-31 17:22:23 +0000></a>
2011-03-31 17:22:23 +0000</strong>
<br>Henry Stiles <henry.stiles@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=91b7f320484904d60e8cf017611f5a8da4a6c685">91b7f320484904d60e8cf017611f5a8da4a6c685</a>
<blockquote>
<br>
Fixes 692109, the "no argument case" of the HPGL/2 INPUT RELATIVE
<br>
command did not properly initialized the operands to their defaults.
<br>
Only likely to be seen in unusual test cases. Fixes indeterminacy
<br>
in CET 32-07.BIN reported in the regression tests.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12336 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
pcl/pgconfig.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-31 15:36:32 +0000></a>
2011-03-31 15:36:32 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=65ea9547d5760284c68da6b6b413d335e4e68ed1">65ea9547d5760284c68da6b6b413d335e4e68ed1</a>
<blockquote>
<br>
The last of Hintak's (usable) improvements to the nsis installer
<br>
script, plus a tweak or two.
<br>
<br>
Make the cidfmap generation a tickbox option on the final page.
<br>
<br>
Add a link to the uninstaller from the Start Menu group.
<br>
<br>
No cluster differences
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12335 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/nsisinst.nsi
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 15:33:28 +0000></a>
2011-03-30 15:33:28 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=700f41807524588d82a674c3618322f71bbe9d7b">700f41807524588d82a674c3618322f71bbe9d7b</a>
<blockquote>
<br>
Bring the nsis installer script and it's caller up
<br>
to date.
<br>
<br>
Vast majority of the credit to Hintak for this.
<br>
<br>
No cluster differences.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12334 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/psi/nsisinst.nsi
<br>
gs/psi/winint.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 12:23:41 +0000></a>
2011-03-30 12:23:41 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c428998ab5d6b6f164de9474c25ee788ae4ef77f">c428998ab5d6b6f164de9474c25ee788ae4ef77f</a>
<blockquote>
<br>
Squash a warning in a device call.
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12333 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gxclpath.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 11:13:37 +0000></a>
2011-03-30 11:13:37 +0000</strong>
<br>Tor Andersson <tor.andersson@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=807af34ac8671f03b8c73cca2cdbebca796c716e">807af34ac8671f03b8c73cca2cdbebca796c716e</a>
<blockquote>
<br>
xps: Fix bug when parsing cluster mappings.
<br>
<br>
We incorrectly encoded and emitted all characters in a
<br>
Many-to-One cluster mapping, resulting in extraneous characters
<br>
where ligatures were used. A (2:1) cluster map for the ligature
<br>
"fi" has two characters (f, i) and one glyph (fi). We showed it
<br>
as two glyphs (fi, i) instead of skipping the second character
<br>
while decoding the cluster map.
<br>
<br>
This fixes multiple errors in MXDW/TypeSamples.xps
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12332 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
xps/xpsglyphs.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:17:57 +0000></a>
2011-03-30 10:17:57 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2e594aee0d69b99a17fa9cd3cf21696773afde43">2e594aee0d69b99a17fa9cd3cf21696773afde43</a>
<blockquote>
<br>
Add gs/doc to Visual Studio project, enabling documentation to be easily
<br>
edited in the Visual Studio editor.
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12331 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/ghostscript.vcproj
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:17:42 +0000></a>
2011-03-30 10:17:42 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=790f395b044a7e7179c3ca918e30475827c8a30b">790f395b044a7e7179c3ca918e30475827c8a30b</a>
<blockquote>
<br>
Add documentation for dev_spec_op to Devices.htm.
<br>
<br>
No cluster changes.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12330 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/doc/Drivers.htm
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:17:26 +0000></a>
2011-03-30 10:17:26 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a243545401bf0fdb8b1a18e7e5379119c56aecfa">a243545401bf0fdb8b1a18e7e5379119c56aecfa</a>
<blockquote>
<br>
Add new copy_plane device procedure; arguments as for copy_color with an
<br>
extra int to identify which plane we want to work on.
<br>
<br>
The call effectively says "Copy this pixmap into the specified plane of this
<br>
device". It is envisaged that it will only be defined for planar devices.
<br>
<br>
For now clients can detect whether or not to use this based on whether the
<br>
function pointer is non NULL. If need be (to cope with forwarding devices)
<br>
we can add a dev_spec_op.
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12329 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevmpla.c
<br>
gs/base/gxdevcli.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:17:10 +0000></a>
2011-03-30 10:17:10 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3bdda000eabced6e4c015af4c6dbb5b02f1abdda">3bdda000eabced6e4c015af4c6dbb5b02f1abdda</a>
<blockquote>
<br>
Add new dev_spec_op operation for spotting that a device maps colours in
<br>
the 'standard' 1bit cmyk way, and use that rather than manually checking
<br>
function pointers. This allows bitcmyk, pamcmyk4 and plibk devices to
<br>
correctly spot the optimisation in get_bits (used for rops that use D).
<br>
<br>
Testing locally indicates that the special case is now taken, but that no
<br>
differences are seen in the results (as we would hope).
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12328 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevdgbr.c
<br>
gs/base/gdevdrop.c
<br>
gs/base/gxclpath.c
<br>
gs/base/gxdevsop.h
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:16:54 +0000></a>
2011-03-30 10:16:54 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f81e8f47c06572ecc4f7e3fcc03ca4db60507ce4">f81e8f47c06572ecc4f7e3fcc03ca4db60507ce4</a>
<blockquote>
<br>
Tweak dev_spec_op implementations so that they correctly forward through
<br>
to the 'default' (or base) implementations for unknown operations. Stupid
<br>
of me to have got this wrong initially, as it is one of the main purposes
<br>
of this mechanism.
<br>
<br>
No cluster differences expected.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12327 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevpdfd.c
<br>
gs/base/gdevpdfi.c
<br>
gs/base/gxacpath.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 10:15:18 +0000></a>
2011-03-30 10:15:18 +0000</strong>
<br>Robin Watts <robin.watts@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bca8531f23845a6c70cf938fb0ab1bc6e9f14fd9">bca8531f23845a6c70cf938fb0ab1bc6e9f14fd9</a>
<blockquote>
<br>
Add new dev_spec_op call to device procs table, along with gxdevsop.h header
<br>
that defines the operation enumeration for it.
<br>
<br>
Move existing calls of pattern_manage across to using dev_spec_op instead.
<br>
Add comments to the pattern management definitions noting that it is
<br>
deprecated and should not be used.
<br>
<br>
No cluster differences (aside from indeterminisms).
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12326 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/base/gdevbbox.c
<br>
gs/base/gdevdflt.c
<br>
gs/base/gdevdrop.c
<br>
gs/base/gdevnfwd.c
<br>
gs/base/gdevp14.c
<br>
gs/base/gdevpdfb.h
<br>
gs/base/gdevpdfd.c
<br>
gs/base/gdevpdfi.c
<br>
gs/base/gdevpdfx.h
<br>
gs/base/gdevrops.c
<br>
gs/base/gscolor3.c
<br>
gs/base/gsimage.c
<br>
gs/base/gsptype1.c
<br>
gs/base/gsptype2.c
<br>
gs/base/gxacpath.c
<br>
gs/base/gxcldev.h
<br>
gs/base/gxclip.c
<br>
gs/base/gxclip2.c
<br>
gs/base/gxclipm.c
<br>
gs/base/gxclist.c
<br>
gs/base/gxclrect.c
<br>
gs/base/gxdevcli.h
<br>
gs/base/gxdevice.h
<br>
gs/base/gxdevsop.h
<br>
gs/base/gxfill.c
<br>
gs/base/gximask.c
<br>
gs/base/gxpcmap.c
<br>
gs/base/gxshade6.c
<br>
gs/psi/zpcolor.c
<br>
xps/xpstile.c
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 09:26:50 +0000></a>
2011-03-30 09:26:50 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ed774ca984d2566b00e212d130644abd5529235f">ed774ca984d2566b00e212d130644abd5529235f</a>
<blockquote>
<br>
Update version number post-release.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12325 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
gs/Resource/Init/gs_init.ps
<br>
gs/base/gscdef.c
<br>
gs/base/version.mak
<br>
<p>
</blockquote>
<hb>
<p><strong><a name=2011-03-30 08:52:03 +0000></a>
2011-03-30 08:52:03 +0000</strong>
<br>Chris Liddell <chris.liddell@artifex.com><br>
<a href="http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c078bd72163e75a0e462e512bf9d91adaa69eb01">c078bd72163e75a0e462e512bf9d91adaa69eb01</a>
<blockquote>
<br>
Update the ghostpdl version number.
<br>
<br>
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12321 a1074d23-0009-0410-80fe-cf8c14f379e6
<br>
<br>
pl/pl.mak
<br>
<p>
</blockquote>
<h2><a name="Version9.02"></a>Version 9.02 (2011-03-30)</h2>
<p>This is the third release in the stable 9.x series.
<p>This is an "out of order" release, primarily to ensure the
GPL Ghostscript release remains in version "lock-step" with the
Artifex commercial release.
<p> Highlights in this release include:
<p>For monochrome devices, there is a new halftone technique for sampled
image data. The existing technique is very efficient (and is is still used)
for large areas of color, such as an area fill, but encountered performance
problems dealing with sampled image data where a given colour value only
covered a few pixels at a time. The new approach applies the halftone threshold
array directly to the image samples.
<p> Further performance, memory use, and stability improvements with the new
features introduced in 9.00, as well as Unix/Linux build fixes, plus the usual
assorted bug fixes.
<p>For a list of open issues, or to report problems,
please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>.
<h3><a name="9.02_Incompatible_changes"></a>Incompatible changes</h3>
<p>
No recorded incompatible changes.
<h3><a name="9.03_changelog"></a>Changelog</h3>
<p><strong><a name="2011-03-30T064801.334550Z"></a>
2011-03-30T06:48:01.334550Z chrisl</strong></p>
<blockquote>
<pre>
Extend the SSE2 check in both configure scripts.
The check now attempts to declare a variable of a type missing in older
versions of gcc.
Bug 692102
No cluster differences expected.
</pre>
<p>[base/configure.ac /trunk/ghostpdl/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-03-28T084948.387061Z"></a>
2011-03-28T08:49:48.387061Z Chris Liddell</strong></p>
<blockquote>
<pre>
Reduce duplication of changelog and news by deprecating Changes.htm and
Details#.htm.
The information will now be in two places only: the highlights summary
in News.htm, and the detailed changes in History#.htm.
Update related documentation and html links to reflect this change.
CLUSTER_UNTESTED
</pre>
<p>[doc/Changes.htm doc/Readme.htm doc/Details9.htm doc/Release.htm]</p>
</blockquote>
<p><strong><a name="2011-03-26T145106.549590Z"></a>
2011-03-26T14:51:06.549590Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for issue found by Chris where we have a soft mask embedded in a softmask
and graphic state pushes and pops occurring. In this case, the soft mask stack
that is saved gets out of sync compared to the one in the context state.
Use of the stack count can catch the issue and correct it. Also a rename of
one of the variables in the pdf14 code to make it easier to debug.</pre>
<p>[base/gdevp14.c base/gdevp14.h]</p>
</blockquote>
<p><strong><a name="2011-03-25T121205.657797Z"></a>
2011-03-25T12:12:05.657797Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fixes concerning the compatibility of the OpenPrinting Vector ("opvp")
output device with Ghostscript 9.x.
1. If there is any ICCColor based image in the PostScript input, GS crashes.
2. Fallback when path is too complex for some kinds of printers. This problem
already existed in GS 8.x.
Thanks to Koji Otani from BBR Inc., Japan.
</pre>
<p>[contrib/opvp/gdevopvp.c]</p>
</blockquote>
<p><strong><a name="2011-03-25T102206.357287Z"></a>
2011-03-25T10:22:06.357287Z Chris Liddell</strong></p>
<blockquote>
<pre>
The code was erroneously attempting to get a glyph name for a case where
we already had a glyph index for a Truetype font.
Add a check for object type before trying to get a string from a name object.
Bug 692095
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2011-03-24T172617.397320Z"></a>
2011-03-24T17:26:17.397320Z Chris Liddell</strong></p>
<blockquote>
<pre>
Resolve build issues with language_switch and UFST.
I had (wrongly) assumed that the PCL/language_switch builds with UFST
and COMPILE_INITS=1 would have the relevant paths correctly setup for
the PS/PDF world to access the Microtype FCOs. It turns out they are
done in an incompatible manner.
So, I've renamed the path variables (in the makefiles) so there isn't
a clash between PCL and PS/PDF, ensured that the variables are correctly
passed through recursive (n)make calls, and tidied up the FAPI options
for the language_switch build.
Not only does this allow language_switch to build with the UFST, but the
Postscript interpreter does now use FAPI/UFST to access the Microtype fonts
for the built-in fonts, and uses FAPI/Freetype for downloaded fonts.
Bug 692093
No cluster differences expected.
</pre>
<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/main/pcl6_gcc.mak psi/msvc.mak base/Makefile.in psi/int.mak]</p>
</blockquote>
<p><strong><a name="2011-03-24T042223.459616Z"></a>
2011-03-24T04:22:23.459616Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for compiler warning.</pre>
<p>[base/gdevp14.h]</p>
</blockquote>
<p><strong><a name="2011-03-23T213420.429081Z"></a>
2011-03-23T21:34:20.429081Z Michael Vrhel</strong></p>
<blockquote>
<pre>
This commit fixes several issues.
Memory leaks in the PDF14 device as well as the separation devices.
Fixes in PDF14 device so the the color encoder and decoder are properly updated
if soft masks occur with spot colors.
Proper copying of the devicen parameters to the clist devices in the MT
rendering. This was the source of a problem when doing multi-threaded
rendering to separation devices.
This fixes bug 692087</pre>
<p>[base/gdevp14.c base/gsicc_cache.c base/gxclutil.c base/gdevpsd.c base/lib.mak base/gdevp14.h base/gxclthrd.c base/gdevtsep.c base/gdevdevn.c base/gxblend.c base/gdevdevn.h]</p>
</blockquote>
<p><strong><a name="2011-03-21T112417.021832Z"></a>
2011-03-21T11:24:17.021832Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for memory leaks in the pdf14 device. These could occur with softmask and
graphic state changes as well as when we are going to a tiffsep device. </pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2011-03-20T014019.345427Z"></a>
2011-03-20T01:40:19.345427Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 692087 crashes. num_bytes - bytes_dropped was ending up negative
in cases where the transparency device was reducing the number of colorants
compared to the target device (mainly when we had a softmask) which was getting
passed into the clist as an unsigned value. Now when this occurs we just use
the encoding of the full color value. </pre>
<p>[base/gxclutil.c]</p>
</blockquote>
<p><strong><a name="2011-03-19T045652.259544Z"></a>
2011-03-19T04:56:52.259544Z Michael Vrhel</strong></p>
<blockquote>
<pre>
A temp fix for bugs 692038 and 692065. The clist devices that are created for
the threads now inherit the icc profile from the target device. I need to set
things up so that the device profile is no longer reference counted since we
could have a race condition problem if the different threads are incrementing
and decrementing the count and if the command is not atomic on a particular
architecture. The plan will be to no longer ref count the device profile but
to have it maintained until the the actual target device is destroyed. There
will be a bit of work to do with respect to the pdf14 device, which can have
a device profile that is different than the actual target device. That profile
can be altered with the transparency group pushes and pops.</pre>
<p>[base/gxclthrd.c]</p>
</blockquote>
<p><strong><a name="2011-03-19T003237.910024Z"></a>
2011-03-19T00:32:37.910024Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for some strange rendering with PDF 1.7 FTS files when we have shading and
transparency and are both filling and stroking text (Text Rendering modes 2
and 6). Customer 532.
</pre>
<p>[Resource/Init/pdf_ops.ps]</p>
</blockquote>
<p><strong><a name="2011-03-18T051608.669973Z"></a>
2011-03-18T05:16:08.669973Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that image_parent_type is properly initialized during clist image
reading.</pre>
<p>[base/gsiparm4.h base/gximage1.c base/gximage4.c]</p>
</blockquote>
<p><strong><a name="2011-03-17T152458.552348Z"></a>
2011-03-17T15:24:58.552348Z Chris Liddell</strong></p>
<blockquote>
<pre>
Escape/quote the UFST path settings in the makefile so that the macros
correctly expand to strings.
Bug 692082
No cluster differences expected
CLUSTER_UNTESTED
</pre>
<p>[base/Makefile.in]</p>
</blockquote>
<p><strong><a name="2011-03-17T095453.062174Z"></a>
2011-03-17T09:54:53.062174Z Chris Liddell</strong></p>
<blockquote>
<pre>
Uncached glyphs were ignoring rendering mode 3, and being imaged
directly to the device - for cached glyphs the decision occurred
in the "show machinery".
This wasn't my first choice solution, but all the others I tried
caused problems with later use of a cached glyph (which wasn't
actually cached), or problems with pdfwrite, pswrite or ps2write.
Bug 692004
No cluster differences expected.
</pre>
<p>[base/gspaint.c]</p>
</blockquote>
<p><strong><a name="2011-03-17T094116.074991Z"></a>
2011-03-17T09:41:16.074991Z Chris Liddell</strong></p>
<blockquote>
<pre>
Fix some issue where user specified devices didn't get the requisite
"$(DD)" and ".dev" runes added to them.
Also, rearrange the "pre-declared" device strings to be more
consistent within configure.ac
Bug 692062
No cluster differences expected.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-03-15T175917.340024Z"></a>
2011-03-15T17:59:17.340024Z Robin Watts</strong></p>
<blockquote>
<pre>
Add special case mem_planar_copy_color_4to1 code for copying bits
from 4 1 bit planes into 1 4 bit chunky plane.
This helps with performance of the plibk device.
No cluster differences expected.</pre>
<p>[base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-03-15T083505.386182Z"></a>
2011-03-15T08:35:05.386182Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (ps2write) : Indexed colour images have incorrect /Decode
Bug #691924 "Differences in colour with ps2write"
The problem was due to the opdfread code generating a /Decode for an Indexed
colour space where the value was [0 2^n] and should be [0 ((2^n) - 1)]. This
caused the highest image sample to be mapped to 1 past the end of the samples
in the colour space.
Normally this doesn't matter, because the values are clamped to 'hival' in the
Indexed space. In this case, however, the image was 2 bpp (4 values) but the
colour space was defined as a full 256 indices, with only the first 4 bein
used.
The incorrect Decode caused the image sample value 3 to be looked up as colour
space sample 4, which was set to all 0 (black) causing incorrect colour values.
</pre>
<p>[base/opdfread.h lib/opdfread.ps]</p>
</blockquote>
<p><strong><a name="2011-03-14T154615.599171Z"></a>
2011-03-14T15:46:15.599171Z Robin Watts</strong></p>
<blockquote>
<pre>
Reintroduce commented out PACIFY_VALGRIND definition in gximono.c - without it
the comment makes no sense.
Add new PACIFY_VALGRIND code (and commented out definition) in
gxht_threshold.c.
Fix some line endings.
No real code change, so no cluster differences expected.
</pre>
<p>[base/gximono.c base/gxht_thresh.c]</p>
</blockquote>
<p><strong><a name="2011-03-14T151608.036660Z"></a>
2011-03-14T15:16:08.036660Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix an indetermism in the halftoning code. When mapping a y offset into a
row index for a halftone tile, special care needs to be taken when y is
negative. Proof (as if more were needed) that the % operator in C is evil.
The command in question was a cutdown version of C306.bin rendered at 600bpi
to pbmraw with dMaxBitmap=10000.
It now runs into a clist UMR. Will keep looking.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-14T135351.702509Z"></a>
2011-03-14T13:53:51.702509Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (ps2write) : Don't set a default halftone.
Bug #691923 "Differences in dithered output with ps2write"
The PDF interpreter emits a setpagdevice between every page of output, in case
the media size has changed. The implementation of setpagedevice resets the
halftone to be the default halftone (106 lpi 45 degree line screen).
This is a problem for ps2write, and potantially pdfwrite, as there is no way to
differentiate between a default halftone set by setpagdevice, and a halftone
contained in the input file.
To avoid embedding an unhelpful halftone, we now check the device parameter
'/HighLevelDevice' in the setpagedevice implementation, and if it is present
and true, we do not call .setdefaulthalftone.
Also updates documentation on device parameters.
This causes differences on every 1-bit rendering test (ie pkmraw) of the
ps2write output file, so approximately 1300 differences are to be expected.
</pre>
<p>[doc/Drivers.htm Resource/Init/gs_setpd.ps]</p>
</blockquote>
<p><strong><a name="2011-03-14T130003.503443Z"></a>
2011-03-14T13:00:03.503443Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 692064. Tiffscaled device was checking on page print time that the
expected size of the page wouldn't make the page too large to fit in a file.
This code was copied from the tiffgray device (as we render internally in
8bpp). As we output in monochrome however (and may use compression) the
test is in fact bogus, and should simply be removed. We do that here.
It's entirely possible that we should be removing the test from the
tiffgray device too - most systems with 32bit longs support large files these
days, and compression may apply here too anyway. I'll leave this until it
becomes an issue though.
No cluster differences expected.</pre>
<p>[base/gdevtsep.c]</p>
</blockquote>
<p><strong><a name="2011-03-13T115708.378919Z"></a>
2011-03-13T11:57:08.378919Z Ken Sharp</strong></p>
<blockquote>
<pre>
Some updates to the new device parameters. It turned out that the intended
parameter Type32ToUnicode was incorrectly implemented. This should actually
have used the WantsToUnicode parameter, because the code actually controls the
processing of GlyphNames2Unicode tables from Windows PostScript.
This means we no longer need the Type32ToUnicode parameter and it has been
removed.
Added initial documentation of these parameters.
This appears to cause some differences in Bug690829.ps rendered at 300 dpi.
This is a surprise, because the changes should have no effect on devices other
than pdfwrite/ps2write, but the new result is better than the old, so this is
a progression.
</pre>
<p>[Resource/Init/gs_pdfwr.ps base/gdevpdfx.h base/gdevpdfp.c doc/Drivers.htm base/gdevpdfb.h]</p>
</blockquote>
<p><strong><a name="2011-03-13T012149.785339Z"></a>
2011-03-13T01:21:49.785339Z Ray Johnston</strong></p>
<blockquote>
<pre>
Remove spurious debug printout inserted in rev 12141 line 780:
1 index == 0 index ==
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2011-03-11T192457.067395Z"></a>
2011-03-11T19:24:57.067395Z Ken Sharp</strong></p>
<blockquote>
<pre>
Change the default value for the 'AllowPSRepeat' so that it defaults to allowed
instead of disallowed (doh!) This is important for those devices which don't
set the device parameter.
No differences expected.
</pre>
<p>[psi/zfunc4.c]</p>
</blockquote>
<p><strong><a name="2011-03-11T171451.124213Z"></a>
2011-03-11T17:14:51.124213Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove a #if 0 accidentally left in the commit for revision 12282. Also
initialise a variable, just in case.
No differences expected.
</pre>
<p>[psi/zfunc4.c]</p>
</blockquote>
<p><strong><a name="2011-03-11T165834.690669Z"></a>
2011-03-11T16:58:34.690669Z Ken Sharp</strong></p>
<blockquote>
<pre>
The final removal of the reliance on testing the device name to influence
interpreter behaviour.
This tests the /AllowPSRepeat paramter and flags an error if a function tries
to use 'repeat' when it is disallowed.
Still to do: write some documentation on these new parameters.
No differences expected.
</pre>
<p>[psi/zfunc4.c]</p>
</blockquote>
<p><strong><a name="2011-03-11T151440.609962Z"></a>
2011-03-11T15:14:40.609962Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add the new third party library directories to the Windows nmake zip file
target.
No cluster differences.
Bug 691944
Credit to: Gennadiy Tsarenkov.
CLUSTER_UNTESTED
</pre>
<p>[psi/winint.mak]</p>
</blockquote>
<p><strong><a name="2011-03-11T150756.095474Z"></a>
2011-03-11T15:07:56.095474Z Chris Liddell</strong></p>
<blockquote>
<pre>
Rejig the romfs targets so that unix make can follow the dependencies.
This should prevent the pointless rebuilding of the romfs C source.
Bug 692053
No cluster differences expected.
</pre>
<p>[base/lib.mak base/unix-aux.mak]</p>
</blockquote>
<p><strong><a name="2011-03-11T090424.536166Z"></a>
2011-03-11T09:04:24.536166Z Chris Liddell</strong></p>
<blockquote>
<pre>
Some (broken) TrueType fonts have out of order loca tables, which can result
in the calculated glyph data lengths being larger than the actual
available glyph data. Normally this does not cause a problem, but if the glyph
in question is in the final bytes of the stream, we encounter an unexpected
end of data condition when creating the glyph data buffer to pass into
Freetype.
So the FAPI interface code will now ignore that error, and adjust the byte
length to correctly reflect the number of bytes available in the buffer.
It is safe to do this because, in the event we have a genuine out-of-data
condition, Freetype will return an error when it tries to interpret the
glyph outline.
Bug 692043
No cluster differences expected.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2011-03-11T054519.450208Z"></a>
2011-03-11T05:45:19.450208Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix missing header problem on older versions of MSVC.
</pre>
<p>[base/gsropt.h]</p>
</blockquote>
<p><strong><a name="2011-03-11T041539.316030Z"></a>
2011-03-11T04:15:39.316030Z Michael Vrhel</strong></p>
<blockquote>
<pre>
A reorganization of the halftone code in preparation of doing thresholding of
color images. This basically pulls out some code pieces that will be shared
in all the image thresholding cases. No differences expected
(or seen in the cluster push).</pre>
<p>[base/gxht_thresh.h base/lib.mak base/gximono.c base/gxicolor.c base/gxht_thresh.c]</p>
</blockquote>
<p><strong><a name="2011-03-10T173138.501799Z"></a>
2011-03-10T17:31:38.501799Z Robin Watts</strong></p>
<blockquote>
<pre>
I missed one change in commit 12274. The detection of chunky modes should
look at num_planes being <= 1, not == 1.
I tested this locally and then clearly missed it when cluster pushing.
</pre>
<p>[base/gdevdrop.c]</p>
</blockquote>
<p><strong><a name="2011-03-10T165615.200283Z"></a>
2011-03-10T16:56:15.200283Z Robin Watts</strong></p>
<blockquote>
<pre>
Planar device is broken w.r.t rops in a cmyk space - this commit fixes it.
The planar memory device sets itself to use gx_default_strip_copy_rop
rather than mem_strip_copy_rop. mem_strip_copy_rop knows that rops on
cmyk pixels should actually convert to rgb, perform the rop, and convert
back again, but doesn't know how to convert the results back when it's in
planar mode. gs_default_strip_copy_rop can cope with planar mode, but doesn't
know to convert to rgb first.
The first fix included here is to extend mem_strip_copy_rop to know how to
write back to planar format, and then to make the planar memory device use
mem_strip_copy_rop.
This then exposes various flaws in mem_strip_copy_rop, including the fact
that it relies on being able to set the offset in get_bits calls when this
is sometimes not possible. We therefore fix the code to manage offsets
by explicitly updating them.
Also, the raster used in mem_strip_copy_rop was incorrect - we use the
correct one and get much better results.
No cluster differences expected as the planar device is not tested.
</pre>
<p>[base/gdevdrop.c base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-03-10T164220.394889Z"></a>
2011-03-10T16:42:20.394889Z Robin Watts</strong></p>
<blockquote>
<pre>
The routines in gdevplib.c intended to map colors in cmyk form back to rgb
were incorrect. Fixed here.
No differences expected as this files isn't linked in by default.
CLUSTER_UNTESTED
</pre>
<p>[base/gdevplib.c]</p>
</blockquote>
<p><strong><a name="2011-03-10T162704.913812Z"></a>
2011-03-10T16:27:04.913812Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove the buffer blanking done in gximono.c. Previously removing this would
have caused indeterminisms. With the additional fix in here to limit
offset_bits to dest_width, however, we should get stable results.
This gives various differences in output (81 in pcl, presumably more in PDF
and PS). Bmpcmp of the pcl ones shows them as all progressions.
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-10T145508.103488Z"></a>
2011-03-10T14:55:08.103488Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update the remaining PostScript files (mostly the PDF interpreter) to use the
new device parameters instead of explicitly checking for the device being named
'pdfwrite' or 'ps2write'.
Some more modification is still required, but we're nearly there. We will
continue to check the device names in gs_pdfwr.ps when setting up the default
state for those specific devices.
Although not strictly a Distiller device, ps2write declares itself to be
'IsDistiller'. This is because some PostScript test files were found to behave
differently if the distillerparams operators were available, in particular
files would be oriented differently if the device was deemed to be a Distiller.
</pre>
<p>[Resource/Init/gs_pdfwr.ps Resource/Init/pdf_font.ps Resource/Init/pdf_draw.ps base/gdevpdfb.h Resource/Init/gs_setpd.ps]</p>
</blockquote>
<p><strong><a name="2011-03-10T073145.990562Z"></a>
2011-03-10T07:31:45.990562Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Ignore null object when it is used instead of the gstate dictionary.
Bug 692050.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2011-03-10T061917.004672Z"></a>
2011-03-10T06:19:17.004672Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Change all instances of true, false, and null to //true, //false, and //null
to avoid interferance from PS files that redefine them. Bug 692041.
</pre>
<p>[Resource/Init/gs_typ32.ps Resource/Init/gs_cidfm.ps Resource/Init/gs_mgl_e.ps Resource/Init/pdf_rbld.ps Resource/Init/gs_resmp.ps Resource/Init/gs_dscp.ps Resource/Init/gs_fonts.ps Resource/Init/gs_wan_e.ps Resource/Init/gs_mex_e.ps Resource/Init/gs_ttf.ps Resource/Init/gs_cspace.ps Resource/Init/gs_cff.ps Resource/Init/gs_dps1.ps Resource/Init/gs_lev2.ps Resource/Init/pdf_sec.ps Resource/Init/gs_l2img.ps Resource/Init/gs_cet.ps Resource/Init/gs_dbt_e.ps Resource/Init/gs_pdf_e.ps Resource/Init/gs_statd.ps Resource/Init/gs_fapi.ps Resource/Init/gs_pdfwr.ps Resource/Init/gs_cidfn.ps Resource/Init/pdf_main.ps Resource/Init/gs_dps.ps Resource/Init/gs_res.ps Resource/Init/gs_ll3.ps Resource/Init/gs_css_e.ps Resource/Init/gs_epsf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_dpnxt.ps Resource/Init/gs_icc.ps Resource/Init/gs_mro_e.ps Resource/Init/pdf_ops.ps Resource/Init/gs_init.ps Resource/Init/pdf_font.ps Resource/Init/gs_ciddc.ps Resource/Init/gs_trap.ps Resource/Init/gs_cidtt.ps Resource/Init/gs_diskn.ps Resource/Init/gs_fntem.ps Resource/Init/pdf_base.ps Resource/Init/gs_sym_e.ps Resource/Init/gs_img.ps Resource/Init/gs_btokn.ps Resource/Init/gs_cidcm.ps]</p>
</blockquote>
<p><strong><a name="2011-03-10T005808.762234Z"></a>
2011-03-10T00:58:08.762234Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 692038.
This fixes 3 issues when using a CIELAB based profile for the output device ICC profile.
One was a problem when handling separation color spaces when they had the ALL entry and we were going to an additive device. AR does a 1-INK level for the device values and no color management. We were doing the same, but this approach will not work if our destination color space is CIELAB. Now if we are headed toward CIELAB we do the 1-INK to RGB and then transform to CIELAB.
Another was that transparency blending should never be done in CIELAB or similar type color spaces. With transparency, the PDF14 device inherits the profile for the target device and if the transparency groups don't specify a color space we would end up blending in CIELAB. The solution was to detect this situation and use the defaultRGB profile for blending. Conversion to CIELAB occurs during the pdf14 put image operation.
Finally, with shading in transparency, we need to make sure to pass along the transparency device through the shading parameters whenever we have a color mismatch between the pdf14 device and the target device so that the shading will occur in the proper color space.
These changes are all related to a non-tested cluster case when we have -sOutputICCProfile=lab.icc</pre>
<p>[base/gdevp14.c base/gxcmap.c base/gstrans.c base/gxclist.h base/gdevtfnx.c base/gsfunc0.c base/devs.mak base/gsicc.c]</p>
</blockquote>
<p><strong><a name="2011-03-09T213258.461339Z"></a>
2011-03-09T21:32:58.461339Z Robin Watts</strong></p>
<blockquote>
<pre>
Add gxht_thresh.{c,h} to Visual C project.
CLUSTER_UNCHECKED</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-03-09T144440.068733Z"></a>
2011-03-09T14:44:40.068733Z Robin Watts</strong></p>
<blockquote>
<pre>
Disable PACIFY_VALGRIND in gximono.c. This define is intended to enable
extra code that can be performed so as to ensure that valgrind doesn't
report false positives. As such, disabling it should have no adverse
effects.
Unfortunately, it seems that in the portrait case, if we don't blank the
threshold array before we run, we get diffs. I have therefore taken this
memset out of the PACIFY_VALGRIND case and forced it to always happen.
This probably points to a bug and should be investigated properly.
No cluster differences expected.
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-08T200017.821965Z"></a>
2011-03-08T20:00:17.821965Z Robin Watts</strong></p>
<blockquote>
<pre>
Simple optimisations to non SSE2 versions of halftoning code. There is
probably (certainly!) more performance to come with loop unrolling etc,
but this at least gets us the cheap win of avoiding repeated array accessing,
only setting, not blanking bits etc.
Cluster tests show no changes.
</pre>
<p>[base/gxht_thresh.c]</p>
</blockquote>
<p><strong><a name="2011-03-08T174051.077420Z"></a>
2011-03-08T17:40:51.077420Z Robin Watts</strong></p>
<blockquote>
<pre>
Change to gsroprun1.h to avoid over/underreading the source/texture buffers.
Given a valid byte range we expand that to the smallest enclosing CHUNK range
and guarantee never to access out of that range. Previously we could read
one CHUNK before/after it.
If this is a problem, simply ensure that CHUNK is byte rather than int on
your platform. This now behaves better than the original code which would
access one byte before/after the defined range.
No cluster differences seen in testing.
</pre>
<p>[base/gsroprun1.h]</p>
</blockquote>
<p><strong><a name="2011-03-08T163516.023687Z"></a>
2011-03-08T16:35:16.023687Z Tor Andersson</strong></p>
<blockquote>
<pre>
Add PNG reading support to the bmpcmp tool.</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2011-03-08T151842.397978Z"></a>
2011-03-08T15:18:42.397978Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update to use the new device parameter /PreserveTrMode instead of explicitly checking
for the device name being 'pdfwrite'.
No differences expected.
</pre>
<p>[Resource/Init/pdf_ops.ps]</p>
</blockquote>
<p><strong><a name="2011-03-08T082754.788378Z"></a>
2011-03-08T08:27:54.788378Z Ken Sharp</strong></p>
<blockquote>
<pre>
Activate the new device parameters, and modify the resource code to use the first one
(AllowIncrementalCFF) instead of testing for the pdfwrite device name.
No differences expected.
</pre>
<p>[Resource/Init/gs_cidfn.ps base/gdevpdfp.c]</p>
</blockquote>
<p><strong><a name="2011-03-08T002607.330315Z"></a>
2011-03-08T00:26:07.330315Z Robin Watts</strong></p>
<blockquote>
<pre>
When using PACIFY_VALGRIND, don't call the memory blanking when the
mallocs have failed.
This should cure the SEGVs that were introduced, but otherwise cause no
changes.
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T221929.253652Z"></a>
2011-03-07T22:19:29.253652Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Initialize ht landscape structure to zero when in portrait case. There is a conditional test on the value later.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T215702.879011Z"></a>
2011-03-07T21:57:02.879011Z Robin Watts</strong></p>
<blockquote>
<pre>
Correct line endings (were DOS, should be Unix).
No cluster differences.
CLUSTER_UNTESTED
</pre>
<p>[base/gxht_thresh.h base/gxht_thresh.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T211712.494498Z"></a>
2011-03-07T21:17:12.494498Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new debugging define to gximono.c, PACIFY_VALGRIND.
This enables various small tweaks in the code that stop valgrind throwing
errors. We believe that all the errors thrown are false positives, but
we enable this define anyway until we've sorted the current indeterminisms.
We'll disable it in a few days when we have solved the problems and check that
it really doesn't cause any more.
Cluster results unknown; probably no change. If this solves indetermisms
then we'll need to understand why.
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T211156.916525Z"></a>
2011-03-07T21:11:56.916525Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix typos, one in a comment, one in an id string.
No cluster differences.
CLUSTER_UNTESTED
</pre>
<p>[base/gxipixel.c base/gzspotan.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T185808.149818Z"></a>
2011-03-07T18:58:08.149818Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for improper indexing of reversed portrait image line. We were off by one byte and ended up with one byte not set. Def. a source of indeterminism. Thanks to Robin for tracking this down.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T154013.201330Z"></a>
2011-03-07T15:40:13.201330Z Ken Sharp</strong></p>
<blockquote>
<pre>
Undo revision 12243. The revision makes a debug print dependent on the value of the
'size_set' variable. Unfortunately, this variable is not defined in the cups_get_matrix
routine. It is defined in the other places it is used (cups_put_params).
This prevents a debug build from compiling on Windows, and I can't see how it would
work on any other OS when built for debug.
Reverted the change in order to build debug versions of Ghostscript.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T142111.345196Z"></a>
2011-03-07T14:21:11.345196Z Ken Sharp</strong></p>
<blockquote>
<pre>
Redo revision 12248 in a way which (hopefully!) doesn't cause seg faults.
Still no differences expected....
</pre>
<p>[base/gdevpdfx.h base/gdevpdfp.c base/gdevpdfb.h]</p>
</blockquote>
<p><strong><a name="2011-03-07T124047.052280Z"></a>
2011-03-07T12:40:47.052280Z Chris Liddell</strong></p>
<blockquote>
<pre>
Account for fonts in which (some) charstrings have been replaced with
Postscript procedures when FAPI decides an outline, or just a width
is required. The previous code only handled this case for rendered
glyphs from Freetype.
Bug 692029
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T111219.973357Z"></a>
2011-03-07T11:12:19.973357Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite & ps2write enhancement
Add some new keys to the device parameters dictionary for these devices. These will be
used to replace the explicit tests against the device name in various places in future
commits.
These will also later be documented and their use suggested for any devices requiring
the same capabilities.
No differences expected, these are not used yet.</pre>
<p>[base/gdevpdfp.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T094302.986503Z"></a>
2011-03-07T09:43:02.986503Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update the second place where we may have to reset the Freetype glyph object.
Again, this means we only free the outline or bitmap data, and just let
Freetype "reset" its glyph object between glyphs.
No cluster differences expected.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2011-03-07T070812.439689Z"></a>
2011-03-07T07:08:12.439689Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for compositor device chaining in the pdf14 device. This was detected in a
file that did overprint along with transparency. The pdf14 device incremented the
ref_count for the overprint_device, but never decremented it since the 'finalize'
of the pdf14 device was left at NULL rather than being set to the gx_forward_finalize
function which should be used. The gx_device_set_target, rather than rc_assign does
the proper set of the finalize proc pointer so that reference counts for the device
chain are properly maintained. Detected by customer 532 since their device freed
the clist buf_device resulting in the overprint_device having a 'target' pointer
to freed memory, causing a SEGV when the 'finalize' function executed.
No regressions expected since in the normal code, the GC frees the devices that
were left unreferenced by the free of the pdf14 device.
</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2011-03-06T165219.765042Z"></a>
2011-03-06T16:52:19.765042Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix to use proper DDA incrementation for interpolation. We still maintain special loops for when there is no scaling or for when it is 2x. This should fix the intdeterminism issues. Tested performance on customer files and no significant difference was observed. About 1500 cluster differences will be reported with this fix.</pre>
<p>[base/lib.mak base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-06T111548.120325Z"></a>
2011-03-06T11:15:48.120325Z Chris Liddell</strong></p>
<blockquote>
<pre>
Instead of destroying and recreating freetype's glyph object for every glyph
we need to render, we can just free the "transient" parts: the bitmap or the
outline.
Saves a very small amount of time, and potentially reduces memory pool
fragmentation.
No cluster differences expected.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2011-03-05T174646.608714Z"></a>
2011-03-05T17:46:46.608714Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Do not do debug output of an uninitialized variable
Thanks to Richard Hughes (hughsient at gmail dot com) for the patch.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-03-04T192750.114304Z"></a>
2011-03-04T19:27:50.114304Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Correction on Richard Hughes' patch for color management in the CUPS filters.
</pre>
<p>[cups/colord.c]</p>
</blockquote>
<p><strong><a name="2011-03-04T175100.067911Z"></a>
2011-03-04T17:51:00.067911Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fix a warning and type error. Code should produce the same results,
so no testing.
CLUSTER_UNTESTED
</pre>
<p>[base/gdevdgbr.c]</p>
</blockquote>
<p><strong><a name="2011-03-04T133411.568425Z"></a>
2011-03-04T13:34:11.568425Z Robin Watts</strong></p>
<blockquote>
<pre>
Add FIXME to gximono.c about possible future optimisation, so it is not
forgotten.
CLUSTER_UNTESTED
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-04T093504.845642Z"></a>
2011-03-04T09:35:04.845642Z Chris Liddell</strong></p>
<blockquote>
<pre>
Only attempt to create files in the "cups" directory if it exists.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-03-04T064529.360251Z"></a>
2011-03-04T06:45:29.360251Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Reorganization of threshold code to move all the thresh holding operations into a new file. </pre>
<p>[base/gxht_thresh.h base/lib.mak base/gximono.c base/gximage.h base/gxht_thresh.c base/gsiparam.h]</p>
</blockquote>
<p><strong><a name="2011-03-04T061653.560659Z"></a>
2011-03-04T06:16:53.560659Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add missing test for /packedarraytype during recursive dereferencing
of composite PDF objects. Bug 692018, customer 850.
</pre>
<p>[Resource/Init/pdf_base.ps]</p>
</blockquote>
<p><strong><a name="2011-03-03T222022.363870Z"></a>
2011-03-03T22:20:22.363870Z Henry Stiles</strong></p>
<blockquote>
<pre>
The get_bits() device call was assumed to return copied data and fill
in the allocated memory pointed to by the variable row, in fact the
gets_bit call can also just return a pointer and row is never
initialized, now we detect that. This broke raster operations for the
display device and appears to have resulted in the use of
uninitialized data in other files. A sampling of changed files showed
single pixel differences in files.
</pre>
<p>[base/gdevdgbr.c]</p>
</blockquote>
<p><strong><a name="2011-03-03T202923.683592Z"></a>
2011-03-03T20:29:23.683592Z Robin Watts</strong></p>
<blockquote>
<pre>
Update plibc and plibk to output pams when built with DEBUG_DUMP.
No cluster differences possible as this code is not used in cluster testing.
CLUSTER_UNTESTED</pre>
<p>[base/gdevplib.c]</p>
</blockquote>
<p><strong><a name="2011-03-03T202343.920044Z"></a>
2011-03-03T20:23:43.920044Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new pamcmyk4 device. Identical to pamcmyk32 device, but works in 1 bit
per component, rather than 8.
No cluster differences expected as this code isn't tested.</pre>
<p>[psi/msvc.mak base/unix-gcc.mak base/gdevpbm.c base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-03-03T175148.590954Z"></a>
2011-03-03T17:51:48.590954Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Enabling of thresholding code as default image rendering of monochrome/indexed images for monochrome devices. This will result in about 2432 differences reported. I stepped through them in a bmpcmp to check for serious issues. The minor halftone differences were due to the fact that we step in the device space for pixel replication in the threshold code but step in source space for the rect fill code. Enabling this code now will make it easier to track issues as we expand the use of the thresholding code.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-03-03T154846.192376Z"></a>
2011-03-03T15:48:46.192376Z Robin Watts</strong></p>
<blockquote>
<pre>
Add plib device (c and h) files to ghostscript project file.
No cluster differences expected as project file is not used by cluster.
CLUSTER_UNTESTED</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-03-03T000827.251299Z"></a>
2011-03-03T00:08:27.251299Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added the ability to specify bmpcmp in addition to a normal clusterpush.pl
operation. Both commands will be queued in the correct order.
Examples:
./clusterpush.pl gs bmpcmp
./clusterpush.pl bmpcmp gs pcl xps ls
Note that the order of the options is not signficant.
The command line parser for clusterpush.pl changed signficantly with this
revision. It should be backwards compatible with the previous version
but it's possible that subtle differences exist. If a clusterpush.pl
command line behaves differently than you expect please open a bug.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/clusterpush.txt]</p>
</blockquote>
<p><strong><a name="2011-03-02T221239.208205Z"></a>
2011-03-02T22:12:39.208205Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix rop operation on plib device. Previously, I'd disabled get_bits_rectangle
on the buffer device as the data is normally in the format we need it in
anyway, so it's a NOP. Unfortunately it's needed for rop operation, so
reintroduce it.
To avoid infinite loops, we have to cope with GB_RETURN_POINTER. This is
easy to add to the gdevmpla.c device, but it's less clear that adding it
into the mem device is the right thing to do. We therefore introduce a
shim function to cope with GB_RETURN_POINTER with the mem device.
No cluster differences expected as this is disabled by default.
Testing shows that the planar device is now very close to the non planar
equivalent.</pre>
<p>[base/gdevplib.c base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-03-02T205046.635530Z"></a>
2011-03-02T20:50:46.635530Z regression</strong></p>
<blockquote>
<pre>
Minor bug fixes and improvements to the cluster system, the most
signifcant of which is the addition of "CLUSTER_UNTESTED" detection.
If this keyword appears anywhere within the log message of a commit that
revision will not be tested by the cluster.
Less interesting changes include:
Fix for bmpcmp if large numbers of differences are produced
Addition of 'svn cleanup' calls before 'svn update' to handle nodes that
crashed during previous 'svn update' and left the repositories locked
Set status of all nodes to idle after jobs are completed.
Fix bugs that caused bmpcmp completed emails to be appended to the
previous message.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2011-03-02T185123.645025Z"></a>
2011-03-02T18:51:23.645025Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Introduction of a member variable in gs_image1_t, which will let us know the original source type of the image. For example if, the parent source were type3 this spawns two type1 images. One for the mask and one for the image data. The mask is rendered using image render simple. If the image is monochrome or indexed, it is rendered with the renderer in gximono.c . If we are going to a halftone monochrome device, we end up using the fast threshold based renderer which has its interpolation stepping in device space as opposed to source space. This causes very minor differences between the mask and the image data. To avoid this, we use the old rect_fill code for the image type3 data to ensure a more exact spatial match.</pre>
<p>[base/gximono.c base/gximage1.c base/gximage2.c base/gximage3.c base/gximage4.c base/gximage.h base/gximag3x.c base/gsiparam.h]</p>
</blockquote>
<p><strong><a name="2011-03-02T133952.433442Z"></a>
2011-03-02T13:39:52.433442Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bmpcmp bug; the map array was being incorrectly sized, resulting in
occasional memory corruption.
No cluster differences expected.</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2011-03-02T000925.760114Z"></a>
2011-03-02T00:09:25.760114Z Robin Watts</strong></p>
<blockquote>
<pre>
Debug output for gdevplibm (monochrome planar interlaced bands) was broken
and writing malformed pbms. Simple fix - move the mono output code to the
mono branch of the if rather than the grey one.
No cluster differences expected.</pre>
<p>[base/gdevplib.c]</p>
</blockquote>
<p><strong><a name="2011-03-01T193056.622647Z"></a>
2011-03-01T19:30:56.622647Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove DOS line endings from .gitignore files.</pre>
<p>[.gitignore /trunk/ghostpdl/.gitignore]</p>
</blockquote>
<p><strong><a name="2011-03-01T171830.158752Z"></a>
2011-03-01T17:18:30.158752Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for error introduced in non-SSE2 code when I removed the inclusion of the transfer function into the threshold values.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-02-28T223128.419926Z"></a>
2011-02-28T22:31:28.419926Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Added color management support to the CUPS ...toraster filters
Replaced the ...toraster filters by one filter executable, gstoraster,
written in C. This filter converts both PostScript and PDF input into
the CUPS Raster format using Ghostscript with the "cups" output
device, controlled by settings in the print queue's PPD file, by
command line options, and by settings embedded in a PostScript input
stream. This is now done with color management based on
printer-specific ICC profiles referenced in the PPD file or supplied
by the color management daemon colord. The CUPS PPD extensions
concerning color management
(http://www.cups.org/documentation.php/doc-1.4/spec-ppd.html) are made
use of if used and the colord daemon is used if it is present. colord
is accessed via D-Bus, but the new filter can also be compiled without
D-Bus and in this case only the CUPS PPD extensions and ICC profiles
assigned to the print queue are used for color management.
Thanks to Richard Hughes for the patch.
</pre>
<p>[cups/pstoraster.in cups/pstoraster.convs cups/gstoraster.c cups/pdftoraster.c cups/cups.mak base/Makefile.in cups/colord.c base/configure.ac cups/gstoraster.convs cups/pdftoraster.convs cups/colord.h]</p>
</blockquote>
<p><strong><a name="2011-02-28T203043.994348Z"></a>
2011-02-28T20:30:43.994348Z Robin Watts</strong></p>
<blockquote>
<pre>
X offset in custom 24 -> 888 planar copy_color routine was being miscalculated.
Simple fix.
No cluster differences expected as this is untested.</pre>
<p>[base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-02-28T193534.539587Z"></a>
2011-02-28T19:35:34.539587Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove silly debugging hack left in gdevmpla.c by accident. Only affects
planar 888 devices (i.e. none enabled by default).
No cluster differences expected.</pre>
<p>[base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-02-28T193237.270892Z"></a>
2011-02-28T19:32:37.270892Z Robin Watts</strong></p>
<blockquote>
<pre>
Add simple .gitignore files.</pre>
<p>[.gitignore /trunk/ghostpdl/.gitignore]</p>
</blockquote>
<p><strong><a name="2011-02-28T104811.852106Z"></a>
2011-02-28T10:48:11.852106Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence a compiler (scan-build) warning about a variable never being used.</pre>
<p>[base/gdevpdfo.c]</p>
</blockquote>
<p><strong><a name="2011-02-28T052346.157854Z"></a>
2011-02-28T05:23:46.157854Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for mis-scale on decode for render mono cache. Fixes improper rendering of 148-11.ps with new halftone code.</pre>
<p>[base/gxipixel.c]</p>
</blockquote>
<p><strong><a name="2011-02-27T232610.406657Z"></a>
2011-02-27T23:26:10.406657Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal (or inactivation) of code to include inverse of transfer function in the threshold values. Also minor fix for scaling issue in halftone code in portrait mode. Code is inactive so no regression diffs expected.</pre>
<p>[base/gximono.c base/gsht.c]</p>
</blockquote>
<p><strong><a name="2011-02-27T232330.287293Z"></a>
2011-02-27T23:23:30.287293Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for a bug that was introduced with the ICC branch. This was causing a mismatch between banded an unbanded rendering and in particular had rendering errors in banded mode when rendering PS and PDF files that had a non identity transfer function. Minor progression diffs in many files with very visible progressions in 246-01.ps, 258-01.ps as examples. What was happening is that when running in clist mode, we were not recognizing that a transfer function was present when doing the ICC branch. Stumble upon this working the transfer function in with the new threshold based halftoning code.</pre>
<p>[base/gxipixel.c]</p>
</blockquote>
<p><strong><a name="2011-02-27T015228.834714Z"></a>
2011-02-27T01:52:28.834714Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for PDF with ASCII85Decode filter that has a dictionary (even if empty)
instead of a 'null' for the params. Stack has the param dict second on the
stack, not third. Bug 692003, customer 700.
</pre>
<p>[Resource/Init/pdf_base.ps]</p>
</blockquote>
<p><strong><a name="2011-02-26T191752.838303Z"></a>
2011-02-26T19:17:52.838303Z Till Kamppeter</strong></p>
<blockquote>
<pre>
TCUPS Raster driver: The macros in the cups_put_params() function
could access uninitialized variables when logging error messages and
this could lead to a segmentation fault, making Ghostscript crashing
and many jobs not printed. Debian bug #615202.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-02-26T184059.351498Z"></a>
2011-02-26T18:40:59.351498Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for PDF 1.7 fts_08_0808.pdf which can clip the corner of the really wide
diagonal (magenta) stroke when banding is used. This was due to the 'extension'
of a square line cap being incorrectly calculated. Customer 532 issue.
</pre>
<p>[base/gxstroke.c]</p>
</blockquote>
<p><strong><a name="2011-02-26T182508.170267Z"></a>
2011-02-26T18:25:08.170267Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix BUILD_SYSTEM conditional for 64 vs. 32 and add 'for Win64' message
to help avoid confusion during setup.
</pre>
<p>[psi/winint.mak]</p>
</blockquote>
<p><strong><a name="2011-02-25T235750.833144Z"></a>
2011-02-25T23:57:50.833144Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bug reported by "new customer feb 2011", whereby gs 8.71 on an embedded
ppc platform is getting the colours on an image in a pdf wrong.
Debugging shows that in gs_indexed_limit_and_lookup we take a floating point
value, clip it, convert it to an int and use it to lookup which colour to use.
On the reference x86 run we have a value of 1 (0x3f800000 as an IEEE float).
On the ppc we have 0.999999 (0x3f7fffff as an IEEE float). This tiny difference
results in values of 1 and 0 respectively when converted to the int, giving
the wrong colour.
The fix here is to add a small epsilon before conversion.
A quick experiment in adding 0.5 rather than epsilon shows worse results.
15 cluster differences in testing, none that actually survived a bmpcmp.
</pre>
<p>[base/gscolor2.c]</p>
</blockquote>
<p><strong><a name="2011-02-25T194939.160812Z"></a>
2011-02-25T19:49:39.160812Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that we only do the fast code if we are in portrait or landscape mode. Skewed objects will have to use the rect fill method.</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-02-25T193355.727547Z"></a>
2011-02-25T19:33:55.727547Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Addition of code to incorporate the inverse of the transfer curve into the threshold matrix. If the curve is an inverting type (e.g. 0 to 1 and 1 to 0) then a the thresholding comparison is switched. Also, if the curve is not monotonic, it can not be inverted and we revert to the old rect fill method. This commit has the code disabled so there should not be any regressions.</pre>
<p>[base/lib.mak base/gximono.c base/gzht.h base/gxdht.h base/gsht.c]</p>
</blockquote>
<p><strong><a name="2011-02-25T181349.002375Z"></a>
2011-02-25T18:13:49.002375Z Ray Johnston</strong></p>
<blockquote>
<pre>
Set the GS_DLL to gsdll64.dll for a 64-bit build. The file list was correct,
but the registry was not. Related to bug 691975 but not verified (I just
checked the registry using regedit).
</pre>
<p>[psi/dwsetup.cpp]</p>
</blockquote>
<p><strong><a name="2011-02-25T074221.024741Z"></a>
2011-02-25T07:42:21.024741Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revise how the UFST setting are handled in the makefiles.
The previous version relied on GNU make extensions (specifically
conditionals), whilst this version does not.
No cluster differences expected.
</pre>
<p>[base/lib.mak psi/msvc.mak base/Makefile.in psi/int.mak]</p>
</blockquote>
<p><strong><a name="2011-02-24T111312.751072Z"></a>
2011-02-24T11:13:12.751072Z Chris Liddell</strong></p>
<blockquote>
<pre>
Hopefully the final iteration of allowing SHARE_ZLIB
to work correctly with COMPILE_INITS=1.
This version changes only Unix-like builds, so Windows need
not suffer, and also removes the reliance GNU make specific
extensions.
Bug 691986
No cluster differences.
</pre>
<p>[base/unix-aux.mak]</p>
</blockquote>
<p><strong><a name="2011-02-24T005108.210054Z"></a>
2011-02-24T00:51:08.210054Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new plib family of devices (PLanar Interlaced Buffer). These 5 devices
(plib = r8g8b8, plibg = g8, plibm = mono, plibc = c8m8y8k8, plibk = c1m1y1k1)
use a new 'band donor' interface to request a band buffer, pass back
rendered bands, and release bands at the end of the page.
The idea is that other firmware can implement this simple interface, and
Ghostscript can thus easily drive systems that expect planar interlaced
input.
On the whole there is relatively little new code here; the majority of the
work is done using the existing planar device with the odd tweak here and
there. Firstly, we lift the (artifical) constraints of the number of components
supported (so greyscale is accepted as a planar device for simplicity).
We spot the num_components = 1 case and just use the existing memory device
interface.
Secondly, we add a fast 888chunky to 888planar unpacking routine for use
with copy_color.
Within the plib device itself, we make use of the facility to set the line
indexes to allow for interlaced operation. It would be easy to extend this
device to offer planar non-interlaced operation too built on the same band
donor interface simply by omitting this code.
For debugging purposes we have options within the plib devices to store the
data returned in each band into pxm files (as appropriate to the number of
components). This code is deactivated by default as the output of this
device is via the band donor interface, not the output file.
No cluster differences expected as this code is disabled currently.
Next job: discuss with Marcos how to cluster test this.
</pre>
<p>[base/gdevplib.c base/gdevmpla.c base/gdevplib.h base/gdevppla.c base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-02-23T160025.505362Z"></a>
2011-02-23T16:00:25.505362Z Robin Watts</strong></p>
<blockquote>
<pre>
Introduce and enable 8 bit rop run templated code.
No cluster differences shown.
</pre>
<p>[base/gsroprun8.h base/lib.mak base/gsroprun.c ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-02-23T144145.053687Z"></a>
2011-02-23T14:41:45.053687Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Remove commented out code left over from commit 12192</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-02-23T115400.145784Z"></a>
2011-02-23T11:54:00.145784Z Robin Watts</strong></p>
<blockquote>
<pre>
Reintroduce runrop changes to Visual Studio solution lost in recent merge
(r12189).
No cluster differences expected.
</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-02-23T082540.039813Z"></a>
2011-02-23T08:25:40.039813Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revision to the changes for using the system zlib.
r12184 caused problems on Windows.
This approach uses configure to determine whether
freetype should use the system zlib, based on whether
Ghostscript is using the system zlib.
Windows, of course, doesn't use configure, so it will
never attempt to the use the system zlib.
Bug 691986
No cluster differences expected
</pre>
<p>[base/freetype.mak base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-02-23T032618.063337Z"></a>
2011-02-23T03:26:18.063337Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Temporary fix to turn off fast code for cases where the bps of the index image is not 8bps</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2011-02-23T010908.645858Z"></a>
2011-02-23T01:09:08.645858Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Undo of rev 12184 by commenting out the changes for now. This change broke the windows build. </pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-02-22T213158.870907Z"></a>
2011-02-22T21:31:58.870907Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix warnings caused by merging the halftone branch to the trunk in r12189.
No cluster differences expected.
</pre>
<p>[base/gxipixel.c base/gximono.c base/gsht.c]</p>
</blockquote>
<p><strong><a name="2011-02-22T200337.651092Z"></a>
2011-02-22T20:03:37.651092Z Robin Watts</strong></p>
<blockquote>
<pre>
Forgot this file inthe last commit. Sorry!
</pre>
<p>[base/gsroprun24.h]</p>
</blockquote>
<p><strong><a name="2011-02-22T195243.275685Z"></a>
2011-02-22T19:52:43.275685Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Merge of halftone branch into the trunk. The new rendering code is actually disabled with this commit. As such, there should not be any testing differences.</pre>
<p>[base/gxipixel.c base/lib.mak base/Makefile.in base/gxcie.h /trunk/gs base/gsht.c base/gxcmap.c psi/msvc.mak ghostscript.vcproj base/gximono.c base/gzht.h base/gxidata.c base/configure.ac base/gxdht.h base/gxcmap.h base/gxicolor.c base/gximage.h base/gsciemap.c]</p>
</blockquote>
<p><strong><a name="2011-02-22T193857.296889Z"></a>
2011-02-22T19:38:57.296889Z Robin Watts</strong></p>
<blockquote>
<pre>
Add templated 24bit rops. Clusterpushing seems to indicate this works.
No cluster differences expected.
</pre>
<p>[base/lib.mak base/gsroprun.c base/gsroprun1.h]</p>
</blockquote>
<p><strong><a name="2011-02-22T161008.900201Z"></a>
2011-02-22T16:10:08.900201Z Chris Liddell</strong></p>
<blockquote>
<pre>
Tweak to allow compressed romfs to be built when we're configured
to use the system's zlib rather than our own.
As a side effect of this, freetype is now configured to use the
same zlib instance as Ghostscript (instead of freetype's own
subset of zlib sources).
Bug 691986
No cluster differences expected.
</pre>
<p>[base/freetype.mak base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-02-22T154409.440053Z"></a>
2011-02-22T15:44:09.440053Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new gsroprun files to Visual Studio solution.
No cluster differences expected.
</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-02-22T152803.132855Z"></a>
2011-02-22T15:28:03.132855Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix DO_FILL_RECT_BY_COPY_ROP code, and enable it by default.
The only thing wrong with the code before is the case when strip_tile_rectangle
is called with both color0 and color1 being gx_no_color_index. That translates
to rop=0xAA (i.e. D - no change). This is actually a special case that means
it's really doing a copy_color operation. We handle this by punting in the
same way as the old code used to.
No cluster differences expected.
</pre>
<p>[base/gdevm1.c]</p>
</blockquote>
<p><strong><a name="2011-02-22T001816.845591Z"></a>
2011-02-22T00:18:16.845591Z Robin Watts</strong></p>
<blockquote>
<pre>
Enable mono_copy_mono implemented in terms of mono_copy_rop.
Very small changes to the code to ensure that the copied area is correctly
clipped, this now gives identical results to the existing code, but should
be faster.
The tile_rectangle code is still misbehaving - will fix this in later
revisions (I hope).
No cluster differences expected.
</pre>
<p>[base/gdevm1.c]</p>
</blockquote>
<p><strong><a name="2011-02-21T171210.825257Z"></a>
2011-02-21T17:12:10.825257Z Robin Watts</strong></p>
<blockquote>
<pre>
Recommit of 12163 to the trunk.
The fit_copy macro checks for the start address being off the top of the
screen, and clips it to zero. When it does this, it does: data -= y * raster,
which gives problems if raster is a uint ( as uint * int == uint in C) and
data is a 64 bit pointer.
The fix is simply to cast the result to an int before using it. This solves
various SEGVs with the mono_copy_mono using mono_copy_rop code.
No cluster differences expected.
</pre>
<p>[base/gxdevice.h]</p>
</blockquote>
<p><strong><a name="2011-02-21T160425.039434Z"></a>
2011-02-21T16:04:25.039434Z Chris Liddell</strong></p>
<blockquote>
<pre>
The structure containing the pthreads native elements making up a
gp_semaphore structure was ending up incorrectly aligned on
sparc32 Linux systems, and caused a bus error. Annoyingly, sparc32
uses 32 bit pointers but requires 64 bit aligment.
This change enforces maximum alignment for the elements of
gp_semaphore, for the current platform.
No cluster differences expected.
Bug 691989
</pre>
<p>[base/lib.mak base/gpsync.h]</p>
</blockquote>
<p><strong><a name="2011-02-21T122920.951013Z"></a>
2011-02-21T12:29:20.951013Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix stupid typo in gsroprun.c that was causing templated rops to be different
to non templated rops. With this fixed the cluster shows identical results
(modulo indeterminisms), but the templated code is faster - so enable by
default.
No cluster differences expected.
</pre>
<p>[base/gsroprun.c]</p>
</blockquote>
<p><strong><a name="2011-02-20T124120.382249Z"></a>
2011-02-20T12:41:20.382249Z Robin Watts</strong></p>
<blockquote>
<pre>
Initial reorganisation of code towards using copy_rops for copy_mono.
Split the guts of mem_mono_strip_copy_rop out into a separate function
mem_mem_strip_copy_rop_dev. This new function handles the actual copy in
device space, leaving the original to cope with fiddling the rop according
to colors.
This 'inner' function is moved to gdevm1.c so it is present in both gs
and ghostpcl builds. The existing (bitrotted) code in gdevm1.c to
'USE_COPY_ROP' is revamped to call mem_strip_copy_rop_dev, but is disabled
currently as the cluster is showing a few differences that need to be
tracked down.
Also, this introduces new code to do gsroprun's using code in a generic
header file that gets repeatedly #included with different options. This
code is currently disabled until we can verify that it gives identical
results. The new 'templated' code uses native ints where possible, and
(in initial limited testing) seems to perform better than copy_mono.
No cluster differences expected.
</pre>
<p>[base/gdevmem.h base/lib.mak base/gsroprun.c base/gdevm1.c base/gsropt.h base/gsroprun1.h base/gdevmr1.c]</p>
</blockquote>
<p><strong><a name="2011-02-19T070113.923016Z"></a>
2011-02-19T07:01:13.923016Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add a missing check for null value during PDF resource enumeration.
Bug 691892, customer 532.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2011-02-18T132259.764503Z"></a>
2011-02-18T13:22:59.764503Z Robin Watts</strong></p>
<blockquote>
<pre>
Committing fix for Bug 689031 submitted by Shailesh Mistry under the
bug bounty program. Tests out fine (1 minor difference, looks like a
progression to me).
See bug for full discussion, but basically this removes a few calls to
path_position_valid in exchange for accessing the equivalent data kept
locally.
</pre>
<p>[base/gxchar.c base/gzpath.h base/gxccache.c base/gspath1.c]</p>
</blockquote>
<p><strong><a name="2011-02-18T115125.345393Z"></a>
2011-02-18T11:51:25.345393Z Ken Sharp</strong></p>
<blockquote>
<pre>
Enhancement (pdfwrite) : performance improvement
Bug #691946 "Conversion to PDF becomes slower and slower"
There are many places where pdfwrite compares composite objects for equality. This can
be a very slow process, depending on the nature of the object, and becomes progressively
slower as more object are added to storage.
Previously we had added a MD5 hash to the stream data of a cos_stream in order to
improve the performance when checking fonts for equality, this change takes the whole
process much further. We now store an MD5 'fingerprint' for each composite object,
initially this is not computed and is marked as not valid.
Whenever an equality test takes place we check to see if the composite object has an MD5
hash calculated, and if it does, we compare the MD5 hashes. If it does not then we
compute an MD5 hash, store it, and mark it as valid. Note that for cos_stream types
we store *two* hashes, one for the dictionary and one for the stream data.
If we alter the contents of a composite object then we mark its MD5 hash as invalid so
that we recompute it on the next occurence. Technically there could be a problem if
a composite object contains a composite object, and the descendant object is altered
after the MD5 hash is calculated for the parent. However this should not occur given
the way these structures are used (these are pdfwrite internal structures, *not* PS or
PDF objects available to the interpreter).
This very significantly improves performance on some files, the test file for bug
#691946 takes 2642 seconds without this change (and DetectDuplicateImages true) while
it takes 963 seconds after this change.
Note that this change depends on revision 12169 and should ideally be used with
revisions 12168 to 12171 inclusive.
No other differences expected.
</pre>
<p>[base/gdevpdfo.c base/gdevpdfo.h]</p>
</blockquote>
<p><strong><a name="2011-02-18T113756.561896Z"></a>
2011-02-18T11:37:56.561896Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : images being scaled incorrectly
Found while dealing with other problems. pdfwrite uses the image 'height' (rendered
height) and number of lines of data to calculate a 'scale' which it then applies to
the current Transformation Matrix in order to calculate an image matrix.
However, when an image was detected as a duplicate, the scale factor was calculated
from the first image's dimensions, and then applied to the CTM for the second matrix.
This did not appear to cause problems for PostScript and PDF but causes serious bugs
in a number of PCL files, and was clearly incorrect. We now save and restore the
height and width when substituting images to prevent this problem
</pre>
<p>[base/gdevpdfj.c]</p>
</blockquote>
<p><strong><a name="2011-02-18T113207.033929Z"></a>
2011-02-18T11:32:07.033929Z Ken Sharp</strong></p>
<blockquote>
<pre>
enhancement (pdfwrite) : Allow duplication image detection to be disabled
pdfwrite tests every (non-inline) image against every other stored image to see if it is
a duplicate, and if so does not embed the duplicate in the output but simply references
the original.
This can be slow for files with many images (each stored image must be checked when a
new image is encountered) and may be of limited benefit.
The new flag DetectDuplicateImages (default true) can be used to enable or disable
this behaviour
No differences expected
</pre>
<p>[base/gdevpdfj.c base/gdevpdfx.h base/gdevpdfp.c doc/Ps2pdf.htm base/gdevpdfb.h]</p>
</blockquote>
<p><strong><a name="2011-02-18T112524.853829Z"></a>
2011-02-18T11:25:24.853829Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Correction to an equality test
This fixes a long-standing bug when checking the equality of patterns.
We need to ensure when substituting patterns that neither of the patterns is already
substituted. But the code only tested one of the patterns (and was a duplicate of
another test), which led to incorrect results. This should always have been a problem
but for some reason seems to have been masked in previous releases. New code for
testing equality of composite objects revealed the problem.
No differences expected, as the problem is only revealed with code which follows in a
subsequent commit.
</pre>
<p>[base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2011-02-18T111523.457563Z"></a>
2011-02-18T11:15:23.457563Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix a typo in an enumerated type. No differences expected.
</pre>
<p>[base/gxhldevc.h base/gxhldevc.c base/gdevpdfg.c]</p>
</blockquote>
<p><strong><a name="2011-02-15T163659.934186Z"></a>
2011-02-15T16:36:59.934186Z Henry Stiles</strong></p>
<blockquote>
<pre>
Double the allowed space for cached chars and increase the maximum
byte size of a single glyph that can be cached.
</pre>
<p>[base/gsfont.c]</p>
</blockquote>
<p><strong><a name="2011-02-15T150755.282721Z"></a>
2011-02-15T15:07:55.282721Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for building the gs***w64.exe self extracting installer compatible with
the new 64-bit binary naming and makefile macro (BUILD_SYSTEM)
</pre>
<p>[psi/winint.mak]</p>
</blockquote>
<p><strong><a name="2011-02-15T092128.927211Z"></a>
2011-02-15T09:21:28.927211Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure that the OpenPrinting drivers get removed from the drivers list
if iconv/libiconv are not available.
The strings used to identify the drivers in the list were incorrect.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-02-14T203933.924424Z"></a>
2011-02-14T20:39:33.924424Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 691917. In revision 11146 I made op_array_table_global and
op_array_table_local be elements of the context rather than being
globals, and changed all the code to access these elements through
the context.
Unfortunately I forgot to cope with when new contexts are generated by
forking execution. The correct fix is, I believe to simply copy the
op_table pointers over to the new context. This has been done here, and
seems to solve the reported bug.
No cluster differences expected.
</pre>
<p>[psi/zcontext.c]</p>
</blockquote>
<p><strong><a name="2011-02-14T110439.509187Z"></a>
2011-02-14T11:04:39.509187Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed a tab accidentally introduced in rev 12082.
</pre>
<p>[Resource/Init/cidfmap]</p>
</blockquote>
<p><strong><a name="2011-02-10T171423.128533Z"></a>
2011-02-10T17:14:23.128533Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure that a --build option is propogated to the other
configure scripts we call.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-02-10T132158.493309Z"></a>
2011-02-10T13:21:58.493309Z Ken Sharp</strong></p>
<blockquote>
<pre>
fix error in revision 12140
When fetching the size of the stream for a /Indexed colour space, omitted to check if the
/Length of the stream was an indirect object. Now dereference the object if this is the
case.
Should fix the 14 files with errors introduced in 12140.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2011-02-10T104326.255155Z"></a>
2011-02-10T10:43:26.255155Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix : colour space handling bug and improved handling of broken ICC space
Bug #691941 "Interpretation of PDF aborts with /typecheck"
The PDF file in the specimen contains an invalid colour space of the form:
/Indexed [/ICCBased <</N 1 /Alternate [/Indexed /DeviceRGB 255 7 0 R]>>] 255 7 0 R]
The number of components in the ICCBased specification is incorrect, as the profile has
3 channels. This was not detected previously. Falling back to the /Alternate we see
that we have a /Indexed space depending on a /Indexed space which is also invalid, but
we choose to ignore this.
There was also a bug in the colour space handling for ICCbased spaces which caused a
typecheck if the alternate space was a /Indexed space.
Finally, the PDF interpreter is updated so that when given a stream as the data source
for a /Indexed space it reads and returns a string which is the greater of the declared
size of the stream, or the calculated size required, given the number of components.
Previously we always returned the calculated size, which was too little in this case
as the number of components in the ICCBased space is incorrect.
With these changes the (invalid) specimen file runs to completion.
No differences expected.
</pre>
<p>[psi/zcolor.c psi/zicc.c Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2011-02-10T103323.506445Z"></a>
2011-02-10T10:33:23.506445Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix Bug #691918
Update the Unicode decodings applied to TrueType fonts to match the latest Adobe glyph
list. Fixes some problems with incorrect mappings and adds numerous new mappings. A
similar but less extensive change is made to the FCO_Unicode mappings as well.
Thanks to SaGS for the work on this problem.
No differences expected as these are only used for ToUnicode CMaps.</pre>
<p>[Resource/Decoding/Unicode Resource/Decoding/FCO_Unicode]</p>
</blockquote>
<h2><a name="Version9.01"></a>Version 9.01 (2011-02-07)</h2>
<p>This is the second release in the stable 9.x series.
<p> Highlights in this release include:
<p> A new, robust CFF parser implemented in C (replacing the previous
Poscript one),
<p> tiffscaled device - this renders internally as tiffgray, but then
downsamples by an integer scale factor (specified by -dDownScaleFactor=n)
and error diffuses to 1bpp output. The tiffscaled device also implements
limited minimum feature size functionality; by setting -dMinFeatureSize
to 1, 2 or 3, the device output is guaranteed to generate minimum dot
sizes as multiples of the final resolution, useful for devices that
offer finer position control than dot size control.
<p> Add DSC compatible output in ps2write.
<p> Windows makefiles now support 64 bit builds on 64 bit systems.
<p> A number of performance, memory use, and stability improvements with the new
features introduced in 9.00, plus the usual bug fixes.
<p> We have also dropped support for Watcom and Borland development environments.
These had not been maintained for some time, and were suffering "bit rot".
<p>For a list of open issues, or to report problems,
please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>.
<h3><a name="9.01_Incompatible_changes"></a>Incompatible changes</h3>
<p>
No recorded incompatible changes.
<h3><a name="9.01_changelog"></a>Changelog</h3>
<p><strong><a name="2011-02-07T141027.833602Z"></a>
2011-02-07T14:10:27.833602Z Chris Liddell</strong></p>
<blockquote>
<pre>
Some updates to the details of the UFST and Freetype related
information.
Plus adding the warning about Xfonts pending removal.
</pre>
<p>[doc/Make.htm doc/Xfonts.htm]</p>
</blockquote>
<p><strong><a name="2011-02-05T152932.296497Z"></a>
2011-02-05T15:29:32.296497Z Chris Liddell</strong></p>
<blockquote>
<pre>
As we plan to deprecate Xfonts in a future release, add a
warning message to this effect when an Xfont is used, as follows:
"Warning: the Xfonts feature is deprecated and will be removed in a future release."
No cluster differences expected.
</pre>
<p>[base/gxccman.c]</p>
</blockquote>
<p><strong><a name="2011-02-05T152725.033646Z"></a>
2011-02-05T15:27:25.033646Z Chris Liddell</strong></p>
<blockquote>
<pre>
Merge r12117 from the "halftone" branch into trunk, the original commit
comment says:
Fix bug in bit devices rgb mapping procedure; in the ncomp == 1 case it
was only setting the first component. This was causing indeterminisms in
calling code, which has been giving vastly different timings in Norberts
tests.
This has apparently been here since revision 3318.
</pre>
<p>[base/gdevbit.c]</p>
</blockquote>
<p><strong><a name="2011-02-04T155142.379449Z"></a>
2011-02-04T15:51:42.379449Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix problem with shifting in gsroprun.c. I had systematically got this
wrong throughout the code, but fixed it everywhere except this one
case in an earlier commit. This completes the fix.
No cluster changes expected.
</pre>
<p>[base/gsroprun.c]</p>
</blockquote>
<p><strong><a name="2011-02-03T123028.178697Z"></a>
2011-02-03T12:30:28.178697Z Chris Liddell</strong></p>
<blockquote>
<pre>
A final tweak to the FAPI/UFST code to keep C compilers
less liberal than gcc happy (specifically Visual C).
No functional changes.
</pre>
<p>[psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2011-02-02T182757.905008Z"></a>
2011-02-02T18:27:57.905008Z Chris Liddell</strong></p>
<blockquote>
<pre>
A couple of minor UFST related tweaks to account for differences between
UFST 6.2 and UFST 5.x.
</pre>
<p>[psi/fapiufst.c base/gxfapiu.c]</p>
</blockquote>
<p><strong><a name="2011-02-02T171809.939035Z"></a>
2011-02-02T17:18:09.939035Z Ray Johnston</strong></p>
<blockquote>
<pre>
Change Windows makefiles extensively for 64-bit issues:
1. Command line nmake works now for 32-bit build on 64-bit OS
2. 64-bit builds use different directories for objects to allow 32 and
64 bit builds to be alternated without confusion. 64-bit objects have
'64' suffix to the 32-bit objects which remain in the same places
3. 64-bit binaries are now named uniquely, e.g. gsdll64.dll and gswin64.exe
Binaries coexist in 'bin' directory since names are unique.
4. 'Style' changes to the makefiles to remove the '32' suffix from files
that are not 32-bit specific -- hopefully will prevent future confusion.
Tested with VS 2005 and VS 2008 as well as with GhostPDL.sln (to make sure
the pcl, xps, and language_switch builds don't break.
</pre>
<p>[psi/msvc64.mak psi/gsdll64.def psi/dwsetup.cpp psi/msvc.mak psi/dwmain.c psi/dw64c.def psi/msvc32.mak psi/dwmain64.def psi/dwdll.c base/msvctail.mak psi/dwimg.c]</p>
</blockquote>
<p><strong><a name="2011-02-02T153453.024741Z"></a>
2011-02-02T15:34:53.024741Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove 4 cases where lines had apparently spurious leading spaces, this seriously
confused nmake and refused to build on Windows.
No cluster differences expected.
</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2011-02-02T151453.428205Z"></a>
2011-02-02T15:14:53.428205Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (ps2write) : Enable ps2write on PCL
Bug #691881 "ps2write broken with GhostPCL"
ps2write formerly required 4 'resource' PostScript files stored on disk in order to
write a PostScript header to the output file. These files have now been converted into
'C' header files and included in the source in earlier revisions.
This commit removes the last barrier to ps2write working with PCL (and other
non-PostScript languages) by removing a disk-based check for opdfread.ps.
No differences expected.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2011-02-02T145537.673202Z"></a>
2011-02-02T14:55:37.673202Z Robin Watts</strong></p>
<blockquote>
<pre>
Add cups files to VS project. This is a very simple, clean patch to the
gs visual studio project file, so (famous last words) can't affect the
cluster build and shouldn't conflict with anyone else.
</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2011-02-02T141215.676565Z"></a>
2011-02-02T14:12:15.676565Z Chris Liddell</strong></p>
<blockquote>
<pre>
A set of changes to make it easier to use the UFST with Ghostscript
and to get us closer to having the option of the UFST handling font
types other than the Microtype fonts.
The UFST build, using the default COMPILE_INITS=1 will now include
the Microtype FCO files in the rom file system along with the other
initialisation files (it does not currently strip out the normal
Postscript fonts in Resource/Fonts), and setup default values for
the various paramters required to have Ghostscript use the
Microtype fonts (these can still be overridden on the command
line). For the build with COMPILE_INITS=0, the default paths
will use the path to the UFST you specify for configure, or
nmake on Windows.
Included in this revision are changes to prevent the UFST version
5.x (or less) from trying to handle non-Microtype fonts, and allow
it to safely fall back to the Freetype (or a.n.other FAPI plugin).
UFST 6.2 or better will try to handle all fonts types, but this is
not yet reliable.
Currently, this code only replaces the UFST memory management on
UFST 6.2 and above (this is purely because I haven't time to test
this capability on UFST 5 yet).
A further change will be committed shortly to the UFST 5 sources
to force the UFST to use the Ghostscript stream IO instead of the
standard lib file IO on the Windows builds (this has been in place
for the Unix/Linux UFST builds for some time).
</pre>
<p>[psi/zfapi.c base/Makefile.in Resource/Init/gs_fntem.ps base/configure.ac psi/fapiufst.c base/gxfapiu.c psi/msvc32.mak Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2011-02-02T133054.074131Z"></a>
2011-02-02T13:30:54.074131Z Ken Sharp</strong></p>
<blockquote>
<pre>
The ps2write dependency on the new header files was incorrect (over-enthusiastic
copy and paste error)
</pre>
<p>[base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-02-02T112307.465859Z"></a>
2011-02-02T11:23:07.465859Z Chris Liddell</strong></p>
<blockquote>
<pre>
Allow building with the system (shared) lcms library.
Bug 691644.
</pre>
<p>[base/lib.mak base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-02-02T092815.868989Z"></a>
2011-02-02T09:28:15.868989Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove the check on opdfread.ps from gs_pdfwr.ps as this is no longer shipped as a
PostScript file in /gs/Resource</pre>
<p>[Resource/Init/gs_pdfwr.ps]</p>
</blockquote>
<p><strong><a name="2011-02-02T084611.323868Z"></a>
2011-02-02T08:46:11.323868Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update two make files that had dependencies on opdfread.ps, which has been removed from
the PostScript file system.</pre>
<p>[psi/psromfs.mak base/unixinst.mak]</p>
</blockquote>
<p><strong><a name="2011-02-02T082743.587977Z"></a>
2011-02-02T08:27:43.587977Z Ken Sharp</strong></p>
<blockquote>
<pre>
It seems that three of the files removed in revision 12093 are used by devices other
than ps2write. Replacing those files.
</pre>
<p>[Resource/Init/gs_mro_e.ps Resource/Init/gs_agl.ps Resource/Init/gs_mgl_e.ps lib/gs_mro_e.ps lib/gs_agl.ps lib/gs_mgl_e.ps]</p>
</blockquote>
<p><strong><a name="2011-02-02T081436.361918Z"></a>
2011-02-02T08:14:36.361918Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix ps2write : Don't depend on the PS file system for resources.
ps2write needs up to 4 resource files which are normally stored in the PostScript ROM
file system. However on PCL and other languages these resources are (obviously) not
present, so the output is incomplete.
Move the relevant files from PostScript into 'C' as header files. Remove the files from
the PostScript file system to save ROM file system space. Put the removed files into
the gs/lib folder for safe-keeping. Add the .h files as dependencies for gdevpdfu.c in
the build system so that changes to these files cause a rebuild.
No differences expected.
</pre>
<p>[base/opdfread.h Resource/Init/gs_mro_e.ps Resource/Init/gs_agl.ps Resource/Init/gs_mgl_e.ps base/gs_mro_e.h lib/opdfread.ps base/gs_agl.h base/gs_mgl_e.h Resource/Init/opdfread.ps base/gdevpdfu.c lib/gs_mro_e.ps base/devs.mak lib/gs_agl.ps lib/gs_mgl_e.ps]</p>
</blockquote>
<p><strong><a name="2011-02-01T221144.446124Z"></a>
2011-02-01T22:11:44.446124Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Fix for missing arch.h when compiling gdevcups.c with parallel make.
</pre>
<p>[base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-02-01T214627.115736Z"></a>
2011-02-01T21:46:27.115736Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for PDF 1.7 fts_09_0910.pdf where the /Font is in an ExtGState instead of
set by the Tf operator. In this case, the font is an indirect reference, not
a font resource name. Reported by customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2011-02-01T170750.035956Z"></a>
2011-02-01T17:07:50.035956Z Chris Liddell</strong></p>
<blockquote>
<pre>
Freetype expects the resolution we supply it to be in
"glyph orientation" - not a problem until we have a
non-square resolution, and rotated glyphs!
Bug 691920.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2011-02-01T140046.378487Z"></a>
2011-02-01T14:00:46.378487Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Always write a ToUnicode CMap for TrueType fonts
Bug #691907 "PDFs with TrueType fonts from Windows PostScript files not searchable"
Patch from SaGS.
When choosing whether to embed a ToUnicode CMap, always embed if the font type is
TrueType. This is because TT fonts are always embedded as symbolic, and we now no longer
add Encodings to Symbolic TT fonts (violates spec), which results in PDF files where the
text is unsearchable and cannot be successfully copy/pasted in the absence of a
ToUnicode CMap.
It is possible that the ToUnicode CMap is incorrectly generated, but this is no worse
than having no CMap at all.
No expected differences since ToUnicode CMaps are not used in rendering.
</pre>
<p>[base/gdevpdtw.c]</p>
</blockquote>
<p><strong><a name="2011-02-01T115726.132691Z"></a>
2011-02-01T11:57:26.132691Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new 'Profile' configuration to Visual Studio targets. This builds
objects/binaries with debugging symbols enabled, but otherwise full
optimisation.
The changes are entirely within the VS files, except for a few small tweaks
to the MSVC makefile. These changes should mean that it is possible to use
the makefiles in a way that doesn't rely on recursive make calls (even though
we leave the 'debug' targets in for now that do use that).
No cluster differences expected or shown in testing.
</pre>
<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/GhostPDL.sln /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p>
</blockquote>
<p><strong><a name="2011-02-01T083427.091701Z"></a>
2011-02-01T08:34:27.091701Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : permit symbolic fonts in PDF/A output
Bug #691877 "Invalid text when converting to PDF/A"
TrueType fonts were being emitted as non-symbolic when PDF/A output was selected. This
was causing the text to be incorrect, because the fonts actually are symbolic and
Acrobat was unable to apply the correct decoding.
This will result in more text being unsearchable/copyable but the rendering result is
correct, which is more important.
No differences expected, PDF/A output not tested on the cluster.</pre>
<p>[base/gdevpdtd.c]</p>
</blockquote>
<p><strong><a name="2011-01-31T181010.028647Z"></a>
2011-01-31T18:10:10.028647Z Robin Watts</strong></p>
<blockquote>
<pre>
While searching for performance on an ARM based dev board, I developed 2
new versions of the skip_white_pixels macro. The first uses native int sized
checking, and should be faster on long run matching. I have as yet been unable
to find any files that show this expected speedup.
The second should be faster on architectures (such as ARM) where the tradeoff
in the test is different (and where pointer arithmetic is cheaper than array
indexing).
Both versions are disabled by default until the case for their existence has
been proven, but are committed here to avoid bitrot.
No cluster differences expected, as the default code does not change.
</pre>
<p>[base/scf.h]</p>
</blockquote>
<p><strong><a name="2011-01-31T123210.322306Z"></a>
2011-01-31T12:32:10.322306Z Robin Watts</strong></p>
<blockquote>
<pre>
Tweak to the PxM output code; spot that the output is /dev/null (or nul:)
and avoid saving it. This is a port of code from gdevbit and gdevwts, and is
purely useful for testing/timing/profiling purposes.
No cluster differences expected.
</pre>
<p>[base/gdevpbm.c]</p>
</blockquote>
<p><strong><a name="2011-01-31T111953.283257Z"></a>
2011-01-31T11:19:53.283257Z Ken Sharp</strong></p>
<blockquote>
<pre>
Revert minor changes accidentally committed in revision 12082.
</pre>
<p>[Resource/Init/Fontmap.GS Resource/Init/cidfmap lib/PDFA_def.ps]</p>
</blockquote>
<p><strong><a name="2011-01-31T111505.175916Z"></a>
2011-01-31T11:15:05.175916Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add the two new make files required for the altered CUPS build, these were accidentally
omitted in revision 12080.
</pre>
<p>[Resource/Init/Fontmap.GS base/lcups.mak Resource/Init/cidfmap lib/PDFA_def.ps base/lcupsi.mak]</p>
</blockquote>
<p><strong><a name="2011-01-31T110911.349638Z"></a>
2011-01-31T11:09:11.349638Z Ken Sharp</strong></p>
<blockquote>
<pre>
Undo changes to PDFX_def.ps accidentally committed as part of the CPS changes.
</pre>
<p>[lib/PDFX_def.ps]</p>
</blockquote>
<p><strong><a name="2011-01-31T110611.139867Z"></a>
2011-01-31T11:06:11.139867Z Ken Sharp</strong></p>
<blockquote>
<pre>
More changes for CUPS, mostly to the build system.
We now build the CUPS device unconditionally on Windows, using the recently added local
partial copy of the CUPS library sources. This change also builds CUPS on Linux either
using the system shared libraries (if available) or using the same partial copy of the
library sources, if *specifically* directed to use this.
On Windows CUPS is now always built and installed. On Unix systems the behavious is as
follows:
./configure cups not installed - no cups device
./configure cups is installed - cups device linked to system cups shared libraries.
./configure --disable-cups - no cups device, regardless of cups libs installed
on system
./configure --with-local-cups - cups device with the partial cups code, regardless of
cups libs installed on system
./configure --with-local-cups --disable-cups results in no cups device.
No differences expected as the cluster should still build and run with the system
CUPS libraries just as it always has.
</pre>
<p>[base/winlib.mak lib/PDFX_def.ps base/unix-end.mak base/gs.mak cups/cups.mak base/Makefile.in base/configure.ac cups/libs/configlinux.h psi/msvc32.mak base/msvclib.mak base/devs.mak base/msvctail.mak]</p>
</blockquote>
<p><strong><a name="2011-01-29T153532.332503Z"></a>
2011-01-29T15:35:32.332503Z Ken Sharp</strong></p>
<blockquote>
<pre>
More changes to the CUPS sources so they will compile on various systems:
language.c - if __APPLE__ is true, includes code which uses what I think is Carbon
Framework calls and structures, but does not #include any of the .h files.
Modified to #undef __APPLE__ to avoid this.
ppd.c - Same problem as for MSVC, the include file string.h seems to prevent the C
string.h being included, and so leaves strchr undefined. Now unconditionally
provide a prototype for strchr.
localize.c - Another problem with string.h. This doesn't exist on the MSVC build, but
unconditionally providing a prototype fro strcmp doesn't cause an error.
The code now builds on MSVC, Linux and Mac. Lots of warnings, but I don't propose to
try and deal with those as they would require extensive alterations to the CUPS
sources.
No differences expected as this code is not yet in use.
</pre>
<p>[cups/libs/cups/localize.c cups/libs/cups/language.c cups/libs/cups/ppd.c]</p>
</blockquote>
<p><strong><a name="2011-01-28T132120.983748Z"></a>
2011-01-28T13:21:20.983748Z Robin Watts</strong></p>
<blockquote>
<pre>
Further rop run optimisations.
* Add mechanism for dumping ROPs used (including frequency and runlength).
Disabled by default.
* Add special case code for most common rops (invert and xor).
* Correct '1bit colors' code in various cases.
Cluster pushing shows no differences.
</pre>
<p>[base/gsroprun.c]</p>
</blockquote>
<p><strong><a name="2011-01-28T122737.269985Z"></a>
2011-01-28T12:27:37.269985Z Robin Watts</strong></p>
<blockquote>
<pre>
Optimisations to mem_mapped8_copy_mono. Driven initially by a desire to
speed up 100pagemono.pxl on ARM devices, but useful on all architectures.
This work may end up being subsumed by the run_rop work, but is a worthwhile
stepping stone.
On x86 this speeds 100pagemono.pxl in greyscale 600dpi from 4.2 seconds to
3.6seconds. On ARM it shows a definite improvement too, but I don't have
figures to hand.
Clusterpush shows no changes.
</pre>
<p>[base/gdevm8.c]</p>
</blockquote>
<p><strong><a name="2011-01-27T143346.308935Z"></a>
2011-01-27T14:33:46.308935Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update the CUPS sources so that they can be compiled under Windows.
1) Remove config.h which was a Linux configure result, replace with configwin.h (from
the CUPS distribution for Windows) and configlinux.h which is config,h renamed. We
will copy and use the correct version at make time.
2) cups/debug.c guard the use of pthread_mutex so that we don't try to use it if
HAVE_PTHREAD_H is not defined, as the variable will not be declared. Guard use of
cups_debug_filter and cups_filter with a #ifndef WIN32 as these variables are not
defined in a Windows build. Replace gettimeofday with a Windows equivalent when
building on Windows as this function is not available.
3) ppd.c Add a definition of strchr when building for Windows. The use of an include
file called string.h confuses MSVC and it does not include the C string.h which leaves
strchr undefined.
4) string.h When defining equivalents to strcasecmp and strncasecmp, also define the
HAVE_* variables so that inclusion order doesn't lead to these being undefined when
we have declared equivalents.
5) image-bmp.c Guard the declaration of the BI_* constants with a #ifndef WIN32 as
these are Windows constants and already defined on a Windows build.
6) image-colorspace.c Define cbrt() in terms of pow() when WIN32 is set as the MSVC
compiler does not define a cube root function.
7) image-tiff.c Guard inclusion of unistd.h when HAVE_LIBTIFF is true as this include
file does not ship with MSVC on Windows.
These have been supplied to the CUPS development group, and at least some of the
problems are likely resolved in a newer version of CUPS.
No differences expected.
</pre>
<p>[cups/libs/cups/debug.c cups/libs/filter/image-bmp.c cups/libs/cups/string.h cups/libs/configwin.h cups/libs/config.h cups/libs/configlinux.h cups/libs/cups/ppd.c cups/libs/filter/image-tiff.c cups/libs/filter/image-colorspace.c]</p>
</blockquote>
<p><strong><a name="2011-01-27T130715.912561Z"></a>
2011-01-27T13:07:15.912561Z Tor Andersson</strong></p>
<blockquote>
<pre>
Relax version check in JPEG-XR to allow older version HDP and WDP images.</pre>
<p>[jpegxr/cr_parse.c]</p>
</blockquote>
<p><strong><a name="2011-01-26T181028.996727Z"></a>
2011-01-26T18:10:28.996727Z Chris Liddell</strong></p>
<blockquote>
<pre>
Fix the message for the new IJS check to read IJS, instead of jpeg!
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-01-26T145140.178552Z"></a>
2011-01-26T14:51:40.178552Z Chris Liddell</strong></p>
<blockquote>
<pre>
revert accidentally committed file.
</pre>
<p>[base/jpeg.mak]</p>
</blockquote>
<p><strong><a name="2011-01-26T122536.497890Z"></a>
2011-01-26T12:25:36.497890Z Chris Liddell</strong></p>
<blockquote>
<pre>
Allow IJS code to be linked as a library instead of using our distributed source.
This will permit distributions which include a separately built libijs to link the
the system's libijs.
Bug 691904
</pre>
<p>[base/winlib.mak base/gdevijs.c base/ijs.mak base/jpeg.mak base/ugcclib.mak base/macosx.mak base/Makefile.in base/configure.ac base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-01-26T010440.273776Z"></a>
2011-01-26T01:04:40.273776Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Old gs assumed TrueType font collections occur only as external resource.
It turned out that PDF can have embedded TrueType collection. So this patch
replaces --setfileposition-- with {... () /SubFileDecode filter flushfile}
for forward search. Bug 691908, customer 870.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2011-01-25T120322.384476Z"></a>
2011-01-25T12:03:22.384476Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add code to define cbrt, strcasecmp and stncasecmp when compiling for Windows, as these
are not present in the MSVC run-time.
Also alter the initialisation of the gs_cups_device structure. Previously this set three
matrices by including empty braces '{}', but MSVC throws a compilation error on this.
Altered to {0x00} which is not quite the same, but it compiles (with a warning from gcc)
and is no worse than leaving the members uninitialised.
No differences expected.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-24T235139.084611Z"></a>
2011-01-24T23:51:39.084611Z Tor Andersson</strong></p>
<blockquote>
<pre>
Add JPEG-XR makefile and library to XPS build.</pre>
<p>[/trunk/ghostpdl/xps/xps.mak /trunk/ghostpdl/xps/xps_msvc.mak base/jpegxr.mak /trunk/ghostpdl/xps/xps_gcc.mak]</p>
</blockquote>
<p><strong><a name="2011-01-24T235123.771340Z"></a>
2011-01-24T23:51:23.771340Z Tor Andersson</strong></p>
<blockquote>
<pre>
Import JPEG-XR reference software.
ITU-T Rec. T.835 (ex T.JXR-5) | ISO/IEC 29199-5.
JPEG XR reference software 1.8 (September 2009).</pre>
<p>[jpegxr/jpegxr.h jpegxr/io.c jpegxr/jpegxr_pixelformat.c jpegxr/api.c jpegxr/my_getopt-1.5/getopt.h jpegxr/stdint_minimal.h jpegxr/r_strip.c jpegxr/qp.tab.c jpegxr/JPEG-XR.sln jpegxr/cw_emit.c jpegxr/w_strip.c jpegxr/x_strip.c jpegxr/qp.tab.h jpegxr/r_parse.c jpegxr/r_tile_spatial.c jpegxr/app_resource.h jpegxr/Makefile jpegxr/DLL.rc jpegxr/cr_parse.c jpegxr/APP.vcproj jpegxr/w_tile_frequency.c jpegxr/COPYRIGHT.txt jpegxr/jxr_priv.h jpegxr/my_getopt-1.5/LICENSE jpegxr/sample.qp jpegxr jpegxr/file.c jpegxr/my_getopt-1.5/my_getopt.c jpegxr/dllmain.c jpegxr/algo.c jpegxr/file.h jpegxr/my_getopt-1.5/my_getopt.h jpegxr/w_emit.c jpegxr/my_getopt-1.5 jpegxr/dll_resource.h jpegxr/qp_lexor.c jpegxr/README.txt jpegxr/flags.c jpegxr/DLL.vcproj jpegxr/versions-windows.txt jpegxr/jpegxr.c jpegxr/qp_lexor.lex jpegxr/r_tile_frequency.c jpegxr/qp_parse.y jpegxr/w_tile_spatial.c jpegxr/APP.rc jpegxr/init.c]</p>
</blockquote>
<p><strong><a name="2011-01-24T181640.240500Z"></a>
2011-01-24T18:16:40.240500Z Robin Watts</strong></p>
<blockquote>
<pre>
We want to be able to use planar buffers in a line interleaved format.
Unfortunately, at the moment the planar device is hardcoded to use
contiguous buffers. Fortunately this appears to be a 1 line fix; rather than
calculting raster from the width, we instead calculate it as the difference
between line pointers.
This does assume that we can always safely read line_ptrs[1], even if we only
have 1 line in the band. (The value is unimportant in this case, but we must
be able to read it without crashing.)
</pre>
<p>[base/gdevmpla.c]</p>
</blockquote>
<p><strong><a name="2011-01-24T145630.755196Z"></a>
2011-01-24T14:56:30.755196Z Chris Liddell</strong></p>
<blockquote>
<pre>
Make sure the X11 drivers get removed from the DEVICE_DEVS declaration
if the --enable-dynamic option is give to configure. Also, fix up the
the non shared library builds, so they will still work with
--enable-dynamic (only really useful for debugging).
Bug 691905.
Reorganise and correct the names of the devices specified in
configure.ac so that the options --with-drivers=[FILES,PRINTERS,X11]
actually work.
Finally, make the "make debug" compiler options originate from
configure, instead of being hard coded into the Makefile. A first
step in making some of useful debugging features of modern compilers
available when we can.
</pre>
<p>[base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2011-01-20T042302.586888Z"></a>
2011-01-20T04:23:02.586888Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Search for 'trailer' harder: at the end and at the beginning of the file.
This helps to recover some more of broken linearized files.
Bug 691894, customer 580.
</pre>
<p>[Resource/Init/pdf_rbld.ps]</p>
</blockquote>
<p><strong><a name="2011-01-19T202554.918598Z"></a>
2011-01-19T20:25:54.918598Z Robin Watts</strong></p>
<blockquote>
<pre>
Revision 12038 revealed a bug in the transparency code; an operation with
a blend mode of 'Normal' and a solid alpha would be allowed to use the
fast stroking code, even though it had transparency in due to being a pattern.
Here we fix the code to check for transparency. As noted on bug 691900 this
test treats all type 2 patterns as being transparent, so could be improved.
The cluster differences this gives have been checked and correct the
regressions of revision 12038.
</pre>
<p>[base/gdevp14.c base/gstrans.c]</p>
</blockquote>
<p><strong><a name="2011-01-19T180059.394482Z"></a>
2011-01-19T18:00:59.394482Z Robin Watts</strong></p>
<blockquote>
<pre>
Bug 691897 shows a PDF that is much slower when transparency is enabled than
when it is not. The time is primarily spent in the stroke filling code due
to the fact that when transparency is enabled strokes need to be rendered
all at once, rather than segment by segment. This causes the scan conversion
code to have to work much harder.
In fact, the code uses solid alpha and "compatible" blend mode for most
strokes, so we would be perfectly safe to use the normal mechanism. The
code attempts to recognise this case already, but was only spotting "Normal"
blend mode and not it's synonym "Compatible". We now roll the two together.
Cluster testing shows this produces various differences; none to do with
blending, all to do with different roundings in the positions of the stroked
paths. Bug 690845 is open for this already.
</pre>
<p>[base/gdevp14.c base/gstrans.c base/gstparam.h]</p>
</blockquote>
<p><strong><a name="2011-01-18T215256.712015Z"></a>
2011-01-18T21:52:56.712015Z regression</strong></p>
<blockquote>
<pre>
Temporarily add 75 dpi pgmraw output to GhostPCL and disable ps2write output to the cluster regressions.
</pre>
<p>[toolbin/localcluster/build.pl]</p>
</blockquote>
<p><strong><a name="2011-01-18T102212.280482Z"></a>
2011-01-18T10:22:12.280482Z Chris Liddell</strong></p>
<blockquote>
<pre>
Resolve some problems with the shared library build on Sparc/Solaris,
with the SunStudio tools.
Have configure select between the GNUism -soname and the more convetional
-h option to set the "internal" name of the shared library.
SunStudio 12 has changed the default optimization level option for cc to
be -O3 (previously was -02), which results in Ghostscript crashing.
No cluster differences expected.
Bug 689490
</pre>
<p>[base/macosx.mak base/Makefile.in base/configure.ac base/unix-dll.mak base/unix-gcc.mak base/macos-mcp.mak]</p>
</blockquote>
<p><strong><a name="2011-01-17T213708.425154Z"></a>
2011-01-17T21:37:08.425154Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
I don't know any version of VC compiler that can compile embedded assembly
code in Luratech JPEG 2000 library. (and other compilers are excluded on
the preprocessor level). So the library is now always compiled with
NO_ASSEMBLY flag. Perhaps, a new version of the library will be better.
</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2011-01-17T173350.118892Z"></a>
2011-01-17T17:33:50.118892Z Robin Watts</strong></p>
<blockquote>
<pre>
Add code for using run_rops for 8 and 24 bit targets too. Cluster testing shows
that this gives the same results, but limited local testing suggests the setup
costs mean this isn't yet a win. Therefore leaving disabled for now.
</pre>
<p>[base/gdevmr8n.c base/gsroprun.c base/gsropt.h]</p>
</blockquote>
<p><strong><a name="2011-01-17T121139.376205Z"></a>
2011-01-17T12:11:39.376205Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove unused lop_ral definitions, and move pdf14 lop bit down into the freed
space (for neatness).
No changes expected in cluster.
</pre>
<p>[base/gsropt.h]</p>
</blockquote>
<p><strong><a name="2011-01-16T012536.175335Z"></a>
2011-01-16T01:25:36.175335Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added missing std.h dependency to gstoptab.c to fix parallel make
under linux.
</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-01-15T160130.937666Z"></a>
2011-01-15T16:01:30.937666Z Robin Watts</strong></p>
<blockquote>
<pre>
First commit of new scheme for rop acceleration; offer functions that do
'runs' of rops rather than single rops. This enables us to hide optimised
versions (or even dynamically created code) under a single interface.
The current code is only used in 1bpp cases, but is already showing a
signficant speed up, with lots of scope for future optimisations.
No cluster differences shown.
</pre>
<p>[base/lib.mak base/gsroprun.c base/gsropt.h base/gdevmr1.c]</p>
</blockquote>
<p><strong><a name="2011-01-15T155350.166886Z"></a>
2011-01-15T15:53:50.166886Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix loooong standing bug in rop3_swap_S_T, in that it doesn't actually work.
This shouldn't affect anything as it's not currently used, but WILL be used
in my next commit.
</pre>
<p>[base/gsropt.h]</p>
</blockquote>
<p><strong><a name="2011-01-14T185846.405071Z"></a>
2011-01-14T18:58:46.405071Z Henry Stiles</strong></p>
<blockquote>
<pre>
Bracket off gs_debug_c with #ifdef DEBUG so it is not called in
production builds.
</pre>
<p>[base/gxht.c base/gxclimag.c base/gxttfb.c base/gxpcmap.c base/gxccman.c base/gsfcmap1.c base/gspaint.c]</p>
</blockquote>
<p><strong><a name="2011-01-14T165647.376046Z"></a>
2011-01-14T16:56:47.376046Z Chris Liddell</strong></p>
<blockquote>
<pre>
Changes to the Unix configure based builds to tidy up specifying
subsets of output devices.
Some devices were always being included regardless of the options
given to configure, resolved by tidying up the macro expansions
in Makefile.in done by the configure script.
Also the page device and clist device are effectively required by
all configurations, so those are now included in the core build.
Finally, the contrib/gomni.c driver relied on two functions in
base/gdevbmpc.c which is an optional driver, so configuring
the Omni driver to be built it, and bmp16 not would result
in undefined symbols. contrib/gomni.c now has its own
equivalents of those functions.
The bbox device remains as the ultimate "fallback" device.
Bug 689546
</pre>
<p>[base/lib.mak contrib/gomni.c base/Makefile.in base/configure.ac base/devs.mak]</p>
</blockquote>
<p><strong><a name="2011-01-13T161939.522851Z"></a>
2011-01-13T16:19:39.522851Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove the bogus C++ requirement in the copy of Jasper we
ship with Ghostscript by recreating the autotools related
files for Jasper.
I can't be sure, but it seems that a bug in one of the
autotools originally used for our Jasper had a bug which
resulted in C++ being misidentified as a required,
rather than optional, feature of the build environment.
Bug 691563.
No cluster differences expected.
</pre>
<p>[jasper/src/libjasper/jpc/Makefile.in jasper/src/libjasper/bmp/Makefile.in jasper/configure.ac jasper/src/libjasper/jpg/Makefile.in jasper/src/appl/Makefile.in jasper/src/libjasper/include/Makefile.in jasper/src/libjasper/ras/Makefile.in jasper/src/Makefile.in jasper/aclocal.m4 jasper/src/libjasper/pnm/Makefile.in jasper/src/libjasper/jp2/Makefile.in jasper/configure jasper/src/msvc/Makefile.in jasper/src/libjasper/pgx/Makefile.in jasper/Makefile.in jasper/src/libjasper/Makefile.in jasper/src/libjasper/include/jasper/Makefile.in jasper/src/libjasper/base/Makefile.in jasper/src/libjasper/mif/Makefile.in]</p>
</blockquote>
<p><strong><a name="2011-01-13T143733.986698Z"></a>
2011-01-13T14:37:33.986698Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 689698 by prefixing scan_token (and other externally exported
scanning related symbols) by gs_.
No changes in cluster testing (other than 1 timeout, and 2 indeterminisms).
</pre>
<p>[psi/ztoken.c psi/ztype.c psi/imain.c psi/iscan.c psi/itoken.h psi/ziodev.c psi/interp.c psi/iscan.h psi/imainarg.c]</p>
</blockquote>
<p><strong><a name="2011-01-12T211153.461044Z"></a>
2011-01-12T21:11:53.461044Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 691682 - cryptic error messages when misspecifying compression type
for tiff devices.
This patch makes the tiff devices take heed of errors propogated up from the
tiff library. This means we'll now drop out at the first error rather than
carry on through and give a broken file at the end silently.
Also, we output a more helpful error message in the case where the
compression type is misselected.
Cluster testing shows no changes.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2011-01-11T213354.972732Z"></a>
2011-01-11T21:33:54.972732Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for a number of issues found by Ray with the halftone creation tool.
These include a crash for a divide by zero in the gcd function (caused failure at 0 degree screen generation)
Fix so that the Holladay screen is no longer created as an output option.
Fix in ppm output header.
Fix in how the lpi is selected.
Fix for when we have a screen that has essentially one dot (also caused a crash).
Addition of a ReadMe.
A lot more testing is needed, in particular, the dithering of the dots in the macro-screens needs additional testing and the relationship between the desired number of quantization levels and the size of the screen needs to be properly computed. There is a list of features that need to be added described in the ReadMe. </pre>
<p>[toolbin/color/halftone/halfttoning/halfttoning.vcproj toolbin/color/halftone/README toolbin/color/halftone/halfttoning/halftone.c]</p>
</blockquote>
<p><strong><a name="2011-01-11T011759.815496Z"></a>
2011-01-11T01:17:59.815496Z Ray Johnston</strong></p>
<blockquote>
<pre>
Add output modes for PostScript HalftoneType 3 threshold arrays (-ps) and
PPM files (-ppm) that have the width in the file rather than only encoded
in the filename. The -ppm mode is untested and marginally useful.
The -ps mode was tested (on Windoze) with:
toolbin/color/halftone/Debug/halfttoning.exe -ps -r 300 -l 23 -a 45
gswin32c -r300 -dDisplayFormat=16#20102 -c "(Screen_Holladay_Shift10_20x10.ps) \
run sethalftone (examples/tiger.eps) run"
The result doesn't look very good, but at least it runs and we can examine
the problems.
</pre>
<p>[toolbin/color/halftone/halfttoning/halftone.c]</p>
</blockquote>
<p><strong><a name="2011-01-11T004920.559732Z"></a>
2011-01-11T00:49:20.559732Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Hopefully a fix for indeterminism introduced in rev 12005. The source of this was that the cups and psdcmyk device are now using the older slower color image rendering function due to the fact that they have non-standard color mapping procedures. Missing parenthesis were introduced when the ICC branch was merged into the trunk which was the source of the issue. This was causing a check for color range mask testing even when the image was not a type 4.</pre>
<p>[base/gxicolor.c]</p>
</blockquote>
<p><strong><a name="2011-01-10T220019.847574Z"></a>
2011-01-10T22:00:19.847574Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Added the source code of the CUPS libraries to the Ghostscript source
package
Like with zlib, libpng, libjpeg, ... it is now possible to
build the complete Ghostscript (including the CUPS Raster output
device) on systems where there is no CUPS library available.
Note that currently only the CUPS library source code is added, the
results of the ./configure run in the Makedefs and config.h files, and
the Makefiles are stripped to only build the libraries and nothing
else. The CUPS ./configure command line which was used to obtain
makedefs and config.h was
./configure --enable-static --without-shared --disable-dbus --without-php \
--disable-slp --disable-gssapi --disable-ldap --disable-ssl \
--disable-cdsassl --disable-gnutls --disable-openssl --disable-pam \
--disable-dnssd --disable-launchd
This way the built CUPS libraries do not need any system services or
hardware interfaces of Linux. In addition to standard libraries they
use only libz, libpng, libjpeg, and libtiff. These libraries
Ghostscript needs anyway and copies of their source code also ship
with Ghostscript.
What is still missing is the integration into the build system of
Ghostscript and also the operating-system-independent base/cups.mak
file (like base/png.mak etc.).
No changes expected in the built Ghostscript as the code is not yet
integrated in the build system.
</pre>
<p>[cups/libs/cups/backend.c cups/libs/cups/testadmin.c cups/libs/filter/image-pix.c cups/libs/cups/testoptions.c cups/libs/cups/backend.h cups/libs/cups/http-private.h cups/libs/filter/image.c cups/libs/cups/testpwg.c cups/libs/filter/image-sun.c cups/libs/cups/ppd-private.h cups/libs/filter/image.h cups/libs/filter/error.c cups/libs/cups/Dependencies cups/libs/cups/ipp-private.h cups/libs/cups/md5passwd.c cups/libs/cups/notify.c cups/libs/cups/dir.c cups/libs/cups/testarray.c cups/libs/cups/file.c cups/libs/cups/testhttp.c cups/libs/filter/image-png.c cups/libs/filter/image-zoom.c cups/libs/cups/getdevices.c cups/libs/cups/transcode.c cups/libs/cups/dir.h cups/libs/cups/globals.c cups/libs/cups/testppd.c cups/libs/filter/image-tiff.c cups/libs/cups/file.h cups/libs/filter/image-pnm.c cups/libs/cups/transcode.h cups/libs/cups/testipp.c cups/libs/cups/globals.h cups/libs/filter cups/libs/filter/image-photocd.c cups/libs/cups/options.c cups/libs/cups/emit.c cups/libs/cups/localize.c cups/libs/cups/tempfile.c cups/libs cups/libs/cups/testcups.c cups/libs/cups/custom.c cups/libs/cups/pwg-media.c cups/libs/cups/util.c cups/libs/cups/array.c cups/libs/cups/pwg-ppd.c cups/libs/cups/testi18n.c cups/libs/cups/http.c cups/libs/filter/image-jpeg.c cups/libs/filter/Dependencies cups/libs/cups/array.h cups/libs/cups/http-addrlist.c cups/libs/cups/language.c cups/libs/cups/ppd.c cups/libs/cups/http.h cups/libs/cups/md5.c cups/libs/cups/debug.c cups/libs/cups/ipp.c cups/libs/cups/language.h cups/libs/cups/ppd.h cups/libs/cups/backchannel.c cups/libs/cups/http-support.c cups/libs/cups/mark.c cups/libs/cups/md5.h cups/libs/cups/snmp-private.h cups/libs/cups/debug.h cups/libs/cups/Makefile cups/libs/cups/ipp.h cups/libs/cups/dest.c cups/libs/config.h cups/libs/cups/auth.c cups/libs/cups/ipp-support.c cups/libs/filter/common.c cups/libs/cups/langprintf.c cups/libs/filter/image-sgilib.c cups/libs/cups/raster.h cups/libs/filter/common.h cups/libs/cups/attr.c cups/libs/filter/image-private.h cups/libs/cups/sidechannel.c cups/libs/cups/testsnmp.c cups/libs/cups/usersys.c cups/libs/cups cups/libs/cups/cups.h cups/libs/cups/sidechannel.h cups/libs/cups/i18n.h cups/libs/Makedefs cups/libs/cups/testconflicts.c cups/libs/filter/image-colorspace.c cups/libs/cups/adminutil.c cups/libs/cups/http-addr.c cups/libs/filter/interpret.c cups/libs/cups/request.c cups/libs/cups/versioning.h cups/libs/cups/md5-apple.h cups/libs/cups/adminutil.h cups/libs/cups/file-private.h cups/libs/cups/encode.c cups/libs/filter/image-gif.c cups/libs/cups/snprintf.c cups/libs/cups/string.c cups/libs/filter/Makefile cups/libs/cups/getputfile.c cups/libs/filter/image-bmp.c cups/libs/cups/pwg-private.h cups/libs/cups/pwg-file.c cups/libs/cups/string.h cups/libs/filter/raster.c cups/libs/cups/page.c cups/libs/cups/getifaddrs.c cups/libs/cups/snmp.c cups/libs/filter/image-sgi.c cups/libs/cups/testfile.c cups/libs/cups/testlang.c cups/libs/filter/image-sgi.h cups/libs/cups/conflicts.c]</p>
</blockquote>
<p><strong><a name="2011-01-10T032952.464842Z"></a>
2011-01-10T03:29:52.464842Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add support for MSVC 10 to msvc32.mak .
</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2011-01-09T021919.656942Z"></a>
2011-01-09T02:19:19.656942Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for color related warnings in bug 691459</pre>
<p>[base/gxi12bit.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcmap.h base/gxicolor.c base/gscspace.c]</p>
</blockquote>
<p><strong><a name="2011-01-08T195651.307278Z"></a>
2011-01-08T19:56:51.307278Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't discard encoding of a TrueType PDF font when it is not embedded.
Ghyph indexes vary between font versions, and encoding-based mapping
yelds better results in this case. Bug 691693.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2011-01-08T194231.743686Z"></a>
2011-01-08T19:42:31.743686Z regression</strong></p>
<blockquote>
<pre>
Additional changes to support ps2write in the cluster (and nightly and weekly) regression.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2011-01-08T175607.987718Z"></a>
2011-01-08T17:56:07.987718Z regression</strong></p>
<blockquote>
<pre>
Add ps2write testing to the cluster regression.
</pre>
<p>[toolbin/localcluster/build.pl]</p>
</blockquote>
<p><strong><a name="2011-01-08T175526.179279Z"></a>
2011-01-08T17:55:26.179279Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix the code that repairs missing or incorrect /Subtype attribute. Write
a valid attribute (always /Type1) into the font resource. This helps to
avoid confusion caused by an invalid value later on. Bug 691872.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2011-01-08T105004.294111Z"></a>
2011-01-08T10:50:04.294111Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fixed typo.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-08T104712.179146Z"></a>
2011-01-08T10:47:12.179146Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster device: Some clean-up.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-08T103656.827100Z"></a>
2011-01-08T10:36:56.827100Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster: Another approach to fix both bug #691733 and #690435: Set _old values at the beginning of the cups_put_params() function.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-07T233317.663910Z"></a>
2011-01-07T23:33:17.663910Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device: Use positive values (1) as dummy values to mark that the color depth has changed and therefore memory needs to get rallocated
WEith this both bug #691733 and bug #690435 get fixed, but this is not
necessarily he right and best solution.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-07T140517.614099Z"></a>
2011-01-07T14:05:17.614099Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fixed search-and-replace error in "cups" output device, bug 691871.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2011-01-07T044942.455234Z"></a>
2011-01-07T04:49:42.455234Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that we do not do the ICC optimized flow for color images when our target device does not have standard color mapping procedures. This occurs for example, in the case for the CUPs device where the color mapping procedures map CMYK, RGB and Gray to the current CUPs device color space. For standard gray, RGB and CMYK devices these procedures are avoided as the CMM performs all the required mappings. This commit will show differences in the files for the cups device as well as the psdcmyk device, which also should be using the non-optimized flow due to the use of CMYK + spot colorants, which will not be managed correctly by the CMM in general. The differences int the psdcmyk files that do not have extra spot colorants are tiny. This should fix bug 691760.</pre>
<p>[base/gxi12bit.c base/gdevp14.c base/lib.mak base/gxcmap.c base/gxiscale.c base/gdevnfwd.c base/gxcmap.h base/gxicolor.c]</p>
</blockquote>
<p><strong><a name="2011-01-06T191856.657732Z"></a>
2011-01-06T19:18:56.657732Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a cut-ant-paste error in setting QuantTables for JPXEncode filter.
Bug 691868.
</pre>
<p>[base/sdeparam.c]</p>
</blockquote>
<p><strong><a name="2011-01-06T110852.017177Z"></a>
2011-01-06T11:08:52.017177Z Ken Sharp</strong></p>
<blockquote>
<pre>
Minor enhancement to ps2write for DSC output, remove trailing EOF.
Prevent ps2write emitting a trailing EOF (0x04) byte when producing DSC-compliant
output. The emission of this byte was leading to warnings about the output containing
binary.
No differences expected.
</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2011-01-05T173542.089947Z"></a>
2011-01-05T17:35:42.089947Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Reverting of commit 11995</pre>
<p>[base/gxipixel.c base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-01-05T160522.763938Z"></a>
2011-01-05T16:05:22.763938Z Ken Sharp</strong></p>
<blockquote>
<pre>
ps2write DSC enhancement. Alter the default setting of CompressPages and CompressFonts to
true. Gives better conforming output at present (as well as smaller output)
</pre>
<p>[Resource/Init/gs_pdfwr.ps]</p>
</blockquote>
<p><strong><a name="2011-01-05T154341.972063Z"></a>
2011-01-05T15:43:41.972063Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix three compiler warnings in revision 11997
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2011-01-05T152839.325806Z"></a>
2011-01-05T15:28:39.325806Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Use the "x11" output device as default output device for an X-enabled Ghostscript, as "x11alpha" is too buggy
The simple call "gs <file>" is a common call to check a PostScript
file when debugging printing problems. Unfortunately, this call uses
the "x11alpha" output device which has a lot of bugs, especially on
complex input files. This makes easily a wrong impression of the input
file then. Having a somewhat inferior screen output quality (no
anti-aliasing) is no problem as the mentioned Ghostscript call is only
used for debugging purposes.
</pre>
<p>[base/Makefile.in]</p>
</blockquote>
<p><strong><a name="2011-01-05T141741.770782Z"></a>
2011-01-05T14:17:41.770782Z Ken Sharp</strong></p>
<blockquote>
<pre>
ps2write DSC enhancement. Belt and braces approach when emitting a serialised array/proc
This code should break an (already serialised) array or procedure emission if the total
length of the data to write exceeds 255 bytes. The data will be broken at name, array,
string or procedure tokens (ie '/', '[', '(', '<') or a space character. If none of
these occurs in the preceding 255 bytes then we emit a line break anyway and carry on.
I do not have any test cases which exercise this code path with a data size > 255
bytes, so I'm not certain that it works as expected.
No differences expected as the regression test doesn't exercise ps2write.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2011-01-04T185636.226711Z"></a>
2011-01-04T18:56:36.226711Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix spelling errors in a German man page. Thanks to Peter Dyballa for
the patch. Bug 691863.
</pre>
<p>[man/de/gsnd.1]</p>
</blockquote>
<p><strong><a name="2011-01-04T181941.129921Z"></a>
2011-01-04T18:19:41.129921Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that the presence of source black and white are properly detected with the ICC color management changes. This detection is useful for the optimization of certain ROPs. Previously black and white were detected from looking at the device color. This was a problem since the device black color is usually not pure for a CMYK printer with the ICC changes. This fix updates the detection function so that it looks at the source color and maps it to the default RGB color space where black and white are well defined.
</pre>
<p>[base/gxipixel.c base/lib.mak]</p>
</blockquote>
<p><strong><a name="2011-01-04T163538.827232Z"></a>
2011-01-04T16:35:38.827232Z Ken Sharp</strong></p>
<blockquote>
<pre>
More DSC-compliant ps2write work.
When emitting strings for ps2write, write them as hex strings instead of regular
strings, if the ps2write output is to be DSC-compliant, break the hex strings every
255 bytes or less. Prepend and append newlines to the hex string when emitting
DSC-compliant PostScript to ensure that preceding or following data doesn't cause the
line length to exceed 255 bytes.
No differences expected as ps2write is not currently regression tested.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2011-01-04T104832.930138Z"></a>
2011-01-04T10:48:32.930138Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Write ToUnicode CMap files which Acrobat likes
Bug #691862 (and also bug #691849) "Unable to copy text from the converted PDF"
It seems the Adobe documentation lies (or more generously is inconsistent). The
CMap tech note (5014) says that entries are not zero padded, so values less
than 256 are emitted as single bytes, values 256->65535 are two bytes etc.
However the ToUnicode CMap tech note (5411) says:
"Because a “ToUnicode” mapping file is used to covert from CIDs (which begin at
decimal 0, which is expressed as 0x0000 in hexadecimal notation) to Unicode
code points, the following “codespacerange” definition, without exception,
shall always be used: 1 begincodespacerange <0000> <FFFF>endcodespacerange"
(This is somewhat restrictive, since CIDs can exceed 2 bytes, even though
UTF-16 can't, I could forsee a need to map high CIDs to lower UTF-16 values)
Finally, the PDF Reference (1.7) says:
"The CMap file must contain begincodespacerange and endcodespacerangeoperators
that are consistent with the encoding that the font uses. In particular, for a
simple font, the codespace must be one byte long."
So the PDF Reference conflicts with the tech note which it references!
In fact none of the above seems to be quite what Acrobat actually does.
It seems that Acrobat does not care what size (in bytes) the codespacerange is,
no matter what kind of font is present. However it *does* care what size the
bfrange entries are. For simple fonts the bfrange entries must be single bytes,
for CIDFonts the bfrange entries must be two bytes. Deviation in either case
leads to files which Acrobat cannot process and either causes errors or
incorrect text when copying and pasting.
Changed the ToUnicode emission (mostly restoring revision 11170 which was removed in
revision 11795 because of bug #691849) so that we emit single byte bfrange and
codespacerange arguments for simple (non-CID) fonts, and emit double byte, padded with
00 arguments to bfrange and codespacerange for CID fonts.
No differences expected as this only affects text search/copy in Acrobat.
</pre>
<p>[base/gsfcmap.c base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2011-01-03T201958.048424Z"></a>
2011-01-03T20:19:58.048424Z Ray Johnston</strong></p>
<blockquote>
<pre>
Don't bump the 'used' element of the chunk manager structure if the allocation
of a chunk fails. Thanks to Norbert Janssen for noticing this. Bug 691720.
</pre>
<p>[base/gsmchunk.c]</p>
</blockquote>
<p><strong><a name="2011-01-03T185800.432432Z"></a>
2011-01-03T18:58:00.432432Z Henry Stiles</strong></p>
<blockquote>
<pre>
The optimization in gdevdgbr to detect a device with a "plain" cmyk 1
bit to rgb mapping was broken because the procedure
cmyk_1bit_map_color_rgb() is obsolete. The hack here is to detect
output formats compatible with gx_get_bits_copy_cmyk_1bit() which is
significantly faster since it does not have to call the device color
decode procedure. The device API should have a member that indicates
the most frequently encountered pixel organizations.
</pre>
<p>[base/gdevdgbr.c]</p>
</blockquote>
<p><strong><a name="2011-01-03T162021.454447Z"></a>
2011-01-03T16:20:21.454447Z Henry Stiles</strong></p>
<blockquote>
<pre>
Decode image samples with single precision calculations only. This
area of the code is performance sensitive and there is no need to
convert to and from doubles. Also, "image_set_gray" is now inline but
still not enabled.
</pre>
<p>[base/gximono.c base/gximage.h]</p>
</blockquote>
<p><strong><a name="2011-01-03T143356.098558Z"></a>
2011-01-03T14:33:56.098558Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix ps2write : Attach Encoding for symbolic TrueType fonts
The recent change to not attach Encodings to Sy,bolic TrueType fonts, as per the PDF
spec, meant that ps2write also wrote symbolic TT fonts without a /Encoding. This is not
ideal, because opdfread.ps then attaches a default StandardEncoding to the font. This
simply will not work correctly.
After some experimentation with extracting (in PostScript) the POST table from the TT
font, sense prevailed. This patch modifies the condition so that if we are producing
output for ps2write we continue to attach a /Encoding. (in this case it doesn't
matter whether we are producing DSC output, we always want the Encoding)
No differences expected.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2011-01-03T062152.574265Z"></a>
2011-01-03T06:21:52.574265Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Adjust pdfemptycount variable during .execgroup execution to reflect the
actual stack count. Avoid errors in sc1/scn caused by wrong operand count.
Bug 691624.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2011-01-01T161749.255469Z"></a>
2011-01-01T16:17:49.255469Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Change all "/foo /bar load def" into "/foo {bar} bind 0 get def"
in PDF interpreter to ebable operator redefinition with -dDELAYBIND.
Bug 691669, customer 850.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-12-31T062359.391706Z"></a>
2010-12-31T06:23:59.391706Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Trap errors that may happen during loading of embedded fonts and try
to load the font by the name. Bug 691045.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-12-30T190959.966731Z"></a>
2010-12-30T19:09:59.966731Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Use -fPIC instead of -KPIC on SunOS for "so" target when compiler is gcc.
Bug 690630, customer 200.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-12-30T141142.974030Z"></a>
2010-12-30T14:11:42.974030Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Clip excessive size of the radial gradient extensions to the fixed point
range. To avoid trivial differences, try the old fixed point function first
and use new floating point one only when the old function fails. Bug 691775.
</pre>
<p>[base/gspath.h base/gxshade1.c base/gspath.c]</p>
</blockquote>
<p><strong><a name="2010-12-29T130145.722135Z"></a>
2010-12-29T13:01:45.722135Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Ignore transparency group XObject without /Group attribute and issue a
warning about it. Bug 691854.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-12-28T031357.856572Z"></a>
2010-12-28T03:13:57.856572Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement correct defaults for /FontMatrix attribute in composite CFF
font following analysis by Ken and Masaki (see the comment). Bug 690724.
</pre>
<p>[psi/zfont2.c]</p>
</blockquote>
<p><strong><a name="2010-12-27T233439.189121Z"></a>
2010-12-27T23:34:39.189121Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix unterminated string used by "%%CreationDate:" comment in ps2write
device. Partial fix for 691853.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-12-24T110847.918403Z"></a>
2010-12-24T11:08:47.918403Z Chris Liddell</strong></p>
<blockquote>
<pre>
Put a check in place to ensure that the UFST pre version 6
does not attempt to handle anything other than its own
Microtype fonts.
This ensures that the UFST 5.x FAPI plugin can coexist
safely with the Freetype FAPI plugin.
</pre>
<p>[psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2010-12-24T095039.994493Z"></a>
2010-12-24T09:50:39.994493Z Chris Liddell</strong></p>
<blockquote>
<pre>
Where FAPI finds a TTF glyf description to pass into the target font
library, fix the decision on the length of the offset to the glyph
data. Previously, the condition was wrong, and always ended up reading
2 bytes for the offset.
Bug 691850
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-12-24T002830.327488Z"></a>
2010-12-24T00:28:30.327488Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Limit the use of -rdynamic flag to GCC on Linux. This flags is supported
by GCC only if the platform has ELF executable format. Bug 691453.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-12-23T143936.123969Z"></a>
2010-12-23T14:39:36.123969Z Ken Sharp</strong></p>
<blockquote>
<pre>
fix pdfwrite : Always write 2 bytes for ToUnicode CMap ranges
Bug #691849 "pdfwriter regression: pdf text element is broken"
revision 11170 modified CMap emission so that bfchar/bfrange entries less than 256 were
emitted as a single byte, as specified in the CMAp specification. However ToUnicode
CMaps don't follow the normal specification (I suspect this is a bug which has been
pickled into the spec by Adobe), and require that values always have 2 bytes.
reverted 11170 so that we write 2 byte ToUnicode CMap entries.
No differences expected.</pre>
<p>[base/gsfcmap.c]</p>
</blockquote>
<p><strong><a name="2010-12-23T114120.825457Z"></a>
2010-12-23T11:41:20.825457Z Ken Sharp</strong></p>
<blockquote>
<pre>
ps2write enhancement
Initialise the SetPageSize flag to true when ProduceDSC is set, so that page sizes are
properly requested by the output PostScript file.
No differences expected.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-12-22T184813.456231Z"></a>
2010-12-22T18:48:13.456231Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Initial commit of code for creating halftone screens. This code needs additional debugging, especially in the case of edge parameters. It will currently create threshold arrays based upon desired lpi, angle, quantization levels, and device resolution. The method is restricted to angles that are the arctangent of rational numbers. Every attempt is made to achieve the requested lpi by using the rational angle that achieves an lpi over the requested value. Since there is a trade off between lpi and quantization levels, the requested quantization levels are obtained through dithering of the dot cells within the supercell. Essentially, the dots within the supercell do not all take on the same values and can grow at different rates in a visually pleasing manner. There is still a bit of work to do still on this dithering as well as controlling the rate of growth for the dots.</pre>
<p>[toolbin/color/halftone toolbin/color/halftone/halfttoning.sln toolbin/color/halftone/halfttoning/halfttoning.vcproj toolbin/color/halftone/halfttoning toolbin/color/halftone/halfttoning/halftone.c]</p>
</blockquote>
<p><strong><a name="2010-12-22T161758.830786Z"></a>
2010-12-22T16:17:58.830786Z Ken Sharp</strong></p>
<blockquote>
<pre>
Just remove a commented out line of code that should have been removed before commit.
</pre>
<p>[base/gdevpdfb.c]</p>
</blockquote>
<p><strong><a name="2010-12-22T140556.481488Z"></a>
2010-12-22T14:05:56.481488Z Ken Sharp</strong></p>
<blockquote>
<pre>
More enhancement work for type 3 fonts with PCL
Previously we set the horizontal advance argument to the d1 (setcachedevice) operator to
0, and set the Widths entry to 0, for all type 3 bitmap fonts created by rendering the
original font.
This was required to prevent regression errors with the test suite when we altered the
type 3 font accumulation so that it made more effort to preserve the input character
code, in an attempt to improve searching.
Revision 11969 fixes a problem with cached characters which was leading to the /Widths
array containing garbage values. With that revision we can now properly set the 'd1'
horizontal advance, and also set the /Widths array correctly.
No expected differences
</pre>
<p>[base/gdevpdfb.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-12-22T135829.830017Z"></a>
2010-12-22T13:58:29.830017Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix ps2write/pdfwrite : Up date the show enumerator with the cached character width
When capturing a character bitmap on the first time it is rendered, pdfwrite and
ps2write get the width of the glyph in the cache device. This is then used to update
values in the show enumerator, and these values are used as the Widths entry for the
glyph.
When imaging an already cached character, however, the enumerator values are not updated
which can lead to garbage (uninitialised data) being written as values in the /Widths
array. This patch takes the value from the cached character 'wxy' and updates the show
enumerator 'wxy' with it. This is then used as the value for the /Widths array.
Bug #691836, zweiseit01d4-1.pdf, limitcheck --nostringval--
No differences expected.
</pre>
<p>[base/gxccache.c]</p>
</blockquote>
<p><strong><a name="2010-12-22T003556.638864Z"></a>
2010-12-22T00:35:56.638864Z regression</strong></p>
<blockquote>
<pre>
Fixed bug with r11967 that redirected output to the wrong directory on the
cluster nodes.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-12-21T230747.064606Z"></a>
2010-12-21T23:07:47.064606Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Attempt to remove obj directories before build and report failure.
This detects the situation where a user manually built on one of
the cluster nodes, leaving an obj directory that can't be overwritten
by the cluster software.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-12-21T230104.915150Z"></a>
2010-12-21T23:01:04.915150Z regression</strong></p>
<blockquote>
<pre>
Merge run.pl and build.pl with nightly regression versions.
</pre>
<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-12-21T175345.618494Z"></a>
2010-12-21T17:53:45.618494Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revise how we set the font types which FAPI should handle, and
ensure that the "dummy" CharStrings dict we set up for Microtype
fonts doesn't get replaced.
Bug 691810
No cluster differences expected.
</pre>
<p>[Resource/Init/gs_fntem.ps Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-12-21T104401.003179Z"></a>
2010-12-21T10:44:01.003179Z Chris Liddell</strong></p>
<blockquote>
<pre>
Handle Charstrings being replaced by a procedure. This can happen
even with Microtype fonts (which "pretend" to be Type 1, but don't
actually use CharStrings).
This commit also includes some UFST 6.x related changes, the complete
UFST 6.x integration should follow in the not too distant future.
Bug 691834
Not cluster differences.
</pre>
<p>[psi/fapiufst.c base/gxfapiu.c]</p>
</blockquote>
<p><strong><a name="2010-12-20T163854.977548Z"></a>
2010-12-20T16:38:54.977548Z Chris Liddell</strong></p>
<blockquote>
<pre>
When we're handling a Type42 font in FAPI, handle the possibility that
the "CharString" we get might be a null object, by falling back to
the notdef glyph.
Bug 691848
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-12-18T192714.937495Z"></a>
2010-12-18T19:27:14.937495Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement correct bit packing for an indexed image with 4 bit/pixel color
depth in the interface to Luratech JPX library. Bug 691843, customer 532.
</pre>
<p>[base/sjpx_luratech.c]</p>
</blockquote>
<p><strong><a name="2010-12-18T152443.064303Z"></a>
2010-12-18T15:24:43.064303Z Ken Sharp</strong></p>
<blockquote>
<pre>
Bug #691835
Temporary work-around. It is possible to get into gsicc_init_device_profile with the
graphics state pointer (pgs) being NULL. This happens if ps2write or pdfwrite convert
a masked image into a regular image.
Because pgs is dereferenced without checking for NULL, this causes a crash.
Its not immediately clear to me if I need to modify ps2write/pdfwrite so that this
condition doesn't occur, but for now, if pgs is NULL we return from the routine in order
to prevent a crash.
No differences expected
</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-12-17T165835.097740Z"></a>
2010-12-17T16:58:35.097740Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Install the CJK examples.
</pre>
<p>[base/unixinst.mak]</p>
</blockquote>
<p><strong><a name="2010-12-17T165651.880152Z"></a>
2010-12-17T16:56:51.880152Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Mention "ps2pdf14" in the man page for ps2pdf.
</pre>
<p>[man/ps2pdf.1 man/de/ps2pdf.1]</p>
</blockquote>
<p><strong><a name="2010-12-17T165453.331106Z"></a>
2010-12-17T16:54:53.331106Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Let Ghostscript work with the libjasper provided by the system.
</pre>
<p>[base/sjpx.c]</p>
</blockquote>
<p><strong><a name="2010-12-17T165049.932561Z"></a>
2010-12-17T16:50:49.932561Z Till Kamppeter</strong></p>
<blockquote>
<pre>
pphs is a script and not a library, put it into the correct group of files in the Makefile.
</pre>
<p>[base/unixinst.mak]</p>
</blockquote>
<p><strong><a name="2010-12-17T164802.245525Z"></a>
2010-12-17T16:48:02.245525Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fix stone-old security advisory CVE-2009-4270.
</pre>
<p>[base/gsmisc.c]</p>
</blockquote>
<p><strong><a name="2010-12-17T164302.736497Z"></a>
2010-12-17T16:43:02.736497Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Build gsx and gsc executables correctly as executables and not as shared libraries.
</pre>
<p>[base/unix-dll.mak]</p>
</blockquote>
<p><strong><a name="2010-12-17T001641.356524Z"></a>
2010-12-17T00:16:41.356524Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed patch noise file.
</pre>
<p>[contrib/pcl3/eprn/eprnrend.c.orig]</p>
</blockquote>
<p><strong><a name="2010-12-16T170024.131587Z"></a>
2010-12-16T17:00:24.131587Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Don't clamp rectfill to the page.
Bug #691839 "Invalid EPS conversion with -dEPSCrop"
Rectangular fills (and only the special case of rectangles) were being clamped to the
width/height of the device when emitted. This can cause problems when a matrix is in
force which reduces the actual co-ordinates, in this case a Pattern with a 0.25 scaling.
The clamping caused co-ordinates to be reduced, and part of the fill went missing.
The comment indicated this was to 'work-around' the limit in Acrobat of 32k on user
co-ordinates, but this is too sever a clamp to apply, also the general case path code
does not apply this limit. Altered to make the limit the 32k enforced by Acrobat.
</pre>
<p>[base/gdevpdfd.c]</p>
</blockquote>
<p><strong><a name="2010-12-15T161254.275384Z"></a>
2010-12-15T16:12:54.275384Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : Final DSC changes
Fix a compiler warning, make ProduceDSC=true the default condition so that we create
DSC-compliant PostScript unless told otherwise.
Update the documentation for pswrite and ps2write in devices.htm and Ps2ps2.htm. Note
that pswrite is now deprecated.
Modify the pdf2ps and ps2ps scripts to use ps2write instead of pswrite.
No differences expected.
</pre>
<p>[lib/pdf2ps doc/Ps2ps2.htm lib/pdf2ps.cmd lib/pdf2ps.bat lib/ps2ps doc/Devices.htm base/gdevpdfu.c lib/ps2ps.cmd base/gdevpdfb.h lib/ps2ps.bat]</p>
</blockquote>
<p><strong><a name="2010-12-15T082258.985898Z"></a>
2010-12-15T08:22:58.985898Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : more DSC related activity
Defer the output of the header and the opdfread.ps 'prcoset' until the output file is
closed. This allows us to count the pages and emit the %%Pages: comment in the header
instead of at the end of the file.
Fix the PageBoundingBox comment to have two % characters instead of one.
Check for a new flag 'DSC_OPDFREAD' at the start of opdfread.ps (and write its
definition as part of the header emission in ps2write). If present this prevents the
SetupPageView routine from using setmatrix to reset the CTM to the one saved during
document setup. Because the DSC-compliant output puts save/restore around each page
we don't need to reset the matrix, and the reset prevents the output from working
properly with psnup. If the flag is not present, it is treated as false.
The output now works with GSView, psselect and psnup. The only remaining work is to
track the usage of ProcessDSC and see if we can reuse any of the comments parsed out
of the input.
No differences expected
</pre>
<p>[base/gdevpdfx.h base/gdevpdf.c Resource/Init/opdfread.ps base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-12-13T115736.965203Z"></a>
2010-12-13T11:57:36.965203Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : DSC output
Add some more comments, and re-arrange a few to make better sense. Initial tests
indicate the output of the code with ProduceDSC does not introduce any new errors.
Still to do: See if we can re-order the output so that we can write the %%Pages: comment
in the header with the correct number of pages. This requires us to defer writing the
header and ProceSet until the end of the job.
No differences expected.
</pre>
<p>[base/gdevpdfg.h base/gdevpdf.c base/gdevpdfe.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-12-12T161859.870768Z"></a>
2010-12-12T16:18:59.870768Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Make const_90_degrees an external variable to stop smart optimizers from
converting angle/const_90_degrees to angle*(1/const_90_degrees). Bug 689794.
</pre>
<p>[base/gsmisc.c]</p>
</blockquote>
<p><strong><a name="2010-12-11T230225.039826Z"></a>
2010-12-11T23:02:25.039826Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't break ANSI aliasing rules. Use memcpy() to assign Ghostscript classes
i.e. structures of different type. Fix SEGV on GCC 4.5.1, release build.
Thanks to ubitux@gmail.com for analysis of the problem. Bug 691831.
</pre>
<p>[base/gximag3x.c]</p>
</blockquote>
<p><strong><a name="2010-12-10T195053.800825Z"></a>
2010-12-10T19:50:53.800825Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of Smask_is_CIE flag in the code as well as removal of code that is no longer used in the soft mask rendering.</pre>
<p>[base/gdevp14.c base/gdevp14.h base/gstrans.c base/gstparam.h base/gxblend.c base/gstrans.h base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-12-10T132611.089772Z"></a>
2010-12-10T13:26:11.089772Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : More work towards DSC compliance
This is a resubmission of revision 11941, with some additional changes so that it
doesn't crash with pdfwrite on Linux systems.
We now pass around the 'type' of an object much more when writing. This is so that
we can emit "%%BeginResource/%%EndResource" comment pairs around the resources we write.
It is also required so that we *don't* write these comments around pages.
The code now emits %%BeginProlog, then writes the opdfread.ps procedure. It then writes
all the various resources used in the document, each with a reasonable DSC comment. Then
it writes %%EndProlog. After this come the page descriptions, each is written with a
%%Page: comment and a %%PageTrailer. Finally we write the %%Trailer, %%Pages
comment (NB we write %%Pages: (atend) in the header comments as we don't know how many
pages there will be until the end) and %%EOF.
The resources are mostly defined as being of type 'file', as most of them are not normal
PostScript resources. The DSC specification says under the %%BeginResource definition
(file note on p72) "The enclosed segment is a fragment of PostScript language code or
some other item that does not fall within the other resource categories" and so this
seems the best type to use for our purposes.
The output is now minimally DSC compliant, though there are a few other comments I'd
like to add if possible. Given the way the file is created we are always going to have a
large prolog, and that will need to be copied to all the pages if they are split
individually, in order to make sure that all the required resources are present.
Technically we could follow the resource chain and write %%IncludeResource comments,
at the page level at least, but this is probably more effort than it is realistically
worth.
Still need to add some more DSC comment types, and run some extensive testing.
No differences expected currently. Minimal testing with GSView suggests that the output
so far is DSC-compliant as-is.
</pre>
<p>[base/gdevpdfk.c base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfo.c base/gdevpdf.c base/gdevpdfb.c base/gdevpdtd.c base/gdevpdfc.c base/gdevpdfo.h base/gdevpdfe.c base/gdevpdfu.c base/gdevpdtw.c base/gdevpdfg.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-12-10T030640.558274Z"></a>
2010-12-10T03:06:40.558274Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Apply proper alpha blending to compute luminosity of mask per the PDF specification. Fixes bug 691822</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-12-09T165055.001506Z"></a>
2010-12-09T16:50:55.001506Z Ken Sharp</strong></p>
<blockquote>
<pre>
undo revision 11941 and 11942 as this causes seg faults on Linux.
</pre>
<p>[base/gdevpdfk.c base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfo.c base/gdevpdf.c base/gdevpdfb.c base/gdevpdtd.c base/gdevpdfc.c base/gdevpdfo.h base/gdevpdfe.c base/gdevpdfu.c base/gdevpdtw.c base/gdevpdfg.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-12-09T153910.142451Z"></a>
2010-12-09T15:39:10.142451Z Chris Liddell</strong></p>
<blockquote>
<pre>
A change to how we get the advance width of the glyph from Freetype.
Previously, we used the data in the glyph metrics structure, which
are scaled, and the undid the scaling. This is correct method for
everything except the horizontal and vertical advance distances.
We now get the two advance distances from the glyph structure,
and tell Freetype not to scale them, this avoids the rounding
errors that occur due to Freetype's fixed point number
format. It also saves the (less significant) error when we
previously unscaled the value, and saves a couple of
fairly large double precision calculations.
This does cause a number of changes in the regression suite,
the vast majority are pixel or so differences in glyph
positions. A very few are improvements.
Bugs 691778 and 691777
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-12-09T143526.421173Z"></a>
2010-12-09T14:35:26.421173Z Ken Sharp</strong></p>
<blockquote>
<pre>
fix pdfwrite
Revision 11941 had a typo in gdevpdf.c which spelled %%EndProlog with too many %
characters.
</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-12-09T142046.589285Z"></a>
2010-12-09T14:20:46.589285Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : More work towards DSC compliance
We now pass around the 'type' of an object much more when writing. This is so that
we can emit "%%BeginResource/%%EndResource" comment pairs around the resources we write.
It is also required so that we *don't* write these comments around pages.
The code now emits %%BeginProlog, then writes the opdfread.ps procedure. It then writes
all the various resources used in the document, each with a reasonable DSC comment. Then
it writes %%EndProlog. After this come the page descriptions, each is written with a
%%Page: comment and a %%PageTrailer. Finally we write the %%Trailer, %%Pages
comment (NB we write %%Pages: (atend) in the header comments as we don't know how many
pages there will be until the end) and %%EOF.
The resources are mostly defined as being of type 'file', as most of them are not normal
PostScript resources. The DSC specification says under the %%BeginResource definition
(file note on p72) "The enclosed segment is a fragment of PostScript language code or
some other item that does not fall within the other resource categories" and so this
seems the best type to use for our purposes.
The output is now minimally DSC compliant, though there are a few other comments I'd
lie to add if possible. Given the way the file is created we are always going to have a
large prolog, and that will need to be copied to all the pages if they are split
individually, in order to make sure that all the required resources are present.
Technically we could follow the resource chain and write %%IncludeResource comments,
at the page level at least, but this is probably more effort than it is realistically
worth.
Still need to add some more comments, and run some extensive testing.
No differences expected currently. Minimal testing with GSView suggests that the output
so far is DSC-compliant as-is.
</pre>
<p>[base/gdevpdfk.c base/gdevpdfm.c base/gdevpdfx.h base/gdevpdfo.c base/gdevpdf.c base/gdevpdfb.c base/gdevpdtd.c base/gdevpdfc.c base/gdevpdfo.h base/gdevpdfe.c base/gdevpdfu.c base/gdevpdtw.c base/gdevpdfg.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-12-07T141420.090005Z"></a>
2010-12-07T14:14:20.090005Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : more work towards DSC compliant ps2write output
This should now output pages in the correct order, with %%Page:/%%PageTrailer comments.
Still need to address Resource comments and definitions.
Committed so that a user can try out the code. No differences expected.
</pre>
<p>[base/gdevpdf.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-12-06T203042.463413Z"></a>
2010-12-06T20:30:42.463413Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691466. Problem was caused by the DeviceN alternate color space being Lab and the color values not being properly decoded to enable use of the lab ICC profile. A few progressions in the cluster data base with this commit.</pre>
<p>[base/gscdevn.c base/gdevp14.c base/gsicc.c]</p>
</blockquote>
<p><strong><a name="2010-12-06T163946.324844Z"></a>
2010-12-06T16:39:46.324844Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Bring JPX Luratech decoder up to the level of Jasper decoder.
1. Don't expand indexed colors when the PDF expects an indexed color space.
Fix rendering of the sample file attached to the bug.
2. Recognize indexed CMYK color space and accept the palettes that are shorter
than 256 colors. Fix comparefiles/Bug689362.pdf
3. Fix memory corruption that happened with 4-bit-per-pixel grayscale image
and pack the nibbles by PS rules. Fix comparefiles/Bug690174.pdf
Luratech now renders every file in our test suite correctly. We don't have
tests for low values of bits per plane. Bug 691816, customer 532.
</pre>
<p>[base/sjpx_luratech.c base/sjpx_luratech.h]</p>
</blockquote>
<p><strong><a name="2010-12-06T160730.222320Z"></a>
2010-12-06T16:07:30.222320Z regression</strong></p>
<blockquote>
<pre>
Limit clusterpush.pl bmpcmp jobs to 10 megs of changes per file in addition to the 100 changes per file limit.
</pre>
<p>[toolbin/localcluster/checkSize.pl toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-12-04T211237.349224Z"></a>
2010-12-04T21:12:37.349224Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691724. The issue was due to a bug in the code that creates equivalent ICC profiles from CIEABC types. This has a pile of progressions in the cluster data base. I stepped through them with bmpcmp and they appeared to be correct to me. I also altered the DefaultRGB PS color space to by in-sync with the D50 ICC sRGB based default that we are currently using. </pre>
<p>[base/gsicc_create.c Resource/ColorSpace/DefaultRGB]</p>
</blockquote>
<p><strong><a name="2010-12-04T120200.835522Z"></a>
2010-12-04T12:02:00.835522Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove some extraneous debugging code and variables left in accidentally with the commit
for revision 11932.
</pre>
<p>[base/gxfcopy.c]</p>
</blockquote>
<p><strong><a name="2010-12-04T115313.468703Z"></a>
2010-12-04T11:53:13.468703Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Hashing /Subrs didn't check all subrs.
Bug #691815 "ps2pdf fails on attached ps file"
The new code for hashing /Subrs, to improve font checking performance, stopped comparing
/Subrs between two fonts as soon as either font had an error getting a specific /Subr.
However it transpires that some fonts can have a null object for a /Subr (used to skip
Subrs that do nothing), and this returns a typecheck error. This led to two fonts which
differed only in the fact that one has (and uses) more Subrs than the other being
perceived as identical. This could lead to pdfwrite using the wrong font when
converting type 1 into CFF fonts and cause errors.
The code now continues checking remainign /Subrs if a typecheck error occurs, and as an
additional measure also checks the number of /Subrs in each font before deciding if
they are compatible.
</pre>
<p>[base/gxfont1.h base/gxfcopy.c]</p>
</blockquote>
<p><strong><a name="2010-12-03T092028.129989Z"></a>
2010-12-03T09:20:28.129989Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Work around Acrobat bug with /Encoding
Bug #691809 "Regression: some PDF files produced by GhostPCL r11913 cannot be read by
Acrobat 8.2.5"
Acrobat 4 & 8 have a peculiar bug, if a type 3 font (may affect other font types, but
it seems unlikely) has a WinAnsiEncoding, and no /Differences, then text set in that
font is not displayed by these versions of Acrobat. This may be limited to glyphs
which consist of a bitmap only.
Forcing the emission of a /Differences array for each glyph used results in these
versions of Acrobat displaying correctly (even though the 'differences' are in fact the
standard Encodings).
This does seem to be quite definitely an Acrobat bug which we are working around, no
other PDF consumer seems to have a problem with these files.
</pre>
<p>[base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-12-02T181653.794801Z"></a>
2010-12-02T18:16:53.794801Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Remove unused variable.</pre>
<p>[base/gxblend.c]</p>
</blockquote>
<p><strong><a name="2010-12-02T170945.886919Z"></a>
2010-12-02T17:09:45.886919Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691803. This provides a fix for cases where we have soft masks embedded within other soft masks. Such rare cases are detected and when they occur and the soft mask type is luminosity, the alpha channel of the soft mask buffer is pre-blended with the luminosity data to give the proper mask values. There appears to a be change in fts_33xx.xps from this commit. However, it appears to me that this file was not being rendered properly, compared to the windows xps viewer, prior to the commit either. I will file a bug related to this issue.</pre>
<p>[base/gdevp14.c base/gdevp14.h base/gxblend.c base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-12-02T095828.497029Z"></a>
2010-12-02T09:58:28.497029Z Ken Sharp</strong></p>
<blockquote>
<pre>
minor bug, warning message point to incorrect source directory.
Bug #691811 "incorrect error message"
Simply alter the source path in a warning.
No differences expected.
</pre>
<p>[psi/imain.c]</p>
</blockquote>
<p><strong><a name="2010-12-01T164120.443841Z"></a>
2010-12-01T16:41:20.443841Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Additional debug code to help in soft mask problems.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-12-01T051655.267986Z"></a>
2010-12-01T05:16:55.267986Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that the blend compositor actions are only removed from the clist compositor queue if they are completely over-ridden by a subsequent compositor action. Previously no check was made to see that the same settings were being up-dated by the new action.
This fixes two P1 customer bugs and has several progressions in the test suite but one file Bug691783.pdf has both regressions and progressions. I will get the page 18 regressions into a bug.</pre>
<p>[base/gdevp14.c base/gxclimag.c base/gxcldev.h]</p>
</blockquote>
<p><strong><a name="2010-11-29T211232.441057Z"></a>
2010-11-29T21:12:32.441057Z regression</strong></p>
<blockquote>
<pre>
Additonal improvement in the cluster's ability to be able to recover from machines going down late in the run. Machines are put into a standby state when there are no jobs left to send and they have processed all of their jobs until all machines are in the standby state, then all the machines are released from standby and can upload their logs
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-11-29T185503.883221Z"></a>
2010-11-29T18:55:03.883221Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for issues with the default ICC directory. The PS interpreter now checks if the default name is OK before setting to LIBPATH/iccprofiles . Also, the current name is first tested before we prepend with the directory name, to avoid doing double applications of the profile directory. Thanks to Ray for the fixes in gs_lev2.ps</pre>
<p>[base/gsicc_manage.c Resource/Init/gs_lev2.ps]</p>
</blockquote>
<p><strong><a name="2010-11-29T183038.060525Z"></a>
2010-11-29T18:30:38.060525Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691748. The idle optimizations for the softmask are not really valid since we have since created the proper bounding box for the soft mask in a previous commit. In the cluster push testing, some files came back as having problems with the psdcmyk device. Checking, it appears that these issues are not related to this fix but are another bug. I am working on this now and will submit a bug.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-11-29T144517.958276Z"></a>
2010-11-29T14:45:17.958276Z Chris Liddell</strong></p>
<blockquote>
<pre>
Due to "lazy evaluation" of softmask groups, the graphics state can change between
the creation of the softmask group form, and when it is executed.
We'll now save the gstate and (most of) the ExtGState when the softmask group is
defined, and then set both before evaluting the object. A few ExtGState entries
are not easily set directly, so those are missing.
This partially fixes Bug 691157, and fixes Bugs 690351, 691348 and 690535. It
also resolves the remaining issue with 690535.
Cluster differences as follows:
Bug690535.pdf (noted above)
Bug690022.pdf, Bug690115.pdf, Bug690208.pdf, fts_26_2601.pdf and
fts_26_2603.pdf are all improved when compared to Acrobat.
A few xps->pdf conversions thru pdfwrite render differently, but they were
wrong before, and slightly differently wrong now. I believe the PDFs are
"incorrect".
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-11-29T143525.792013Z"></a>
2010-11-29T14:35:25.792013Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Type 3 font capture and charpath operations
Bug #691033 "Regression: 14-01.PS fails with pdfwrite"
The first time a type 3 glyphis encountered we start a charproc accumulatiopn and
exit to run the BuildChar/BuildGlyph. On return to the text processing, if the
operation was a charpath, this would take precedence over closing the accumulator which
would lead to significant later problems.
Modified the code path to allow for the charproc accumulation to finish and if this is
a charpath operation to rerun the operation using the newly captured glyph program.
Note this can only occur if the first operation on a given glyph in a type 3 font is
for a charpath.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-11-27T182343.131547Z"></a>
2010-11-27T18:23:43.131547Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : pointers not marked for garbage collection
Bug #691779 "SegFault with pdfwrite and more than one cid font"
pdfwrite does lazy creation of Identity ToUnicode CMaps for inclusion in output PDF
files (2 CMaps, one for horizontal and one for vertical writing). These pointers were
not marked for the garabge collector, but were stored directly in the pdf device
structure.
The CMaps were assigned to a pdfont resource type, where the pointer to the CMap *was*
marked for the garbage collector. This meant that if the pdfont resource was moved as
a result of garbage collection, the CMap could be moved as well. This left a dangling
pointer in the device structure.
If another font resource required an identity CMap then the now garbage pointer from
the device structure would be assigned. If the new font resource was moved as a result
of garbage collection, then the attempt to relocate the CMap would fail and cause a
crash.
Fixed by marking the pointers in the device structure for the garbage collector.
No differences expected.
</pre>
<p>[base/gdevpdfx.h]</p>
</blockquote>
<p><strong><a name="2010-11-26T105951.673656Z"></a>
2010-11-26T10:59:51.673656Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update the FAPI/UFST interface to correctly scale the points when retrieving an outline.
Since FAPI now expects points in 32.32 fixed point form.
</pre>
<p>[psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2010-11-25T210322.187304Z"></a>
2010-11-25T21:03:22.187304Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for bug 691785.
The bitmap mask clip device has a long standing bug when attempting to clip
a bitmap through a 1bpp bitmap (gxclipm.c, clip_runs_enumerate, line 283ish).
The code detects runs of 'on' pixels in the mask. It then keeps the last run
it found in a 1 place buffer (called 'previous'). This therefore represents
the previous run found. Whenever we find a new run, we check to see if we can
add it to the previous run to try to form a larger (vertical) rectangle. If
we can't, we should write the previous rectangle out and remember the current
one.
Unfortunately the code was writing the current rectangle out, rather than the
previous one. This has the effect of losing the first run on most lines out.
130 differences shown in cluster testing; confirmed in bmpcmp as
progressions.
</pre>
<p>[base/gxclipm.c]</p>
</blockquote>
<p><strong><a name="2010-11-25T091213.562173Z"></a>
2010-11-25T09:12:13.562173Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove a now-unused variable to silence a compiler warning.
No differences expected.</pre>
<p>[base/gdevpdfb.c]</p>
</blockquote>
<p><strong><a name="2010-11-24T221834.999818Z"></a>
2010-11-24T22:18:34.999818Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Style clean up of gdevp14.c for white space, comments, long lines and dead code.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-11-24T174439.808162Z"></a>
2010-11-24T17:44:39.808162Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that we handle the \B command properly when we have transparency. The stroke should be drawn in a knock-out fashion rather than blended with the fill. This was achieved by adding in the push of a knockout transparency group for the stroke operation. The opacity for that group had to be 1 rather than what ever the current graphic state was (otherwise you end up with the opacity applied twice). That change revealed an issue in the clist when a transparency group is pushed where the opacity for the pdf14 clist device was being altered without having the information passed into the clist. Fixing that required a few changes to make sure that the blend parameter changes for the transparency group end up written in the same bands as the group push rather than all bands like the normal blend parameter change compositor action does. A few changes were needed in the clist compositor writing code to make sure that this special blend parameter change did not push a new cropping item on the cropping stack. This commit results in a lot of progressions. However, the cluster push revealed a couple files fts_06_0608.pdf.pdf.ppmraw for example, which may have an issue. These are being checked and if found to be an issue a new bug report will be filed.</pre>
<p>[Resource/Init/pdf_ops.ps base/gdevp14.c base/gxclimag.c base/gxblend.c base/gstrans.h base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-11-24T162125.266704Z"></a>
2010-11-24T16:21:25.266704Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : attempt to make PCL bitmap fonts into searchable type 3
In general pdfwrite only resorts to making a bitmap from a font when it cannot handle
the original font type, which is rare for PostScript, PDF and XPS. However all PCL
bitmap fonts are handled this way.
When this happens, the bitmap is stored into a general type 3 font, a 'bucket' where all
such glyphs are stored. When this font is full, a new one is started and so on. The text
stored in the PDF page stream references the correct type 3 font, but usually the
character code will be unrelated to the original character code.
For PCL bitmap fonts pdfwrite actually starts by creating a type 3 font to hold the
PCL bitmaps, but doesn't use it. This patch tries to store the bitmaps in the type
3 font where possible, using the character code from the original PCL document.
Although this will not create searchable text in the general case, it does seem that
there are a good number of PCL documents which do use an ASCII encoding and so will
produce a searchable PDF file.
There are several caveats:
1) This only works at all with cached glyphs. Glyphs which are too big to fit in the
cache are instead rendered as images, not text at all. The cache has a compiled limit
of 2500 for the height of the bitmap, but this needs to take the resolution which is
being used for rendering into account. The default resolution for pdfwrite is 720 dpi
which means that bitmaps larger than ~125 rows will not be cached. (see below for more)
2) Certain kinds of text operations can't be handled at all; any case where a character
code does, or may, exceed 256 cannot be handled. These cases are handled as before by
placing in a special font with a unique character code and called from there.
3) If the font matrix is not the identity we cannot handle the glyphs, as the bitmaps
stored in the cache already include any transformations present in the Fontmatrix and
we can't undo those transformations to the bitmap. In practice this means that if the
canvas orientation (not the media) is not portrait, then this will cause the text to
be non-searchable.
4) The Acrobat searching algorithm does not work very well with this kind of text. In
our case each glyph is individually positioned on the page rather than being written
as a continuous stream of characters. Acrobat seems unable to find more than about
three glyphs in succession this way.
There is no further scope for improvement in pdfwrite as far as I can see. The only
way to handle this better would be to make changes in the PCL interpreter so that the
bitmap PCL font is created as an actual font (probably a TrueType). This would mean that
the text would be stored in the PDF file as real text, the FontMatrix would not be a
problem, caching would not be an issue. This is probably a large project, but I suspect
less of a pain than this enhancement was.
Caching
========
In gsfont.c is a #define:
#define blimit_LARGE 2500 /* blimit/upper - max size of a single cached char */
Increasing this will allow larger glyphe to be cached. There is another limit in
gxchar.c:
static const uint MAX_TEMP_BITMAP_BITS = 80000;
This should not be altered. Care should be exercised if increasing the maximum size
of cached characters as these are emitted in the PDF file as inline images in a type
3 font. The PDF spec recommends that inline images should not exceed 4Kb and some
consumers may not be able to cope with images which exceed this limit.
</pre>
<p>[base/gdevpdfb.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-11-23T160144.675647Z"></a>
2010-11-23T16:01:44.675647Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix chunk_free_all_remaining typo so that mulitple object chunk list gets
traversed and freed first, then the single object chunk list. Thanks to
Norbert Janssen for spotting this. Bug 691791.
</pre>
<p>[base/gsmchunk.c]</p>
</blockquote>
<p><strong><a name="2010-11-23T153628.976110Z"></a>
2010-11-23T15:36:28.976110Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for Bug 691783. A tiny tweak to that submitted by Sebastian Rasmussen.
Many thanks!
When closing down render threads we check to see if the underlying
allocator had to be wrapped to make it thread safe. If it was, we free the
wrapped version too. Unfortunately the test to see "did we have to wrap it"
was accessing memory we'd just freed.
The fix is to move the code that finds the underlying allocator to before
we free the memory.
Cluster testing shows no differences.
</pre>
<p>[base/gxclthrd.c]</p>
</blockquote>
<p><strong><a name="2010-11-23T123356.433376Z"></a>
2010-11-23T12:33:56.433376Z Robin Watts</strong></p>
<blockquote>
<pre>
In an effort to understand the shading code I put together a 'map' of the
function calls as comments. This has been hanging around my harddisc for ages
and I'm now committing it to avoid it being lost.
Comment change only - no cluster changes expected.
</pre>
<p>[base/gxshade1.c]</p>
</blockquote>
<p><strong><a name="2010-11-23T084610.878077Z"></a>
2010-11-23T08:46:10.878077Z Ken Sharp</strong></p>
<blockquote>
<pre>
Revert revision 11901.
Because of the way that PCL draws bitmap fonts directly to the cache there is no
possibility of making uncached glyphs work properly. Also the code for cached glyphs is
much too forgiving and attempts to add glyphs which cannot be handled. Finally there is
no provision for type 3 fonts with non-identity matrices. Because the bitmaps in the
cache already have the scaling/rotation/shearing and clipping applied, we cannot have
a type 3 font with a non-identity matrix.
The code will be revised and recommitted.
</pre>
<p>[base/gdevpdti.h base/gdevpdfx.h base/gdevpdfb.c base/gdevpdt.h base/gdevpdti.c base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-11-20T225509.754787Z"></a>
2010-11-20T22:55:09.754787Z regression</strong></p>
<blockquote>
<pre>
Improved the cluster code's ability to be able to recover from machines going down late in the run.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-11-18T192131.928351Z"></a>
2010-11-18T19:21:31.928351Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure we set SHARE_FT correctly when we end up using the system installed
freetype library.
Bug 691776.
No cluster differences expected.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-11-18T005220.670104Z"></a>
2010-11-18T00:52:20.670104Z regression</strong></p>
<blockquote>
<pre>
Two changes to the local cluster system:
1. A warnings check is now performed on the code under test (both commit
and user tests).
2. In order to better recover from nodes going offline near the end
of a cluster run nodes are paused after all their jobs have been sent.
This way the jobs from an unresponsive node that isn't detected until
all jobs have been distributed can be reassigned.
Also some minor cleanup (dividing the clustermaster log into .log and
.dbg files, supressing some uneeded debugging messages, etc.)
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-11-16T224926.969992Z"></a>
2010-11-16T22:49:26.969992Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for PCL that uses the chunk allocator (which is not inherently thread safe)
when NumRenderingThreads > 1. Adds 'is_thread_safe' to the gs_memory_status so
that clist_setup_render_threads can wrap an unsafe allocator in a locking wrapper.
Also restore the optimizations to the chunk memory allocator to keep two lists
(one for multiple object chunks and another for single object chunks) and fixes
the chunk_free_object so that the correct list is chosen. Even if not found on
the selected list, the other list will be scanned and a diagnostic printed if
the wrong chunk list was selected (belt and suspenders). My testing with the
lj*.prn files did not show this problem.
</pre>
<p>[base/lib.mak base/gsmemlok.c base/gsmchunk.c base/gxclthrd.c base/gsmalloc.c base/gsmemret.c base/gsalloc.c base/gsmemory.h base/gsmemraw.h]</p>
</blockquote>
<p><strong><a name="2010-11-16T144831.620067Z"></a>
2010-11-16T14:48:31.620067Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that the initial gray color spaces in the graphic state are properly color managed. Previously, if we immediately started drawing in the document with a gray color space, the initial un-managed color space in the graphic state was used and this was not associated with the specified gray source profile. With this fix we initialize the stroking and filling color spaces to be ICC color spaces associated with the profile for default_gray in the icc manager. Also a fix for an issue in littleCMS. When merging profiles, littleCMS will often do an optimization where it approximates 1-D LUTs with an exponent operation for use during merging and interpolation of the profile structures. If the curve is very steep, as in like a step function, it should not do this approximation. This was an issue when we had profiles that provided thresholding operations with their 1-D LUTs. I spoke with Marti about this issue a couple weeks ago. This commit will create over 6000 differences in the regression test. I reviewed many of these and they all are minor differences in gray colors as expected. These are differences where we were drawing unmanaged colors.</pre>
<p>[base/gsicc_manage.c psi/zusparam.c base/gsicc_manage.h lcms/src/cmsgmt.c]</p>
</blockquote>
<p><strong><a name="2010-11-16T143357.040738Z"></a>
2010-11-16T14:33:57.040738Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : attempt to make PCL bitmap fonts into searchable type 3
In general pdfwrite only resorts to making a bitmap from a font when it cannot handle
the original font type, which is rare for PostScript, PDF and XPS. However all PCL
bitmap fonts are handled this way.
When this happens, the bitmap is stored into a general type 3 font, a 'bucket' where all
such glyphs are stored. When this font is full, a new one is started and so on. The text
stored in the PDF page stream references the correct type 3 font, but usually the
character code will be unrelated to the original character code.
For PCL bitmap fonts pdfwrite actually starts by creating a type 3 font to hold the
PCL bitmaps, but doesn't use it. This patch tries to store the bitmaps in the type
3 font where possible, using the character code from the original PCL document.
Although this will not create searchable text in the general case, it does seem that
there are a good number of PCL documents which do use an ASCII encoding and so will
produce a searchable PDF file.
There are 3 parts to this enhancement:
1) Cached glyphs. When the current font is a type 3 font, and the text operation is
one which might result in an ASCII character code, and we can manufacture a glyph name
for the resulting character code, store the glyph in the type 3 font (rather than the
general 'bucket' font), using the character code and glyph name. Glyphs which can't
be handled this way for any reason are still stored in the general recipient 'bucket'
font.
2) Uncached glyphs. Glyphs which are too large for the cache are rendered as images. The
image handling code has been extensively reworked to try and detect this situation and,
if the criteria for cached glyphs above also holds true, to store the image as a glyph
in a type 3 font and draw text in the PDF content stream instead of an image. Images
which do not fulfil these criteria are still handled as images.
3) Recached glyphs. If the glyph cache fills up, glyphs will be flushed to make space.
If a glyph is then reused we go through the caching case again (for large glyphs which
are uncached we end up repeating the code every time the glyph is used). We now attempt
to spot this by determining that the glyph in the font has already been used, and rather
than storing a new copy of the glyph, as the old code did, we simply emit text into
the page content stream.
Note that there is a recommendation that inline images in PDF should not exceed 4KB.
Since CharProcs must use inline images, bitmaps which exceed this size will be rendered
as images, not text (they will also exceed the cache size and so are always rendered
uncached).
</pre>
<p>[base/gdevpdti.h base/gdevpdfx.h base/gdevpdfb.c base/gdevpdt.h base/gdevpdti.c base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-11-16T135836.196330Z"></a>
2010-11-16T13:58:36.196330Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Prefer character codes < 256 during construction of /CharStrings and
/Encoding attributes of a symbolic Type 42 font. Bug 691753.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-11-15T183050.012584Z"></a>
2010-11-15T18:30:50.012584Z Henry Stiles</strong></p>
<blockquote>
<pre>
reverts 11877 which needs a bit more work</pre>
<p>[base/gsmchunk.c]</p>
</blockquote>
<p><strong><a name="2010-11-15T091150.168011Z"></a>
2010-11-15T09:11:50.168011Z Chris Liddell</strong></p>
<blockquote>
<pre>
Fix a memory leak when interpolating image data. We were allocating a colour
management buffer for every interpolated scan line from the currently
buffered image data, but only releasing the last one.
We'll now allocate the buffer (and initialise the buffer desc structure)
only once, and free the buffer once when we're done.
No cluster differences expected.
Bug 691772
(NOTE: the test file for this still appears to go into an infinite loop
during interpolation).
</pre>
<p>[base/gxiscale.c]</p>
</blockquote>
<p><strong><a name="2010-11-14T211615.954493Z"></a>
2010-11-14T21:16:15.954493Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Make a macro for the default ICC profile name and set it in the proper locations.</pre>
<p>[base/gsicc_manage.c psi/zusparam.c base/gsicc_manage.h]</p>
</blockquote>
<p><strong><a name="2010-11-06T153618.568592Z"></a>
2010-11-06T15:36:18.568592Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for a string handling bug that occurred when the device ICC profile name was smaller than the default device profile name. Also, additional code to ensure that the ICC path and the device profile name are properly combined when needed. Finally, if the device profile name is given as an absolute name the icc directory is not added to it.</pre>
<p>[base/lib.mak base/gsdparam.c base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-11-05T221205.617541Z"></a>
2010-11-05T22:12:05.617541Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that when compositing with tags, the tos tag data has no effect on the nos tag data if the pixel alpha value is 0. Fixes Bug 691752.</pre>
<p>[base/gxblend1.c]</p>
</blockquote>
<p><strong><a name="2010-11-05T155335.817121Z"></a>
2010-11-05T15:53:35.817121Z Chris Liddell</strong></p>
<blockquote>
<pre>
In the event that we've decided not to cache a glyph generated by FAPI, we
need to make sure that zsetcachedevice2() doesn't opt to try to cache said
glyph. To do that we were setting in_cachedevice to CACHE_DEVICE_NOT_CACHING
before calling zchar_set_cache(), and setting it back to its previous value
on return. Unfortunately, a font with a CDevProc causes the call to
zsetcachedevice2() to be delayed until after execution of the CDevProc, so
in_cachedevice was (probably) no longer set to CACHE_DEVICE_NOT_CACHING.
Amongst other effects, this caused some anti-aliased glyphs to be render
with incorrect, scaling as well as the potential for marking glyphs to have
empty (but valid) cached bitmaps.
Expected cluster differences: fts_23_2306.pdf at 72dpi shows some (benign)
pixel differences on the pattern filled glyphs - this is actually a behaviour
progression, as it is caused by cache being properly bypassed for an uncached
glyph, rather than the glyph being rendered uncached but the cache receiving
an emtpy glyph.
Bug 691750.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-11-04T191308.201769Z"></a>
2010-11-04T19:13:08.201769Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Increase in curve size to enable sharper cut offs (i.e. no interpolation of curve points) for thresholding profiles. </pre>
<p>[toolbin/color/icc_creator/ICC_Creator/icc_create.cpp]</p>
</blockquote>
<p><strong><a name="2010-11-03T204407.993086Z"></a>
2010-11-03T20:44:07.993086Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix to avoid potential crash instead of error if an improper file name is given for the device ICC profile.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-11-02T171624.985382Z"></a>
2010-11-02T17:16:24.985382Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove some unnecessary, and detrimental endian related code
in the GS/lcms interface.
Bug 691696
No cluster differences expected.
</pre>
<p>[base/gsicc_cache.c base/gsicc_littlecms.c]</p>
</blockquote>
<p><strong><a name="2010-11-01T235927.933765Z"></a>
2010-11-01T23:59:27.933765Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Performance fix so that the md5 code is not used to hash the rendering conditions for the icc link. </pre>
<p>[base/gsicc_cache.c base/gscms.h]</p>
</blockquote>
<p><strong><a name="2010-10-31T032619.022477Z"></a>
2010-10-31T03:26:19.022477Z Ray Johnston</strong></p>
<blockquote>
<pre>
Optimize large allocations in the chunk memory manager maintaining separate lists
for chunks with only a single block (that will never have any free space) from
the multiple object chunks which are searched for free space when the requests
are for small objects. Testing with a 28 files benchmark suite shows improvements
against rev 11876 by over 9% (real time), to get within 2% of version 8.71.
(testing 600 dpi ppmraw to /dev/null on peeves).
</pre>
<p>[base/gsmchunk.c]</p>
</blockquote>
<p><strong><a name="2010-10-30T034036.798714Z"></a>
2010-10-30T03:40:36.798714Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Check for negative object nunbers and consider such objects as null.
Bug 691740, customer 384.
</pre>
<p>[Resource/Init/pdf_base.ps]</p>
</blockquote>
<p><strong><a name="2010-10-29T234030.279741Z"></a>
2010-10-29T23:40:30.279741Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that the image clues array is dynamically allocate only when needed as opposed to being a static array in gx_image_enum. clues is used only in the case of monochrome or indexed with bps <= 8 and masked images. Another optimization to do is to make it allocate only 2 entries for the masked case rather than all 256.</pre>
<p>[base/gxipixel.c base/gxidata.c base/gximage.h]</p>
</blockquote>
<p><strong><a name="2010-10-29T193548.071618Z"></a>
2010-10-29T19:35:48.071618Z Henry Stiles</strong></p>
<blockquote>
<pre>
Revision 10823 removed an optimization to strength reduce the logical
operation when rendering an image - the optimization in fact was
incorrect (see the bug referenced in the commit entry #691147) however
the optimization is correct and gives us a good speedup if the current
color is black. This is due to the peculiarities of the pcl
transparency model which only effects the opacity/transparency of
white.
</pre>
<p>[base/gxipixel.c]</p>
</blockquote>
<p><strong><a name="2010-10-29T163741.020300Z"></a>
2010-10-29T16:37:41.020300Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Added features and fixed bugs to enable creation of thresholding ICC profiles.</pre>
<p>[toolbin/color/icc_creator/ICC_Creator/icc_create.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/resource.h toolbin/color/icc_creator/ICC_Creator/ICC_Creator.rc toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp]</p>
</blockquote>
<p><strong><a name="2010-10-29T090542.895454Z"></a>
2010-10-29T09:05:42.895454Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix : DeviceN not permitting multiple identical inks
Bug #691740
The DeviceN checking code did not permit multiple inks to have the same name. The
comment in the code says this is not permitted, but I am unable to find any
documentation in any of the specifications in support of this, and other interpreters
(including CPSI) do not make this restriction.
Restriction removed, and also the 'continuation' procedures used for much of the colour
space parsing/validation have been given names so that future error messages use these
instead of printing the function address.
No differences expected.
</pre>
<p>[base/gscdevn.c psi/zcolor.c]</p>
</blockquote>
<p><strong><a name="2010-10-28T204114.761110Z"></a>
2010-10-28T20:41:14.761110Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Addition in profile creation tool to create Gray ICC profiles with abrupt thresholds. Needed for solution to bug 691737</pre>
<p>[toolbin/color/icc_creator/ICC_Creator/icc_create.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/resource.h toolbin/color/icc_creator/ICC_Creator/ICC_Creator.rc toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp]</p>
</blockquote>
<p><strong><a name="2010-10-28T195751.569853Z"></a>
2010-10-28T19:57:51.569853Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for issues that arise when the embedded icc profile is the same as one of the default icc profiles and we are using pdfwrite. This should fix 691731.</pre>
<p>[base/gsicc_create.c base/gsicc_manage.c base/gscms.h base/gsciemap.c]</p>
</blockquote>
<p><strong><a name="2010-10-28T190245.723574Z"></a>
2010-10-28T19:02:45.723574Z Robin Watts</strong></p>
<blockquote>
<pre>
Marcos points out that tiffscaled with -rR -dDownScaleFactor=D can produce
different sized images than just using -r(R*D) and a normal tiff device.
(Bug 691730). I'll concede he's probably right that this isn't ideal.
The difference was caused by me rounding the size up on a downscale so that
no information is lost.
This patch removes the rounding up. We can always add it again later if
we actually find a file where it makes a difference.
No expected cluster differences.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2010-10-28T150037.200667Z"></a>
2010-10-28T15:00:37.200667Z Chris Liddell</strong></p>
<blockquote>
<pre>
Work around the "no rule to make target" with tif_config.h (actually it
affects tiffconf.h, too). This involves the rather unpleasant requirement
of calling a configure script (for libtiff) from a makefile (the top level
makefile for the ghostpdl builds). It must be done there, before the PDL
specific makefiles start setting CFLAGS, which confuses the configure.
Also, update the GS dist-clean and GhostPDL clean targets to remove
the two tiff header files generated during the tiff configure.
THIS IS NOT A FIX! It really is a "workaround".
Bug 691700.
</pre>
<p>[/trunk/ghostpdl/Makefile base/Makefile.in]</p>
</blockquote>
<p><strong><a name="2010-10-28T061253.429268Z"></a>
2010-10-28T06:12:53.429268Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Code to speed up cases where a file contains a lot of small images that are embedded in the clist as high level images. Previously, for every high level image, the serialized ICC source data was read out of the clist at a different clist file location, which required a fseek, a fread and then another fseek. This occurred even if all the images shared the same profile. The cost of file i/o for this can become significant if we have a lot of images. With this commit, the reading of the profile data is delayed and will only occur if a link using that profile does not already exist in the link cache. </pre>
<p>[base/gxclpath.c base/gxclimag.c base/gxclist.h base/gxclrast.c]</p>
</blockquote>
<p><strong><a name="2010-10-28T041255.507828Z"></a>
2010-10-28T04:12:55.507828Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added dependencies to devs.mak to allow minftrsz.c to compile with concurrent make.
</pre>
<p>[base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-10-27T233042.045125Z"></a>
2010-10-27T23:30:42.045125Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix compiler warning.
No expected differences.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2010-10-27T194801.087645Z"></a>
2010-10-27T19:48:01.087645Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new version of tiffscaled device, that supports -dMinFeatureSize=2.
(Solves bug 691718).
Also add support for AdjustWidth in tiffscaled device.
Also update documentation.
No expected differences.
</pre>
<p>[base/gdevfax.h base/gdevtifs.c base/minftrsz.c base/gdevtifs.h base/gdevtsep.c base/minftrsz.h doc/Devices.htm base/gdevfax.c base/gdevtfnx.c base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-10-27T124549.361211Z"></a>
2010-10-27T12:45:49.361211Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 691727.
Black and White Tiff based devices were not respecting the AdjustWidth
parameter. Fax based devices were applying it regardless, non faxed based
devices were not applying it at all. The documentation says they should
all default to applying it, but be controlled by the option.
In this commit, we change so that all black and white tiff based devices
(except tiffscaled) respect this parameter. We default to applying it in
fax devices, and not applying it in non-fax devices, so default behaviour
does not change. We also update the docs.
No expected differences.
</pre>
<p>[doc/Devices.htm base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-10-27T111838.076346Z"></a>
2010-10-27T11:18:38.076346Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix Bug 691726, memory corruption in tiffscaled device when
(resolution % DownScaleFactor) != 0.
The problem specifically occurred when the page had 'stray' lines at the end.
The code I had written to cope with this was calling the Tiff writing code
with the wrong row number, causing the tiff lib to try to extend the buffer.
This, it seems, is a bad thing.
The miscalculation is fixed here, and the bug goes away.
No expected cluster differences.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T235413.691521Z"></a>
2010-10-26T23:54:13.691521Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bug reported by Norbert Janssen. Inaccuracies in the floating point maths
can cause 'no-scales' to look like 'downscales', and so high level images are
skipped.
This shouldn't actually matter in most cases as the two rendering paths should
give the same results, but when people hook the clist for their own purposes
this can cause problems. The workaround is to introduce a fudge factor and to
accept very slight downscales.
Thanks to Norbert for the first version of this patch.
Minimal differences in cluster testing due to bug 691697.
</pre>
<p>[base/gxclimag.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T203032.970049Z"></a>
2010-10-26T20:30:32.970049Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for RGB byte order expected by new CMM compared to imdi libray.</pre>
<p>[base/gdevwts.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T202245.373077Z"></a>
2010-10-26T20:22:45.373077Z Robin Watts</strong></p>
<blockquote>
<pre>
Silence gcc warning.
</pre>
<p>[base/gdevfax.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T194135.752819Z"></a>
2010-10-26T19:41:35.752819Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of accidental commit of my own path for the wts halftone planes.
</pre>
<p>[base/gdevwts.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T185049.267717Z"></a>
2010-10-26T18:50:49.267717Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that wtsimidi device works again. I had the device using the wrong structure for maintaining its device link that maps the contone RGB data to CMYK.</pre>
<p>[base/gdevwts.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T181015.277289Z"></a>
2010-10-26T18:10:15.277289Z Robin Watts</strong></p>
<blockquote>
<pre>
Add Rays MinFeatureSize magic. Ray had originally integrated this into the
fax devices, which had the effect of working for the tiff based fax
devices too. Unfortunately the reworking of the tiff based devices to
use libtiff meant that the output function changed, causing the patch to
stop working with those devices.
Here we split the new code out into a separate .c/.h pair, so it can be
used by both tiff and fax devices, and hook it up to all the black and
white tiff devices (except tiffscaled) and to the fax based ones.
We also document the device (including it's current limitations).
No expected changes.
</pre>
<p>[base/gdevfax.h base/gdevtifs.c base/minftrsz.c base/gdevtifs.h ghostscript.vcproj base/minftrsz.h base/gdevtsep.c doc/Devices.htm base/gdevfax.c base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-10-26T141424.874268Z"></a>
2010-10-26T14:14:24.874268Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Generate fully opaque mask when /SMaskInData attribute is specified in PDF
but JPX stream has no opacity channel. Fix the case of missing images on
Luratech decoder in fts_17_1717.pdf and fts_17_1718.pdf.
</pre>
<p>[base/sjpx_luratech.c]</p>
</blockquote>
<p><strong><a name="2010-10-25T165126.885213Z"></a>
2010-10-25T16:51:26.885213Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Change the interface to Luratech JPX library to extract image data or
opacity depending on the alpha parameter.
</pre>
<p>[base/sjpx_luratech.c]</p>
</blockquote>
<p><strong><a name="2010-10-25T155910.973330Z"></a>
2010-10-25T15:59:10.973330Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix pdfwrite : Do not emit DeviceRGB/CMYK as an Alternate when disallowed by PDF/A or X
If a /Separation colour space had an /Alternate of /DeviceRGB or DeviceCMYK it was not
checked to see if it was valid for PDF/A or PDF/X production, if these were set.
As a result invalid PDF/A or PDF/X files could be written.
The code now tests these flags and if the base space is not valid, converts to an
appropriate base space by; sampling the tint transform function at 0 and 1, converting
the resulting colours to the appropriate base space (using the Red Book methods for
DeviceRGB/DeviceCMYK conversion), creating a new linear interpolation function for
the new base space, using the converted sampled values for /Co and C1.
The new base space is then written to the PDF file.
No differences expected as we don't test PDF/A and PDF/X on the cluster.</pre>
<p>[base/gdevpdfc.c]</p>
</blockquote>
<p><strong><a name="2010-10-25T062322.846885Z"></a>
2010-10-25T06:23:22.846885Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Move initialization of state->alpha flag to the place where it has effect.
</pre>
<p>[base/sjpx_luratech.c]</p>
</blockquote>
<p><strong><a name="2010-10-25T043951.229054Z"></a>
2010-10-25T04:39:51.229054Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Merge rev. 11790, 11795, 11802, 11805, 11809, 11810, 11812, 11813, 11818
into the trunk. JPX files without SMaskInData are now rendered correctly.
Other JPX files are rendered incorrectly. Trunk PostScript code and Jasper
use separate access to opacity and data. Luratech is still using pixel-
interleaved format.
</pre>
<p>[base/sjpx_luratech.c base/sjpx_luratech.h psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-10-25T041646.177854Z"></a>
2010-10-25T04:16:46.177854Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Rev. 11785 have introduced double decrement of the reference counter in
gx_pattern_cache_free_entry() that caused warnings with -Z? option and
SEGV on Windows, esp. with Luratech JPX library. This patch resolves
all warnings and crashes. Bug 691714.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-10-24T222355.448411Z"></a>
2010-10-24T22:23:55.448411Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement /SMaskInData using images with /SMask and separate streams for the
mask and image data. Our /ImageType 103 seems to have issues and cannot be
used directly. /JPXDecode filter now takes /Alpha parameter, which controls
whether opacity or image data stream is extracted.
This commit introduces a PS error on pdfwrite device in fts_18_1805.pdf
and a few other files with the same image. However, this image has never
been combined with SMask before and the actual bug may predate the commit.
Bug 691489, customer 532.
</pre>
<p>[base/sjpx.c Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-10-23T223817.069244Z"></a>
2010-10-23T22:38:17.069244Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Move checking for /JPXDecode filter in front of checking for missing color
spaces to handle /SMaskInData attribute in all cases. Fix handling of filter
arrays and a wrong name /DecodeParms.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-10-22T092910.157074Z"></a>
2010-10-22T09:29:10.157074Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add a debug-clean target (which in turn calls the existing debugclean target)
to be more consistent with the ghostpdl langauge builds.
No cluster differences expected.
</pre>
<p>[base/Makefile.in]</p>
</blockquote>
<p><strong><a name="2010-10-22T075212.054756Z"></a>
2010-10-22T07:52:12.054756Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove a spurious space that was causing a compiler warning, and remove an unused
function, also causing a compiler warning.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-22T063849.083740Z"></a>
2010-10-22T06:38:49.083740Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Make oforce_recursive more robust in preparation to SMaskInData commit.
Don't execute tint transform functions and similar executable arrays
that may be added by our PDF interpreter to PDF objects.
</pre>
<p>[Resource/Init/pdf_base.ps]</p>
</blockquote>
<p><strong><a name="2010-10-22T041930.192593Z"></a>
2010-10-22T04:19:30.192593Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Recognize /SMaskInData attribute as an indicator that the page has
transparency features. Establish a base level for a future regression
testing.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2010-10-21T155737.250433Z"></a>
2010-10-21T15:57:37.250433Z Ken Sharp</strong></p>
<blockquote>
<pre>
More DSC work. Altered Procset emission to strip comments (but not line endings), as
some of the ProcSets included %%BeginPrologue and %%EndPrologue comments which isn't
(I don't think) allowed. Also makes the output file smaller.
When producing DSC output, don't set the FitPages/RoatePages/CenterPages/SetPageSize
operations.
Don't permit the entire file to be compressed when emitting DSC PostScript
(clearly won't be DSC compliant that way)
Produce some very basic DSC Comments; the correct header, %%Pages, %%Beginprologue.
%%EndPrologue, %%EndComments.
Don't emit %PDF header when producing DSC PostScript.
Count the number of pages and emit a %%Pages: comment at the end of the file. Don't
write the Info dict when producing DSC PostScript. Emit %%Trailer and $$EOF.
</pre>
<p>[base/gdevpdf.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-21T140927.225155Z"></a>
2010-10-21T14:09:27.225155Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Updated the cluster new node instructions to test the cups device
when verifying the installation is complete.
</pre>
<p>[toolbin/localcluster/readme]</p>
</blockquote>
<p><strong><a name="2010-10-21T133900.821724Z"></a>
2010-10-21T13:39:00.821724Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added the cups dev repositories to the cluster node sertup read.me
</pre>
<p>[toolbin/localcluster/readme]</p>
</blockquote>
<p><strong><a name="2010-10-21T111731.420556Z"></a>
2010-10-21T11:17:31.420556Z Ken Sharp</strong></p>
<blockquote>
<pre>
When producing DSC compliant PostScript from ps2write, do not emit the following;
Pages tree, outlines, articles, named destinations, PageLabels array, document metadata,
document Catalog, threads, encrypt dictionary, xref, trailer.
These objects are not required by PostScript, and cannot be easily
placed in a DSC-conforming file. This does mean that, unlike the general output from
ps2write, the output file is *not* a valid PDF file and cannot be opened as such by a
PDF consumer.
No differences expected.
</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-10-21T110740.293085Z"></a>
2010-10-21T11:07:40.293085Z Ken Sharp</strong></p>
<blockquote>
<pre>
Correct a bug in revision 11828 which tried to copy too many bytes from the source
buffer, if fewer bytes were read then were requested, when copying a ProcSet.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-21T082247.321512Z"></a>
2010-10-21T08:22:47.321512Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove some unused variables to silence compiler warnings.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-21T024848.797956Z"></a>
2010-10-21T02:48:48.797956Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't search for a font named / on disk, because operator findlibfile
throws an error in this case. Just fail the request when such font is
not defined in VM. Bug 691698, customer 384.
</pre>
<p>[Resource/Init/gs_res.ps]</p>
</blockquote>
<p><strong><a name="2010-10-20T170027.929678Z"></a>
2010-10-20T17:00:27.929678Z Robin Watts</strong></p>
<blockquote>
<pre>
Add a helpful valgrind header, and call it from gsmdebug.h.
The valgrind header here serves 2 purposes.
Firstly, it insulates us from platforms on which Valgrind does not exist -
if we build without defining ENABLE_VALGRIND then no dependency on any
valgrind headers exists. The standard Valgrind macros are all defined in
this header to do nothing, so they can safely be called in our code
without needing ugly #ifdef ENABLE_VALGRIND wrapping.
Secondly, it insulates us from changes in the valgrind/memcheck.h file -
if ENABLE_VALGRIND is defined we will use whatever version is defined by
the system. If new macros are defined by new versions of valgrind/memcheck.h
we simply need to add new 'empty' definitions to valgrind.h.
To start with, the only use of this code is to mark the contents of newly
allocated blocks as being undefined. Thanks to AlexCher for spotting a
cunning place to do this.
</pre>
<p>[base/valgrind.h base/gsmdebug.h]</p>
</blockquote>
<p><strong><a name="2010-10-20T165951.575415Z"></a>
2010-10-20T16:59:51.575415Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add /ZapfDingbats to the list of known symbolic fonts, which ignore bogus
/Encoding attribute. Fix fts_23_2300.pdf rendering.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-10-20T160528.326890Z"></a>
2010-10-20T16:05:28.326890Z Ken Sharp</strong></p>
<blockquote>
<pre>
Initial work on DSC compliant PostScript. When ProduceDSC is true, do not strip the
ProcSet, this is because DSC-compliant files have a line limit of 256. Later we will
want to wrap the ProcSet emissions with %%BeginResource/%%EndResource as well.
No effect if ProduceDSC is not true, so no differences expected.
</pre>
<p>[base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-20T144548.119859Z"></a>
2010-10-20T14:45:48.119859Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add a new switch to ps2write, working title 'ProduceDSC'. This will be used to control
whether the output of ps2write is DSC-compliant or not.
No differences expected.
</pre>
<p>[base/gdevpdfx.h base/gdevpdfp.c base/gdevpdfb.h]</p>
</blockquote>
<p><strong><a name="2010-10-20T105923.603495Z"></a>
2010-10-20T10:59:23.603495Z Robin Watts</strong></p>
<blockquote>
<pre>
Disable the use of high level images in the clist if we are downscaling;
this serves 2 purposes.
Firstly, it fixes the potential problems with banded/unbanded mismatch
of rendering due to the 'support' calculations done in the high level image
code. These calculations are no longer correct for downscales since the
change to use a simpler interpolated image scaler.
Secondly, when downscaling we will probably end up copying more data than
we would if we just kept the original, so high level images are a bad idea
anyway.
This *should* produce no differences, but actually produces lots.
Most of these might be ignorable (slight rendering differences that appear to
result in the new images being a little lighter, but a significant number
appear to be noticable progressions, which hints that the high level image
clist code is broken. Specifically high level images fail to render the
same as the non high level code does. In particular halftoning seems to
be enabled for some examples when high level images are used, for no good
reason. This has been opened as bug 691697.
</pre>
<p>[base/gxclimag.c]</p>
</blockquote>
<p><strong><a name="2010-10-20T102150.512085Z"></a>
2010-10-20T10:21:50.512085Z Robin Watts</strong></p>
<blockquote>
<pre>
Unpack a hideously complex if statement into a series of if statements.
Any reasonable compiler (if such a thing can be said to exist) should
compile to the same code, but this is a lot easier to use under a debugger/
read.
No changes expected in testing (and clusterpush agrees).
</pre>
<p>[base/gxclimag.c]</p>
</blockquote>
<p><strong><a name="2010-10-19T080432.778817Z"></a>
2010-10-19T08:04:32.778817Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Update CFF interpreter to handle gsubr while searching for SEAC
Bug #691680 "PDF Writer drops many accented characters"
pdfwrite makes use of a routine 'gs_type1_piece_codes' while copying fonts to determine
if a glyph is a SEAC, and therefore includes two subsidiary glyphs. This code was
updated previously (rev 10076) but on encountering a callgsubr in a CFF font, assumed
that the glyph was not a SEAC>
This patch adds support for callgsubr and continues searching glyphs which use a gsubr
to see if the gsubr is actually a SEAC type endchar.
No differences expected.
</pre>
<p>[base/gxtype1.c]</p>
</blockquote>
<p><strong><a name="2010-10-18T154420.143696Z"></a>
2010-10-18T15:44:20.143696Z Chris Liddell</strong></p>
<blockquote>
<pre>
Silence a compiler warning from my previous commit.
</pre>
<p>[psi/zchar42.c]</p>
</blockquote>
<p><strong><a name="2010-10-18T141144.566085Z"></a>
2010-10-18T14:11:44.566085Z Chris Liddell</strong></p>
<blockquote>
<pre>
In a CIDType2 font with a gsub table, when/if we substitute the glyph index
with an index for a vertical glyph, make sure we change the value of the
Truetype glyph index, and *not* the value of the Postscript CID.
Bug 691692
No cluster differences expected.
</pre>
<p>[psi/zchar42.c]</p>
</blockquote>
<p><strong><a name="2010-10-16T155253.774342Z"></a>
2010-10-16T15:52:53.774342Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix pdfwrite: Don't use CFF font format if CompatibilityLevel < 1.2
We permit CompatibilityLevel down to 1.1, but PDF 1.1. doesn't support CFF (Type 1C)
fonts, so don't use this format if CompatibilityLevel < 1.2.
No differences expected.
</pre>
<p>[base/gdevpdfp.c]</p>
</blockquote>
<p><strong><a name="2010-10-15T151236.033471Z"></a>
2010-10-15T15:12:36.033471Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Scale up type 3 font outlines to give more accuracy
Bug #691383, #691287, #691595 various type 3 font problems.
Although this is being fixed for the FreeType implementation, the Artifex font
interpreter had similar problems.
The issue is caused by using an identity scale at 72 dpi to capture font outlines.
Quark often uses a type 3 font which runs a type 1 font, in order to achieve text
special effects, such as stroke+fill. The stroke was achieved by a 'charpath/fill'
combination, because pdfwrite doesn't have a charpath, this meant that the path was
captured and emitted. Because the scale was so low, the interpreter could run out of
arithmetic precision, resulting in poorly formed outlines.
We can't simply use the CTM in force at the time, as that includes the font scale, but
we need to use something other than the identity. A scale facto of 1000 proved too
likely to cause arithmetic overflow, or clipping, and also meant writing large values
to the PDF file, which is inefficient. A factor of 10 turned out to be insufficient, so
a factor of 100 has been used.
Because the CharProc is effectively interpreted at the page level, this can result in
large values being used for paths, so we need to scale the device width and height by
100 as well, to prevent clipping (and undo it afterwards!)
</pre>
<p>[base/gdevpdtt.c base/gdevpdti.c]</p>
</blockquote>
<p><strong><a name="2010-10-15T150705.687999Z"></a>
2010-10-15T15:07:05.687999Z Chris Liddell</strong></p>
<blockquote>
<pre>
With the latest release of Freetype, reinstate the "sensible" method of
limiting the size of the bitmap that we let Freetype create. It is
limited to 1.5x the current maximum cacheable glyph bitmap, as it is *vital*
that we avoid creating an outline when the cache expects a bitmap,
but not a problem if we create a bitmap for a non-cached glyph.
Bug 691569.
No cluster differences expected.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-10-15T142151.952651Z"></a>
2010-10-15T14:21:51.952651Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Properly scale co-ordinates into Acrobat's range
When emitting various co-ordinates pdfwrite is careful to stay within +/- 32,767 in
order to ensure all versions of Acrobat can properly deal with them. To achieve this it
emits a matrix which scales values up, and then writes the co-ordinates scaled down
by this factor. Thus ensuring that they stay within permitted values, but are still
correct.
However, when emitting a rectangular fill, the scale was applied backwards, the
co-ordinates were scaled *up* instead of down by the scale factor. This led to wildly
incorrect values being written for rectangular paths.
No differences expected with this in the test suite, however it forms part of the fix
for type 3 fonts which will follow and does rely on this change.
</pre>
<p>[base/gdevpdfd.c]</p>
</blockquote>
<p><strong><a name="2010-10-14T202315.984226Z"></a>
2010-10-14T20:23:15.984226Z Henry Stiles</strong></p>
<blockquote>
<pre>
The image_set_gray function needed to take the address of the pointer
to the device color, the parameter should have been passed by
reference, as it must be set to &penum->clues[sample_value].dev_color
and returned. We'd like to get rid of the macro entirely and use the
image_set_gray as an inline function but have not tested performance.
The function might be too complex for inlining on some compilers.
</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2010-10-14T150601.276381Z"></a>
2010-10-14T15:06:01.276381Z Chris Liddell</strong></p>
<blockquote>
<pre>
In gx_alloc_char_bits() the "target" device can be NULL, in which case
avoid trying to decrement the ICC profile object for the target device.
patch credit to William Bader.
Bug 691651.
No cluster differences expected.
</pre>
<p>[base/gxccman.c]</p>
</blockquote>
<p><strong><a name="2010-10-14T150156.645831Z"></a>
2010-10-14T15:01:56.645831Z Chris Liddell</strong></p>
<blockquote>
<pre>
If we're passed an unexpected object instead of a glyph name object
fall back to rendering the notdef.
This is not identical, but is closer to the behaviour of the AFS code
under these conditions.
Highlighted by Bug 691656.
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-10-14T145736.364971Z"></a>
2010-10-14T14:57:36.364971Z Chris Liddell</strong></p>
<blockquote>
<pre>
Rename libpng.mak to png.mak to make it consistent with the other
third part libraries.
Bug 691681
No cluster differences expected.
</pre>
<p>[base/openvms.mmk base/ugcclib.mak base/libpng.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak base/winlib.mak base/png.mak psi/os2.mak base/openvms.mak base/macosx.mak base/configure.ac /trunk/ghostpdl/common/ugcc_top.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-10-14T142322.009615Z"></a>
2010-10-14T14:23:22.009615Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device: Fixed access to uninitialized variable, the margins array is only set when size_set is true (bug #691683).
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-10-14T115731.187468Z"></a>
2010-10-14T11:57:31.187468Z Chris Liddell</strong></p>
<blockquote>
<pre>
Rename libtiff.mak to tiff.mak to be more consistent with the other third party libs.
Bug 691681
No cluster differences expected.
</pre>
<p>[base/winlib.mak base/tiff.mak base/Makefile.in /trunk/ghostpdl/common/ugcc_top.mak base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-10-13T171459.959208Z"></a>
2010-10-13T17:14:59.959208Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix 2 build warnings in gdevtifs.c
No expected differences.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2010-10-13T160151.166726Z"></a>
2010-10-13T16:01:51.166726Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new tiffscaled device. This renders internally as tiffgray, but then
downsamples by an integer scale factor (specified by -dDownScaleFactor=n)
and error diffuses to 1bpp output.
This device is also included in pcl builds (windows ones at least), enabling
a solution for dropouts caused by rendering pcl at 200dpi. (Render at 600dpi
and scale down by a factor of 3). This should hopefully solve bug 690085.
Future work to consider: work on bringing libtiff based devices into unix PCL
builds, consider stochastic thresholding rather than FS error diffusion.
</pre>
<p>[base/gdevtifs.c base/openvms.mak base/gdevtifs.h base/gdevtsep.c base/configure.ac base/unix-gcc.mak doc/Devices.htm base/unixansi.mak psi/msvc32.mak base/gdevtfnx.c base/macos-mcp.mak base/devs.mak base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-10-13T104804.352147Z"></a>
2010-10-13T10:48:04.352147Z Chris Liddell</strong></p>
<blockquote>
<pre>
We have far fewer font Decodings than there are "well known" Encodings, so
assuming that for such an Encoding we always have a predefined Decoding
is problematic.
We'll now try to find a predefined Decoding, and if one isn't found
we'll derive one from the Encoding (as we previously did only for
non-well known Encodings).
Bug 691677
No cluster differences expected.
</pre>
<p>[Resource/Init/gs_fntem.ps]</p>
</blockquote>
<p><strong><a name="2010-10-12T232736.478231Z"></a>
2010-10-12T23:27:36.478231Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove unused variable in siscale.c that was causing warnings.
No expected differences.
</pre>
<p>[base/siscale.c]</p>
</blockquote>
<p><strong><a name="2010-10-12T162632.204667Z"></a>
2010-10-12T16:26:32.204667Z Robin Watts</strong></p>
<blockquote>
<pre>
Update interpolation filter. When we are downscaling an image on either axis
we now use a simpler (less computationally complex) linear interpolation
filter rather than the existing mitchell filter.
For downscaling the difference in quality between mitchell and simple
linear interpolation is not that noticable. (But the CPU/memory usage is a
quarter what it would be for proper mitchell downscaling).
What is noticable is that the existing downscaling code is 'bent' to avoid
having to hold more than 8 temporary scaled scanlines of the image. The effect
of this is to incorrectly limit the pixels that actually go into contributing
to an output pixel, producing dropouts.
We update the code here to remove this limit. This means that downscales
may potentially take more memory and more computation to perform, but the
overall quality is better.
Regression tests show both noticable and unnoticable differences in files that
enable interpolation (270 or so). The noticable differences are all that the
new output looks smoother, at the expense of losing some contrast and solving
some 'jaggy' looking edges.
Testing with my custom dropout test file shows a huge improvement with the
new code. I'll add this to the test repo shortly.
</pre>
<p>[base/siscale.c]</p>
</blockquote>
<p><strong><a name="2010-10-12T055216.851470Z"></a>
2010-10-12T05:52:16.851470Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for a large memory leak that can occur when a pattern cache entry is freed and a transparency buffer exists in the entry. A problem was that the pdf14 device, which contains pointers to the buffer, had its close device procedure set to forward due to the device being set in a disabled state during pattern_paint_finish. The close device proc for the pdf14 device contains the calls to actually free the buffers so this was not occurring (instead we were forwarding to another device). In addition, the pdf14 device itself was not being destroyed. With this commit, when the pattern entry is freed, the pdf14 device is now closed, which frees the buffers, and the pdf14 device is properly reference count decremented to result in the device itself getting freed. Regression run revealed no problems.</pre>
<p>[psi/zpcolor.c base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-10-11T075326.581165Z"></a>
2010-10-11T07:53:26.581165Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update Freetype to 2.4.3
Revise fapi_ft.c to take into account new font(s) being added to Freetype's
"tricky" font list. "Tricky" fonts need the bytecode interpreter to produce
"correct" output. But for GS, in the case of (even "tricky") fonts which
produce an error in the bytecode interpreter, we want to try to produce
some output, even just a notdef glyph. So in the non-hinted, and notdef
fallback cases, remove the "tricky" flag from the Freetype face.
No cluster differences expected.
</pre>
<p>[freetype/src/pshinter/pshalgo.c psi/fapi_ft.c freetype/builds/unix/config.sub freetype/src/type42/t42parse.c freetype/builds/win32/visualce/freetype.dsp freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/unix/configure.ac freetype/builds/wince/vc2008-ce/index.html freetype/builds/unix/ftconfig.in freetype/src/sfnt/ttload.c freetype/ChangeLog.23 freetype/docs/reference/ft2-sizes_management.html freetype/src/cache/ftccache.c freetype/docs/reference/ft2-quick_advance.html freetype/include/freetype/freetype.h freetype/configure freetype/docs/reference/ft2-pfr_fonts.html freetype/docs/reference/ft2-gasp_table.html freetype/docs/reference/ft2-system_interface.html freetype/builds/unix/configure freetype/docs/reference/ft2-mac_specific.html freetype/docs/reference/ft2-basic_types.html freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/internal/ftobjs.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/docs/reference/ft2-bitmap_handling.html freetype/docs/reference/ft2-cache_subsystem.html freetype/Jamfile freetype/include/freetype/ftimage.h freetype/src/base/ftobjs.c freetype/builds/win32/visualce/index.html freetype/docs/reference/ft2-glyph_variants.html freetype/docs/reference/ft2-glyph_stroker.html freetype/builds/win32/visualc/freetype.vcproj freetype/docs/reference/ft2-sfnt_names.html freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/builds/win32/visualce/freetype.vcproj freetype/docs/reference/ft2-bdf_fonts.html freetype/docs/reference/ft2-truetype_tables.html freetype/src/truetype/ttobjs.c freetype/builds/unix/config.guess freetype/include/freetype/config/ftconfig.h freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/aflatin.c freetype/src/raster/ftraster.c freetype/builds/win32/visualc/index.html freetype/builds/wince/vc2005-ce/index.html freetype/docs/reference/ft2-version.html freetype/docs/reference/ft2-gx_validation.html freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffgload.c freetype/docs/reference/ft2-base_interface.html freetype/docs/reference/ft2-header_file_macros.html freetype/builds/win32/vc2005/index.html freetype/src/cid/cidgload.c freetype/docs/reference/ft2-ot_validation.html freetype/builds/unix/unix-cc.in freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/base/ftsynth.c freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/ft2-index.html freetype/builds/win32/vc2008/freetype.vcproj freetype/src/cache/ftcsbits.c freetype/docs/reference/ft2-outline_processing.html freetype/docs/reference/ft2-lzw.html freetype/src/truetype/ttpload.c freetype/src/smooth/ftgrays.c freetype/builds/win32/visualc/freetype.dsp freetype/src/truetype/ttinterp.c freetype/docs/reference/ft2-module_management.html freetype/src/cff/cffload.c freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/builds/unix/configure.raw freetype/docs/reference/ft2-type1_tables.html freetype/src/sfnt/ttpost.c freetype/builds/win32/vc2008/index.html freetype/src/cff/cffobjs.c freetype/docs/reference/ft2-font_formats.html freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-incremental.html freetype/src/smooth/ftsmooth.c freetype/ChangeLog freetype/docs/VERSION.DLL freetype/docs/reference/ft2-truetype_engine.html freetype/include/freetype/ftcache.h freetype/docs/reference/ft2-list_processing.html freetype/docs/reference/ft2-gzip.html freetype/README freetype/include/freetype/ftmodapi.h freetype/docs/CHANGES]</p>
</blockquote>
<p><strong><a name="2010-10-10T055109.780940Z"></a>
2010-10-10T05:51:09.780940Z regression</strong></p>
<blockquote>
<pre>
Various minor fixed to the local cluster code:
clustermonitor.pl now deals with terminal windows being resize
clustermaster.pl logs messages to clustermaster.log
build.pl now adds -dcupsColorSpace=0 to command line
run.pl now longer runs fuzzy after bmpcmp
</pre>
<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-10-08T144218.915016Z"></a>
2010-10-08T14:42:18.915016Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Process text in Tr 3 even if the Widths are non-standard
Bug #691605 "Invisible text not preserved by pdfwrite"
The problem was that if text in text rendering mode 4 (neither stroke nor fill) used a
font where the entries in the FontDescriptor /Widths array did not match the actual
widths in the font, the code took a path where the glyphs were not added to the 'used'
list, and so were never emitted.
Text in regular fonts where the /Widths array was missing, or matched the widths in the
font (as the spec says they must) worked correctly.
Fixed by processing text whose operation properties include TEXT_RENDER_MORE_3 the
same as text with the TEXT_DO_DRAW property.</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T134241.451688Z"></a>
2010-10-08T13:42:41.451688Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove an unused variable (flagged by static analysis).
</pre>
<p>[base/gdevpsdi.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T133705.002251Z"></a>
2010-10-08T13:37:05.002251Z Ken Sharp</strong></p>
<blockquote>
<pre>
Prevent a possible attempt to memset a NULL pointer. This was probably safe since the
size of the memset would be 0 bytes, but its best to be safe.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T133400.715868Z"></a>
2010-10-08T13:34:00.715868Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove an unused variable (flagged by static analysis)</pre>
<p>[base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T133111.163393Z"></a>
2010-10-08T13:31:11.163393Z Chris Liddell</strong></p>
<blockquote>
<pre>
A stringwidth operation does not always result in a call to fapi_finish_render()
which can cause Freetype glyph objects to not be freed.
Add a firewall so we don't simply overwrite the pointer to the Freetype glyph
object, but correctly dispose of the object.
Bug 691668
No cluster differences expected.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T120124.908534Z"></a>
2010-10-08T12:01:24.908534Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Check encoding compatibility when finding base fonts
Bug #691656 "crash in Chinese font: /typecheck in --.FAPIBuildGlyph--"
A typecheck error is not a crash of course, but when using the built in font interpreter
this did not produce an error, silently discarded the text instead. This was still
incorrect.
The problem is caused when dealing with type 0 fonts and producing multiple type 1 fonts
to handle the large number of glyphs. The code for finding an existing font (in order
to minimise the number of new fonts) or create a new font, did not consider the
encoding of an existing font when trying to match it (this did work for regular fonts).
This could lead to a font with an incompatible encoding being used, which caused an
error later in text processing where a routine is supposed to be guaranteed no font
encoding problems. That led to an attempted fallback to the 'bitmapped type 3 font'
solution, but the text processing was passing ridiculous values to the font interpreter.
In the old font code this caused a silent discard of the text, with the FreeType code
it produces an error.
Fixed by checking the base font we find to see if its encoding is compatible with the
current text encoding, and manufacturing a new font if it is not.
No differences expected.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-10-08T050927.837431Z"></a>
2010-10-08T05:09:27.837431Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for miscalculation of clist_color_info.depth when tags are part of
the PDF14 device color. While 8 * num_components is usually enough, when
we have tags, we need the extra byte. Seen with fts_16_1601.pdf in clist
mode on HEAD and with customer 532 code when PDF14_transparency + tags is
included.
</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T135949.890609Z"></a>
2010-10-07T13:59:49.890609Z Ken Sharp</strong></p>
<blockquote>
<pre>
Put back some statements. It turns out that we can either have gcc be warning free or
the static analysis warning free. The problem is gs_note_error which uses
gs_log_error, on a release build gs_log_error is defined as the error value.
If we don't do something with that value then gcc complains that the 'statement has no
effect'. So the code was set like this:
ecode = gs_note_error(error code);
But if we want to actually ignore the error and just note the problem, then we don't use
ecode and the static analysis complains that the variable is unused....
I'd rather have no warnings from gcc so I've restored that.
</pre>
<p>[base/gdevpdfj.c base/gdevpdfp.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T124954.318945Z"></a>
2010-10-07T12:49:54.318945Z Ken Sharp</strong></p>
<blockquote>
<pre>
More changes to silence static analysis warnings. Mostly removing unused variables or
assignments.
</pre>
<p>[base/gdevpdfj.c base/gdevpdfm.c base/gdevpdfp.c base/gdevpdtb.c base/gdevpdtc.c base/gdevpdtd.c base/gdevpdtt.c base/gdevpdtf.c base/gdevpdfu.c base/gdevpdti.c base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T083558.544234Z"></a>
2010-10-07T08:35:58.544234Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence (hopefully) some compiler warnings.
</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T080415.270260Z"></a>
2010-10-07T08:04:15.270260Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove some unused variables and assignments flagged by static analysis.</pre>
<p>[base/gdevpdfg.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T075743.664608Z"></a>
2010-10-07T07:57:43.664608Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix a potential NULL pointer dereference flagged by static analysis.
Other potential occurrences flagged by the analyser in this module are deemed not to be
possible, as these are picked up at a higher level.
For instance, dereferencing a pointer to a path structure in a path handling method. We
can assume the path pointer is not NULL as we would not be called if the path was empty.
</pre>
<p>[base/gdevpdfd.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T075009.274081Z"></a>
2010-10-07T07:50:09.274081Z Ken Sharp</strong></p>
<blockquote>
<pre>
Static analysis discovered two variables being altered that are not subsequently used.
Although this is safe, removed the code anyway.
</pre>
<p>[base/gdevpdfb.c]</p>
</blockquote>
<p><strong><a name="2010-10-07T074913.279339Z"></a>
2010-10-07T07:49:13.279339Z Ken Sharp</strong></p>
<blockquote>
<pre>
static analysis found that the result of fread was not being used. Add code to test the
result and flag a warning if expected data not read.</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-10-06T140332.653153Z"></a>
2010-10-06T14:03:32.653153Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for part 2 of Bug 691484, valgrind warnings about uninitialised values
in clist code.
The problem is that we are writing out a cmd_block without initialising it all.
The fix is simply to initialise it (using a memset, so accounting for all
padding bytes too) before starting to use it.
This stops the valgrind warnings. No changes in localcluster testing.
</pre>
<p>[base/gxclist.c]</p>
</blockquote>
<p><strong><a name="2010-10-06T134815.425458Z"></a>
2010-10-06T13:48:15.425458Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add some body parentheses to 'if' statements in order to silence some clang warnings.
</pre>
<p>[base/gdevpdfp.c base/gdevpdtf.c]</p>
</blockquote>
<p><strong><a name="2010-10-06T120646.017717Z"></a>
2010-10-06T12:06:46.017717Z Robin Watts</strong></p>
<blockquote>
<pre>
Whitespace tweaks to gxiscale.c. The complexity in the file is more than
enough for my tiny brain without expecting it to cope with inconsistent
indentation too :)
</pre>
<p>[base/gxiscale.c]</p>
</blockquote>
<p><strong><a name="2010-10-05T213811.272406Z"></a>
2010-10-05T21:38:11.272406Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for part 1 of bug 691484 - uninitialised memory usage in clist code.
The FAPI code copies bitmaps and pads them out so that each raster line
is appropriately aligned. Previously the padding bytes were left
uninitialised. Unfortunately the clist code reads the padding when
compressing the bitmaps, which a) upsets valgrind and b) means that the
exact size of the clist will vary from run to run.
Here we tweak the copying code to ensure that the padding bytes are always
set to zero.
No differences shown in local cluster. This solves part 1 of the bug.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-10-05T202754.714250Z"></a>
2010-10-05T20:27:54.714250Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Clean up of a few comments about device profiles</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-10-05T201810.046358Z"></a>
2010-10-05T20:18:10.046358Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for error in detecting the presence of a device profile set in the command line. Unfortunately, the device was not being reset from the default profile based upon the setting.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-10-05T135722.688207Z"></a>
2010-10-05T13:57:22.688207Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add missing decoding of #nn escape to encrypted PDF reader. Besides fixing the
bug sample file, this patch also corrects a colorant name in IA3Z0440.pdf on
psdcmyk device. Bug 691636.
</pre>
<p>[Resource/Init/pdf_sec.ps]</p>
</blockquote>
<p><strong><a name="2010-10-05T124816.473671Z"></a>
2010-10-05T12:48:16.473671Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : ConvertCMYKImagesToRGB not working
Bug #691647 "-dConvertCMYKImagesToRGB no longer works"
Originally caused by the conversion to the ICC workflow, which meant that all images
appear to be in a ICC space, and only images originally natively CMYK are converted.
Probing the ICC space using the provided utility to return the original colour space
allows the code to work, but reveals a more serious error. The code in
psdf_setup_image_filteres() alters the image colour space and decrements the reference
count of the original colour space.
This seems logically correct, and in one of the three calling paths it is correct, but
under one of the other two conditions it causes a crash. The routine
pdf_begin_typed_image_impl() makes two copies of the original image parameters, and
when it does so it does *not* increment the reference counts of any counted objects.
This copied data is presented to the image filter setup several times, and if CMUK
to RGB conversion is going on the original colour space is decremented each time. This
leads to obvious problems.
The simplest solution would be to increment the reference counts when the copy is made,
but that would mean checking all the error condition break outs, and decrementing the
reference count in each case.
Since the colour space is only decremented in the filter setup, this patch increments
the count before the call, and if the colour space is the same afterwards (whether
an error occurred or not) decrements it back again. If the colour space changes we do
not decrement the space of course, as the filter setup routine has done that.
In addition, extended the test for whether CMYK images should be converted to include
the original test of the native space, in case we get here after an image has been
converted to a base space and no longer has an ICC space.
No expected differences, this configuration is not tested by the regression suite.
</pre>
<p>[base/gdevpsdi.c base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-10-05T121046.672154Z"></a>
2010-10-05T12:10:46.672154Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for part 1 of Bug 691635, supplied by Norbert Janssen. Many thanks.
In the recent work to remove global variables where possible, I had failed to
change an instance of iodev_default to be iodev_default(mem).
No expected changes.
</pre>
<p>[base/gsiodisk.c]</p>
</blockquote>
<p><strong><a name="2010-10-03T161300.326561Z"></a>
2010-10-03T16:13:00.326561Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Change the order of operands in a logical expression to avoid dereferencing
an uninitialized variable. Bug 690214.
</pre>
<p>[psi/zfont2.c]</p>
</blockquote>
<p><strong><a name="2010-10-01T193606.952768Z"></a>
2010-10-01T19:36:06.952768Z Ray Johnston</strong></p>
<blockquote>
<pre>
Drop support for these less popular compilers. This will be the first step to
changing to project files for Windows.
</pre>
<p>[base/wctail.mak base/watclib.mak base/bcwin32.mak base/gp_iwatc.c base/watcw32.mak base/wccommon.mak]</p>
</blockquote>
<p><strong><a name="2010-10-01T025815.408387Z"></a>
2010-10-01T02:58:15.408387Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Replace sequential CFF parser coded in PostScript with a parser that uses
direct access to the data and coded in C. Solve numerous problems caused by
the old parser. New -dOLDCFF option can revert to the old parser. Differences
in 16-01.PS.pdf and 16-01.PS.pdf are progressions.
</pre>
<p>[doc/Use.htm psi/int.mak psi/zfont1.c psi/zfont2.c Resource/Init/gs_cff.ps]</p>
</blockquote>
<p><strong><a name="2010-09-29T155022.840688Z"></a>
2010-09-29T15:50:22.840688Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix calculation of offset to tag plane in pdf14_mark_fill_rectangle to cure
writing past the end of an allocated buffer. Detected with customer 532 on
fts_08_0808.pdf. Only affects devices with object tagging (bitrgbtags).
</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-09-28T123641.051799Z"></a>
2010-09-28T12:36:41.051799Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Don't unreasonably limit the PDF output level
Bug #691318 " -dCompatibilityLevel=1.6 produces PDF 1.5"
Although the highest output level for pdfwrite features is 1.5, it is possible to use
pdfmarks to create a PDF file which uses higher level features. In this case its
reasonable to have pdfwrite produce a higher level PDF file.
This patch allows pdfwrite to produce output up to PDF 1.7, the highest currently
specified.
No differences expected.
</pre>
<p>[base/gdevpdfp.c]</p>
</blockquote>
<p><strong><a name="2010-09-28T122613.182021Z"></a>
2010-09-28T12:26:13.182021Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : allow for UserPasword and OwnerPassword in page device
Bug #691256 "OwnerPassword and UserPassword don't work as device parameters"
pdfwrite sets up encryption filters when the device is opened, and the device is not
(currently) closed until Ghostscript shuts down. This means that changes to the page
device dictionary which require a restart (eg the encryption parameters) do not affect
the current setup, though they may be (incorrectly) written when the device is closed.
This patch addresses the specific issue of OwnerPassword by closing the device if the
password is changed *and* we have not yet written any pages. If we have already begun
the output when a password change occurs then we ignore it and flag a warning.
This is also a first step in the direction of making pdfwrite open and close properly
so that we don't need to restart Ghostscript to use it.
No expected differences.
</pre>
<p>[base/gdevpdfp.c]</p>
</blockquote>
<p><strong><a name="2010-09-27T120517.449032Z"></a>
2010-09-27T12:05:17.449032Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (Fonts): Prevent xfont being used in composefont
On platforms supporting X-Windows xfonts can be used with Ghostscript, however we don't
want to find an xfont (eg Courier) when using composefont to create a CID-Keyed instance
as this will not work.
Test to see if the top level font is a type 0, and if it is, don't search for a matching
xfont, but instead go through the usual PostScript machinery.
No differences expected.
</pre>
<p>[base/gxchar.c]</p>
</blockquote>
<p><strong><a name="2010-09-27T093355.410495Z"></a>
2010-09-27T09:33:55.410495Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite/ps2write) : Don't dereference mask colour spaces
Bug #691106 "-sDEVICE=pdfwrite -dConvertCMYKImagesToRGB=true"
When checking to see if an image needs to be converted to RGB, the image space is
checked to see if it is CMYK. However an image mask does not have a colour space (it
is NULL), firstly so that we can tell its an image mask, and secondly because masks
genuinely do not have a colour space, they take on the current colour.
Attempting to dereference the NULL colour space causes a crash. Since a mask never
needs converting to RGB, we short circuit the test by detecting a NULL colour space.
</pre>
<p>[base/gdevpsdi.c]</p>
</blockquote>
<p><strong><a name="2010-09-25T020822.451780Z"></a>
2010-09-25T02:08:22.451780Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
For long time ps2pdf*.bat files failed when they were used with some
options and a single argument. findstr is now used to identify
options by the leading '-' and handle this case. Bug 691622.
</pre>
<p>[lib/ps2pdf.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat]</p>
</blockquote>
<p><strong><a name="2010-09-24T132507.243032Z"></a>
2010-09-24T13:25:07.243032Z Chris Liddell</strong></p>
<blockquote>
<pre>
For disk based TTFs, only lookup the character code in the TTF cmap if the font is
not using an Identity ordering.
No cluster differences expected.
Bug 691623.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-09-24T090334.206583Z"></a>
2010-09-24T09:03:34.206583Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (TrueType fonts) : memory leak
Bug #691088 This does not affect the PostScript/PDF interpreters which now use FreeType
but is relevant still for XPS and PCL.
A buffer was allocated to contain the GSUB table from the TT font, but was never freed
leading to memory leaks. I've adopted the same approach as that taken for the 'glyph
length' array and added a notification procedure which is called when the font is
released, and that procedure frees the GSUB buffer.
At the same time, removed the functions:
add_quadratic_curve
append_simple
check_component
These were only called by each other, or by append_component which had already been
removed as unused.
No expected differences.
</pre>
<p>[base/gstype42.c]</p>
</blockquote>
<p><strong><a name="2010-09-24T032745.689228Z"></a>
2010-09-24T03:27:45.689228Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of debug code that was accidentally committed.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-09-23T194527.249371Z"></a>
2010-09-23T19:45:27.249371Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that objects tag information makes it through transparency rendering AND the clist. An issue was that the pdf14 encode and decode procedures are used as opposed to the target device encode and decode procedures and it is through a value in the color index that we currently communicate the object type through the clist. When we are in page rendering mode, it is easy to get the current object from mem->gs_lib_ctx->BITTAG, but this is not set correctly in clist rendering if for example a glyph is stored in the clist as a mask fill. Instead the information about the object is extracted from the color index. So, to make this work, we had to introduce an encode method for the pdf14 device that incorporates the tag information and also make sure that the bit depth for the pdf14 color info value is incremented appropriately so that the extra byte is stored and extracted from the clist. The object type is then recovered during the pdf14 mark fill rect procedure. This was tested with the updated bitrgbtags device using a custom file that has overlapping text, image and path objects with varying transparency amounts. </pre>
<p>[base/gdevp14.c base/gsimage.c base/gsutil.h base/gstext.c base/gsdps1.c base/gdevbit.c base/gdevmem.c base/gxblend1.c base/gspaint.c base/gdevddrw.c base/gsutil.c base/gxclrast.c base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-09-23T144650.766627Z"></a>
2010-09-23T14:46:50.766627Z Robin Watts</strong></p>
<blockquote>
<pre>
Final part of the fix for bug 691612.
Currently the code blindly sets the "lop_pdf14" whenever the pdf14 device is
in use. This forces the 'lop_is_idempotent' test to fail, which in turn forces
slower cases to be taken through the code.
This patch alters that logic, so that the pdf14 device can leave that bit
unset if the parameters are set up in such a way that the lop really can
be idempotent (i.e. normal blending, solid alphas etc).
This vastly improves the speed of rendering non-alpha content, so we are no
longer penalised for having just a small amount of transparent content on a
page.
Testing shows 398 files that change, but bmpcmp reveals these all to be very
small changes to do with whether individual pixels are filled or not. This
is consistent with the typical mismatches between special case and normal
renderings, so can safely be ignored for now.
</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-09-23T121757.296649Z"></a>
2010-09-23T12:17:57.296649Z Robin Watts</strong></p>
<blockquote>
<pre>
As part of the investigation into bug 691612, we noticed that the clist
band playback code doesn't call the device stroke_path method, but instead
calls the default implementation directly.
In order the fix the bug, we'd like it to call through the device version
(pdf14_stroke_path). Consensus is that it's an oversight that it's not calling
the device version already, and tests indicate no differences (*) so this
patch changes it to call via the vector.
(* Actually regression testing shows 2 pdfwrite differences, but they are
in unbanded tests, so can't be executing this code, so are probably just
indeterminisms).
</pre>
<p>[base/gxclrast.c]</p>
</blockquote>
<p><strong><a name="2010-09-23T104633.821569Z"></a>
2010-09-23T10:46:33.821569Z Robin Watts</strong></p>
<blockquote>
<pre>
As part of the investigation into bug 691612, a problem was found with the
rop3_is_idempotent (and hence lop_is_idempotent) macros. This patch fixes
this definition and adds some more comments explaining the rop operations.
Thanks to lpd for confirming this change.
This produces 78 differences in the regression tests, bmpcmp reveals these to
all be neutral or progressions (in some cases, significant progressions).
</pre>
<p>[base/gsropt.h]</p>
</blockquote>
<p><strong><a name="2010-09-23T081636.207911Z"></a>
2010-09-23T08:16:36.207911Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Do not write Encodings with Symbolic TrueType fonts
Bug #690744, #691036, #691319. The PDF specification makes it clear that Symbolic
TrueType fonts should not have a FontDescriptor which contains an Encoding entry.
pdfwrite has specifically been doing this, the reason being (code comments) :
* We write True Types with Symbolic flag set.
* PDF spec says that "symbolic font should not specify Encoding entry"
* (see section 5.5, the article "Encodings for True Type fonts", paragraph 3).
* However Acrobat Reader 4,5,6 fail when TT font with no Encoding
* appears in a document together with a CID font with a non-standard CMap
* (AR 4 and 5 claim "The encoding (CMap) specified by a font is corrupted."
* (we read it as "The encoding or CMap specified by a font is corrupted.",
* and apply the 1st alternative)). We believe that AR is buggy,
* and therefore we write an Encoding with non-CID True Type fonts.
* Hopely other viewers can ignore Encoding in such case. Actually in this case
* an Encoding doesn't add an useful information.
Since this is working around a bug in old versions of Acrobat, and the presence of an
Encoding causes preflight errors and is specifically forbidden in PDF/A, this work
around has been removed. I would like to check recent versions of Acrobat to see if
this issue persists, but am unable to find an example file. The change predates the
adoption of Subversion, the first logged change is October 2003.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-09-22T151320.906048Z"></a>
2010-09-22T15:13:20.906048Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Removed unused label from base/gxicolor.c that caused compiler warning.
Fixes Bug #691633 reported by Norbert Janssen.
</pre>
<p>[base/gxicolor.c]</p>
</blockquote>
<p><strong><a name="2010-09-21T120352.655546Z"></a>
2010-09-21T12:03:52.655546Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add the new entries for produce outlines and maximum bitmap size
to the FAPI server declarations in the UFST and Bitstream code.
No cluster differences expected.
Bug 691634
</pre>
<p>[psi/fapiufst.c psi/fapibstm.c]</p>
</blockquote>
<p><strong><a name="2010-09-20T012614.070109Z"></a>
2010-09-20T01:26:14.070109Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix end-of-file detection in reusable streams. Don't try to read non-existing
blocks after the last one. Just return EOF flag and the data that are already
in the buffer. Bug 691625.
</pre>
<p>[psi/zfrsd.c]</p>
</blockquote>
<p><strong><a name="2010-09-17T102936.728794Z"></a>
2010-09-17T10:29:36.728794Z Robin Watts</strong></p>
<blockquote>
<pre>
In revision 11723 I'd copied a prototype, but forgotten to edit the name.
(bytes_copy_rectangle to bytes_copy_rectangle_zero_padding).
This was resulting in a couple of warnings about 'no previous prototype'.
No expected differences.
</pre>
<p>[base/gsbitops.h]</p>
</blockquote>
<p><strong><a name="2010-09-17T064427.206613Z"></a>
2010-09-17T06:44:27.206613Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of unused variable introduced in last commit.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-09-17T054048.428712Z"></a>
2010-09-17T05:40:48.428712Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Addition of support to enable persistence of objects tag information through transparency rendering. In the current code base, transparency blending erases all knowledge about the objects that were drawn and blended, setting the entire object to image type. With this commit, the tag information is retained through blending by doing a bit-wise or of the tag values. When a device supports tags, the pdf14 device will create an additional plane to maintain the tag data information. Blending of the tag information occurs in pdf14_mark_fill_rectangle, pdf14_mark_fill_rectangle_ko_simple and pdf14_compose_group. A new device procedure called put_image is added. This is called by the pdf14_put_image operation, which enables the communication of the tag information to the target device. pdf14_put_image will first attempt to pass the alpha channel and the image data not scaled by the alpha channel and the tag data to the target device. The planar offset location of the alpha and tag data is communicated in the put_image procedure interface. If the target device cannot handle this form of the data, it should return 0. The pdf14_put_image operation will then blend the alpha data and attempt the put_image again but this time with an alpha offset of 0 to indicate that there is no alpha data. Note that the alpha data remains valid for those devices that still want the alpha but also want to have the graphics library do a premultiplcation of the alpha with the data. Details of this interface will be added to the documentation. In addition, the bitrgbtags device is being updated to demonstrate the use of the put_image procedure.</pre>
<p>[base/gdevp14.c base/gxdevcli.h base/gxclist.c base/gdevp14.h base/gdevbbox.c cups/gdevcups.c base/gsovrc.c base/gxblend.c base/gxblend1.c base/gdevprn.c base/gsutil.c base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-09-16T145706.777148Z"></a>
2010-09-16T14:57:06.777148Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a problem introduced by the rev. 11497 that broke ps2pdf*.bat scripts
when they receive optional arguments. The bug results from interaction between
"shift" and %~dp0 that is used after the "shift".
</pre>
<p>[lib/ps2pdf.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat]</p>
</blockquote>
<p><strong><a name="2010-09-16T110931.082242Z"></a>
2010-09-16T11:09:31.082242Z Robin Watts</strong></p>
<blockquote>
<pre>
Another partial fix for Bug 690993. The sole remaining Valgrind warning
is that memcpy is called on overlapping src/dst blocks in cmd_read_data.
Investigation supports this, and suggests that we should be using memmove
instead. This does stop the error, and leaves us valgrind warning free.
This also appears to resolve the indeterminism, in that repeated runs
of the command line given in the bug return identical results.
The bug remains open though, as there is still a mismatch between banded and
non-banded mode.
No expected differences.
</pre>
<p>[base/gxclrast.c]</p>
</blockquote>
<p><strong><a name="2010-09-16T110547.689000Z"></a>
2010-09-16T11:05:47.689000Z Robin Watts</strong></p>
<blockquote>
<pre>
Partial 'fix' for Bug 690993. When encoding a bitmap into a clist, we
copy it into a block with potentially larger padding requirements. These
extra padding bytes were left undefined, causing subsequent attempts to
compress the bitmap to cause valgrind to give warnings.
The fix is simply to introduce and use a new function that copies a bitmap
and zeros the padding. This should eliminate the warnings, produce better
compression, and (more importantly) mean that every run uses the same amount
of memory, hence eliminating potential odd effects where clists may be of
different lengths on different runs.
This still leaves bug 690993 open.
No expected differences.
</pre>
<p>[base/gsbitops.c base/gsbitops.h base/gxclbits.c]</p>
</blockquote>
<p><strong><a name="2010-09-15T081552.075230Z"></a>
2010-09-15T08:15:52.075230Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (ps2write) : Bug #689419 "Text missing if nested BT with opdfread.ps"
Type 3 fonts which select another font and then draw text from it (a common feature of
Quark Xpress) can result in nested 'BT' operators when processed by ps2write.
The opdfread prologue does not cater for this, specifically the TextMatrix is not saved
and restored around a BT/ET pair. If the text matrix is altered by the font
selection, then the 'ET' will not restore the old matrix leading to incorrectly sized or
disappearing text.
The patch (supplied by SaGS) saves the TextMatrix in a stack (stored in an array) and
restores the matrix after an ET, in case it is nested. Currently this allows for
nesting up to 20 deep, which should be more than adequate. Note that if we were to
encounter a nested BT with no ET this would still fail, but in this case the file
produced by ps2write would be invalid, and the missing ET should be fixed.
No differences expected, the regression suite doesn't test ps2write.
</pre>
<p>[Resource/Init/opdfread.ps]</p>
</blockquote>
<p><strong><a name="2010-09-14T125809.089527Z"></a>
2010-09-14T12:58:09.089527Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Don't colour convert SMask images
Bug #690612 "PDF sRGB conversion loses images"
The handling of SMask images in pdfwrite is a bit convoluted. These are handled by
converting initially to a DevicePixel colour space, then detecting that later and
replacing with a DeviceGray space. However, after doing so, if ColorConversionStrategy
was set, the space (and image samples) would be converted to another colour space. This
is not legal for SMask images.
This code simply checks to see if the image is an SMask before setting colour conversion
and doesn't convert the colour space/samples if it is and SMask.
No expected differences.
</pre>
<p>[base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-09-14T090706.998296Z"></a>
2010-09-14T09:07:06.998296Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix a compiler warning.</pre>
<p>[base/gdevpdfo.c]</p>
</blockquote>
<p><strong><a name="2010-09-14T080603.949247Z"></a>
2010-09-14T08:06:03.949247Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement : performance improvement with type 3 fonts
Bug #690575 "PS to PDF Conversion extremely slow (possibly endless)"
The type 3 font code assembles CharProcs for type 3 fonts by writing them individually
into a 'cos_stream'. Each time a new one is completed it is compared to all the existing
CharProcs to see if it is a duplicate. This was done by fseek/fread/memcmp operations.
As the number of CharProcs increases, the time spent seeking, reading and comparing
the data increases dramatically and performance becomes very poor. Not only that, but
the test is actually done twice for each new CharProc.
This patch tackles the problem by creating an md5 hash of the data written to a
cos_write_stream (a subclassed cos_stream) as it is written. The cos_stream 'equal'
routine checks to see if the md5 hash is valid and if it is then compares the hashes.
If the md5 hash is not valid (ie not a cos_write_stream) then it uses the old
seek/read/compare mechanism. This will improve the performance of any stored data
if it is stored using a cos_write_stream and compared against other data of the same
type. (I don't believe we do this anywhere else currently, but I'm not suer)
This does improve the performance significantly, and the code no longer spends most of
its time waiting for I/O operations to complete. It is still slow, but this is the
result of using lots of type 3 fonts. Because of the way these must be processed in
order to capture the outlines they are never going to be fast.
In my test this runs 2-3 times faster than before. There should be no differences in
output from the old code.
</pre>
<p>[base/gdevpdfo.c base/gdevpdfo.h]</p>
</blockquote>
<p><strong><a name="2010-09-14T074911.816447Z"></a>
2010-09-14T07:49:11.816447Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bump version number to 9.01 and associated changes.
</pre>
<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps]</p>
</blockquote>
<h2><a name="Version9.00"></a>Version 9.00 (2010-09-14)</h2>
<p>This is the first release in the stable 9.x series.
<p>This release includes a move to an ICC-based color rendering workflow. The
design allows easy integration of 3rd party color management modules (CMMs)
and management of DeviceN and spot source colors with ICC profiles as well
as with non-ICC proprietary methods. The default CMM is the well known littleCMS.
Postscript color objects and non-ICC CIE-based PDF color spaces are converted to
equivalent ICC profiles enabling complete color management for all color spaces by
an ICC-based CMM. New command line options enable the specification of gray, rgb
and cmyk default ICC profiles as well as output device ICC profiles. The new
work flow provides performance improvements in the rendering of images, shadings
and transparencies. In addition, the color conversions are designed to work
efficiently in multithreaded display list (c-list) rendering through the use of a
shared link cache. Finally, proper ICC based rendering now occurs for ALL XPS
objects including Named colors, N-Channel colors and images with internally embedded
ICC profiles.
<p>The second major change in this release is that glyph rendering for all font types
except Type 3 is now handled by Freetype (via a much improved and enhanced Font API).
The most obvious benefit of this is a complete, and proven implementation of the
TrueType byte code interpreter (now unencumbered by patents).
<p> Another major change is that the Postscript interpreter's graphics state now
stores two separate colour space settings for stroking and filling, to better
support the stroke and fill colours required by the PDF interpreter.
<p>Finally, support for optional content has been added to the PDF interpreter.
<p> This release also includes a number of improvements to the pdfwrite device
to improve reliability and quality with PCL and XPS input. Many improvements to
the support of JPX images in PDF files, PDF annotation rendering and the usual
number of general bug and robustness fixes.
<p>For security reasons, Ghostscript no longer searches the current directory
by default. Use -P option to revert to old behavior.
<p>For a list of open issues, or to report problems with this release,
please visit <a href="http://bugs.ghostscript.com/">bugs.ghostscript.com</a>.
<h3><a name="9.00_Incompatible_changes"></a>Incompatible changes</h3>
<p>
No recorded incompatible changes.
<h3><a name="9.00_changelog"></a>Changelog</h3>
<p><strong><a name="2010-09-13T150940.310889Z"></a>
2010-09-13T15:09:40.310889Z Chris Liddell</strong></p>
<blockquote>
<pre>
Commit the missing header changes from the previous checkin.
</pre>
<p>[psi/ifapi.h]</p>
</blockquote>
<p><strong><a name="2010-09-13T145346.788657Z"></a>
2010-09-13T14:53:46.788657Z Chris Liddell</strong></p>
<blockquote>
<pre>
Another revision of the FAPI code. Due to a problem in Freetype which needs
further investigation, we cannot produce an outline, then decide to produce
a bitmap if it is small enough. We work around this by producing a bitmap,
and if it is too large, dispose of it, and retry with an outline, thus although
we still risk larger than ideal memory use, it is very short lived. A glyph
too large to be cached (for which we will now usually use an outline) does
not suffer from the Freetype issue mentioned above.
The maximum allowable bit for Freetype to produce is now 1.5 x the maximum
cache bitmap as set in the Postscript state - it is set larger than the
cache bitmap since it is *vital* that if GS expects a bitmap to be cache
we supply a bitmap. Given that the bounding boxes arrived at the GS cache
device and the Freetype rendering code arrived at slightly differently, there
would be the chance of edge cases where FAPI would produce an outline, when
the cache expects a bitmap. Allowing FAPI plenty of leeway avoids that.
The calculation to convert a quadratic to a cubic spline in the
Freetype interface code was slightly wrong.
Also, FAPI now sets the fill adjust to 0 for filling outline glyph, instead
of inhereting the value from the originating graphics state, which gives
*much* more consistent output between the bitmap and outline cases, and
addresses the slightly excessive boldness observed for outline glyphs since
the adoption of Freetype/FAPI as the default font scaler/renderer.
Finally, support for the existing Ghostscrit text anti-aliasing
capability is improved.
Bug 691604
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c psi/fapiufst.c psi/fapibstm.c]</p>
</blockquote>
<p><strong><a name="2010-09-13T102534.372202Z"></a>
2010-09-13T10:25:34.372202Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revert revisions 11690 and later from the FAPI code (and revert version no. to 9.00)
to get a "good" base version, in preparation for a corrected version of the changes
in 11690 (and subsequent changes in the FAPI code).
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c base/version.mak Resource/Init/gs_init.ps psi/ifapi.h psi/fapiufst.c psi/fapibstm.c]</p>
</blockquote>
<p><strong><a name="2010-09-09T135148.502020Z"></a>
2010-09-09T13:51:48.502020Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a case where /Width attribute was not checked for null.
Bug 691602, customer 700.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-09-09T072652.042155Z"></a>
2010-09-09T07:26:52.042155Z Chris Liddell</strong></p>
<blockquote>
<pre>
Fix broken version number in gs_init.ps in trunk
</pre>
<p>[Resource/Init/gs_init.ps]</p>
</blockquote>
<p><strong><a name="2010-09-09T062654.427296Z"></a>
2010-09-09T06:26:54.427296Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add a couple of ".0"s to ensure we get floating point division
to arrive at intermediate values for the conic to cubic
spline conversion.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-09-09T034512.738999Z"></a>
2010-09-09T03:45:12.738999Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for compiler complaint from commit of rev 11700</pre>
<p>[base/gdevpdfb.c base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-09-08T232036.969829Z"></a>
2010-09-08T23:20:36.969829Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix to enable proper mask filling with patterns that have transparency. Major change is in gdevp14.c where begin_type_image and mask_fill procedures now will (if we are filling with a pattern that has transparency) push a transparency group. When we are finished processing the image, the group is popped which enables proper blending. There remains an issue with a special file that Ken created when it is run in c-list mode. A new bug will be opened for this issue. Thanks to Ray for helping with this project and finding a bounding box issue in the creation of the transparency group during c-list reading.</pre>
<p>[base/gdevp14.c base/gxclimag.c base/gsptype1.c base/lib.mak base/gxpcmap.c base/gdevpdfb.c base/gsptype1.h base/gstrans.c base/gxpcolor.h base/gxblend1.c base/gxp1fill.c base/gxp1impl.h base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-09-08T162242.112334Z"></a>
2010-09-08T16:22:42.112334Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : incorrect pattern matrix calculation
Bug #690504 "ps2write does not work with asymmetric resolutions, like 600x1200dpi "
The problem was caused by frankly totally incorrect calculations when generating the
/Matrix for a pattern. Because we always see the CTM including the resolution scaling
but need to output a matrix with this removed, we scale the CTM by the inverse of the
resolution scaling.
But the calculation simply divided the CTM through by the scale factors, which is
totally incorrect and fails badly if the matrix involves rotation. The code now
correctly creates and multiplies a scale matrix. Note, the order of multiplication is
important here.
No differences expected.
</pre>
<p>[base/gdevpdfv.c]</p>
</blockquote>
<p><strong><a name="2010-09-08T083015.885002Z"></a>
2010-09-08T08:30:15.885002Z Chris Liddell</strong></p>
<blockquote>
<pre>
Slight refinement in the how the FAPI character generation detects we are
producing anti-aliased glyphs.
Also, it seems that when assigning variable value to a second, larger data
type, whilst gcc promotes the data type before the assignment, MSVC promotes
the variable later, so shifting a 32 bit integer up during an assignment to
a 64 bit integer variable works find on gcc, but MSVC loses the most
significant bits. So we need to force the promotion to happen with a cast.
Bug 691588
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-09-07T165136.404533Z"></a>
2010-09-07T16:51:36.404533Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add a further header to ifapi.h required for Unix/Linux builds, and
add the two additional headers to ifapi.h's dependencies.
</pre>
<p>[psi/ifapi.h psi/int.mak]</p>
</blockquote>
<p><strong><a name="2010-09-07T162646.989782Z"></a>
2010-09-07T16:26:46.989782Z Chris Liddell</strong></p>
<blockquote>
<pre>
Pull in gp.h in ifapi.h for the int64_t type - it seems to be required on Windows.</pre>
<p>[psi/ifapi.h]</p>
</blockquote>
<p><strong><a name="2010-09-07T153217.143998Z"></a>
2010-09-07T15:32:17.143998Z Chris Liddell</strong></p>
<blockquote>
<pre>
Some fairly substantial changes to the FAPI code to get very high resolutions and
anti-aliased text working reliably.
For AA text, we now make *sure* to produce outlines for non-cached glyphs, thus
the GS path code can anti-alias correctly (for cached glyphs, the "show" machinery
does the anti-aliasing from the cache bitmap).
The high res problems were highlighted by the bbox device (which runs at 4000 dpi).
To resolve these the width and height parameters for Freetype had to have value
overflow compensation added, to match the existing underflow compensation.
FAPI/Freetype also now will only create a glyph bitmap if the bitmap size is smaller
than the allowable glyph cache bitmap. It may still produce a bitmap for a non-cached
glyph, if the cache is full, but the individual glyph bitmap is not larger than the
allowable glyph item - this is allow for better consistency when we're near the limit
of the total cache size.
Finally, the FAPI outline retrieval code now requires 32.32 fixed point variables (rather
than the previous 16.16), which prevents overflow, and improves accuracy. If also provides
us with the opportunity to check for overflow/underflow of the GS internal fixed point
variables, before calling the GS path code.
There are quite a few cluster changes. I have checked them all, and one is a progression
(missing glyphs now render) and the rest are the pixel level differences expected by
having GS render a path, rather than Freetype - most are due to Freetype grid fitting to
the glyph bitmap, and GS grid fitting to the page raster.
Bug 691592 - bbox issue
Bug 691588 - anti-aliasing
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c psi/fapibstm.c]</p>
</blockquote>
<p><strong><a name="2010-09-06T101425.582663Z"></a>
2010-09-06T10:14:25.582663Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : string not being re-encoded
Bug #690441 " Files render properly with gs, but are misformatted by ps2pdf"
A Coverity fix in revision 9072 prevented a crash, but also circumvented code that was
essential to run under some conditions. (This is described by comments in the code as a
'trick'). The routine created a text string with the encoded text for a font with a
custom encoding derived from a CIDFont with an unusual CMap.
In order to avoid the potential crash, but still re-encode the string, which is
essential, the relevant portion of the code has been copied and is exercised instead of
executing 'pdf_reserve_char_code_in_pdfont()'. This produces the reencoded string we
need, but if the encoding fails, where we would have caused a crash by dereferencing a
NULL pointer, we instead return an error.
No differences expected, we obviously don't have a test case in the regression suite.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-09-03T154954.010009Z"></a>
2010-09-03T15:49:54.010009Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for hang condition in the stream logic for the luratech JPXDecode.
We need to return EOFC with the final bit of data. Found with PDF 1.7 FTS.
</pre>
<p>[base/sjpx_luratech.c]</p>
</blockquote>
<p><strong><a name="2010-09-03T083132.767708Z"></a>
2010-09-03T08:31:32.767708Z Chris Liddell</strong></p>
<blockquote>
<pre>
A Type 0 font dictionary in a PDF which contained a spurious FontDescriptor
object confused the interpreter, which resulted in creating a Font resource
directly, rather than instantiating the DescendantFonts for the Type 0.
We'll now remove the spurious entry from the Type 0 dictionary, to prevent
any on-going confusion.
No cluster differences expected.
Bug 691589
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-09-03T072106.059509Z"></a>
2010-09-03T07:21:06.059509Z Ken Sharp</strong></p>
<blockquote>
<pre>
typo, misplaced quote in revision 11684
</pre>
<p>[lib/lpgs.bat]</p>
</blockquote>
<p><strong><a name="2010-09-03T071933.619992Z"></a>
2010-09-03T07:19:33.619992Z Ken Sharp</strong></p>
<blockquote>
<pre>
Typo, misplaced quote in revision 11684
</pre>
<p>[lib/pdfopt.bat]</p>
</blockquote>
<p><strong><a name="2010-09-03T065244.087509Z"></a>
2010-09-03T06:52:44.087509Z Ken Sharp</strong></p>
<blockquote>
<pre>
More Windows batch file madness.
Guard all path expansion with quotes, since the Windows command shell processor is too
stupid to do so, even when expanding variables/arguments itself.
Add a trailing separator to the %TEMP% variable before specifying the filename, as
apparently some setups don't get a trailing separator by default. A paired separator
(ie \\) doesn't seem to cause a problem so this ought to be safe even if the setup
does have a trailing separator.
</pre>
<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/lpgs.bat lib/gslp.bat lib/ps2ps.bat lib/pftogsf.bat]</p>
</blockquote>
<p><strong><a name="2010-09-02T155750.419060Z"></a>
2010-09-02T15:57:50.419060Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove a couple of duplicated font names form the embedding white list, and reduce the
list length #define appropriately.</pre>
<p>[base/whitelst.c]</p>
</blockquote>
<p><strong><a name="2010-09-02T141539.116953Z"></a>
2010-09-02T14:15:39.116953Z Ken Sharp</strong></p>
<blockquote>
<pre>
Include the header file purely to get the prototype for the function, otherwise gcc
complains.
</pre>
<p>[base/whitelst.c]</p>
</blockquote>
<p><strong><a name="2010-09-02T135013.043694Z"></a>
2010-09-02T13:50:13.043694Z Ken Sharp</strong></p>
<blockquote>
<pre>
pdfwrite enhancement
The addition of code to test and honour the 'embedding flags' in TrueType fonts has
led to problems because PostScript producers are embedding type 42 fonts in the
PostScript which are non-embeddable and worse use a custom non-reversible encoding,
so that the resulting PDF file has garbage text when a normally encoded font is used
as a replacement.
It seems that Adobe has published a 'white list' of fonts which have been granted
at least some embeddable rights. It isn't obvious if these are fonts which were type
1 (and therefore could be converted to TrueType and get incorrect embedding rights) or
if the fonts were originally released as TrueType with the wrong embedding rights.
In any event, this list has now been added to pdfwrite; if a font is encountered which
has restricted embedding, then its name will be checked against this list, if it is
found in the list then it will be considered as embeddable. We have already
encountered one font on this list which has a slightly different name to the original
(a space was removed) so spaces in the font names are ignored.
This list will have to change over time, and we may find other examples of characters
which we want to handle specially (eg oumlaut treated as o and e)
No differences expected as this is not tested in the current regression suite.
</pre>
<p>[base/whitelst.c base/gdevpdtf.c base/devs.mak base/whitelst.h]</p>
</blockquote>
<p><strong><a name="2010-09-01T184752.658366Z"></a>
2010-09-01T18:47:52.658366Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update the release notes, dates etc for a second 9.00 release candidate
</pre>
<p>[doc/History7.htm doc/Projects.htm doc/History8.htm doc/History9.htm man/dvipdf.1 man/ps2ascii.1 doc/Use.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm man/ps2epsi.1 doc/Install.htm doc/API.htm doc/Issues.htm doc/DLL.htm doc/Drivers.htm man/pfbtopfa.1 doc/Release.htm doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm man/gs.1 man/pf2afm.1 doc/Ps2ps2.htm doc/Fonts.htm man/printafm.1 doc/Ps2pdf.htm doc/Develop.htm doc/Helpers.htm man/pdf2dsc.1 doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 man/gsnd.1 base/version.mak man/pdfopt.1 man/pdf2ps.1 man/ps2pdf.1 doc/Make.htm doc/Details8.htm doc/Details9.htm doc/Unix-lpr.htm doc/C-style.htm doc/Ps-style.htm doc/History1.htm doc/History2.htm man/gslp.1 man/wftopfa.1 doc/History3.htm man/ps2ps.1 doc/Ps2epsi.htm doc/History4.htm man/ps2pdfwr.1 doc/History5.htm doc/History6.htm]</p>
</blockquote>
<p><strong><a name="2010-09-01T174918.515475Z"></a>
2010-09-01T17:49:18.515475Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update the release notes for the second 9.00 release candidate.
</pre>
<p>[doc/History9.htm doc/News.htm doc/Details9.htm doc/Details.htm]</p>
</blockquote>
<p><strong><a name="2010-09-01T135934.488373Z"></a>
2010-09-01T13:59:34.488373Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence some compiler warnings.
Altered a static function to 'void' from 'int' as it returns no values and the callers
don't test any putative return value.
#ifdef a boolean declaration, as the code which uses it has been #ifdef'ed
Add some parameters to two functions, so that they match the prototypes, the
parameters are not used in these functions.
</pre>
<p>[base/gdevpdfk.c base/gdevpdfc.c]</p>
</blockquote>
<p><strong><a name="2010-09-01T060851.456140Z"></a>
2010-09-01T06:08:51.456140Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix to avoid issues with subtractive monochrome devices when we have transparency. The gray device pdf14 prototype is used in this case. VERY limited testing indicates that this fixes a crash with the cups device with its default settings and gives proper rendering. More complete testing is required to ensure that proper blending is being performed and to investigate the other process color models that the cups device supports (e.g. cmy). </pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-08-31T232115.562664Z"></a>
2010-08-31T23:21:15.562664Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Revert back to having pdfwrite handle what to do with PS color spaces instead of using the V4 profile that gsicc_create generates. Also, fix a few issues that existed with pdfwrites handling of those spaces, in particular adjustments are made for non D50 white points. D50 is the required white point for the ICC profile. About 189 pdfwrite test files will report differences. I went through them with bmpcmp. Since the profiles that were generated differ between gsicc_create and pdfwrite minor color differences exist. In addition, there were some regressions that existed, which this revision will fix. </pre>
<p>[psi/zcolor.c base/gdevpdfk.c psi/zimage.c base/gdevpdfc.c base/gsciemap.c]</p>
</blockquote>
<p><strong><a name="2010-08-31T153427.935572Z"></a>
2010-08-31T15:34:27.935572Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : linewidth corruption when Tr is 1
Bug #690436 " (regression) re-distilling pdf causes R graphics to go block-single-color."
The problem was cause din the pdfwrite-specific text rendering routines. When the text
render mode is 1 (stroke), the linewidth is adjusted by the current text matrix. However
the routine to do this is called each time any element of the text 'graphics state'
changes. So if multiple calls to (eg) Td were made, the linewidth would be altered
even though there had been no change in 'w'.
Fixed by getting the current linewidth before the text rendering routine, and setting
it back to this value after the text rendering routine.
No expected differences. However z400454b01d4-1.pdf seems to exhibit some minor
differences which I am unable to reproduce locally. They are so minor that bmpcmp
ignores them, and on my tests the PDF files are identical bar the date/time stamps
and other metadata. I don't believe this is a real difference.
</pre>
<p>[Resource/Init/pdf_ops.ps]</p>
</blockquote>
<p><strong><a name="2010-08-28T220455.196791Z"></a>
2010-08-28T22:04:55.196791Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement rendering of /Highlight annotation. Acrobat always uses transparency
and ignores appearance streams. Bug 691572, customer 532.
Progressions or minor differences (when the annotation has an appearance
stream) are observed in annots.pdf, CATX1385.pdf, CATX6166.pdf, CATX6508.pdf,
CATX7659.pdf, CATX8255.pdf, IA3Z4030.pdf, fts_32_3225.pdf
</pre>
<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-27T135414.847396Z"></a>
2010-08-27T13:54:14.847396Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : faulty matrix transformations for Pattern dictionaries
Bug #690398 "Geometric issue with pattern"
The problem is the definition of the default co-ordinate space. When a Pattern is at the
page level or drawn inside a form, we need to remove our 0.1 scaling in order to return
to the 'default co-ordinate space'. However, when painted on a form nested inside a
form, the default co-ordinate space is the parent form, so we don't need to undo
the scaling.
This is the same problem addressed for shading dictionaries in revision 11347.
</pre>
<p>[base/gdevpdfv.c]</p>
</blockquote>
<p><strong><a name="2010-08-27T121054.938774Z"></a>
2010-08-27T12:10:54.938774Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : FormDepth not tracked properly.
Part of the fix for Bug#690398. In order to know whether a pattern matrix should be
converted to the top level CTM, or to an enclosing Form CTM, we track the Form Depth
by noting when transparency groups begin and end (currently this is the only way to get
a form output by pdfwrite).
There was a problem with mask groups, because although pdf_begin_transparency_mask calls
pdf_begin_transparency_group, pdf_end_transparency_mask doe snot call
pdf_end_transparency_group. This resulted in the depth being incremented at the start
of the mask, but not decremented at the end, so patterns could be emitted at the page
level but with the CTM for a Form level, leading to missing content.
Fixed by decrementing the FormDepth appropriately.
</pre>
<p>[base/gdevpdft.c]</p>
</blockquote>
<p><strong><a name="2010-08-27T120246.764612Z"></a>
2010-08-27T12:02:46.764612Z regression</strong></p>
<blockquote>
<pre>
Added the ability to specify which regression test files will only be
run during nightly regression testing (i.e. not for commit regression
tests). To skip files add them, one per line, to the nightly_only.lst
file in the corresponding directory (creating this file if none exists).
See tests_private/customer_tests/nightly_only.lst for an example.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-08-26T233428.641761Z"></a>
2010-08-26T23:34:28.641761Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement rendering of /Squiggly annotation without an appearance stream.
Bug 691572, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-26T154951.752958Z"></a>
2010-08-26T15:49:51.752958Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove an unused local variable (gcc compiler warning)
No differences expected
</pre>
<p>[base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-08-24T213729.611143Z"></a>
2010-08-24T21:37:29.611143Z Chris Liddell</strong></p>
<blockquote>
<pre>
Merge a couple of corrections from the 9.00 tag.
</pre>
<p>[doc doc/History9.htm doc/News.htm doc/Details9.htm]</p>
</blockquote>
<p><strong><a name="2010-08-24T203140.602213Z"></a>
2010-08-24T20:31:40.602213Z Chris Liddell</strong></p>
<blockquote>
<pre>
Merge doc changes from 9.00 and bump version number to 9.01
</pre>
<p>[doc/Projects.htm man/dvipdf.1 man/ps2ascii.1 doc/Use.htm man/ps2epsi.1 doc/DLL.htm doc/Drivers.htm doc/Release.htm man/gs.1 doc/Ps2pdf.htm man/printafm.1 psi/psromfs.mak psi/dxmain.c toolbin/tests/check_dirs.py doc/Helpers.htm psi/dxmainc.c man/gsnd.1 man/pdfopt.1 base/version.mak Resource/Init/gs_init.ps man/ps2pdf.1 man/pdf2ps.1 doc/News.htm doc/Details8.htm doc/Make.htm doc/Unix-lpr.htm doc/Details9.htm doc/History1.htm doc/History2.htm man/wftopfa.1 doc/History3.htm doc/History4.htm doc/Details.htm man/ps2ps.1 doc/History5.htm doc/History6.htm doc/History7.htm doc/History8.htm doc/History9.htm doc/Readme.htm doc/Source.htm doc/Deprecated.htm /trunk/gs doc/Install.htm doc/Changes.htm doc/API.htm doc/Issues.htm man/pfbtopfa.1 doc/Commprod.htm doc/Xfonts.htm doc/Devices.htm doc/Language.htm psi/dmmain.c doc/Fonts.htm doc/Ps2ps2.htm man/pf2afm.1 doc/Develop.htm man/pdf2dsc.1 psi/dmmain.r doc/Psfiles.htm doc/Lib.htm doc/gs-vms.hlp man/font2c.1 doc/C-style.htm doc/Ps-style.htm man/gslp.1 doc/Ps2epsi.htm man/ps2pdfwr.1]</p>
</blockquote>
<p><strong><a name="2010-08-24T134629.931715Z"></a>
2010-08-24T13:46:29.931715Z Ken Sharp</strong></p>
<blockquote>
<pre>
Enhancement - Font copying (pdfwrite)
Bug #691573 " invalidfont in xshow". The file does in fact contain an invalidfont, the
type 42 embedded fonts are defined by adding /.notdef to the CharStrings dictionary as
if it were the Encoding array. The key /.notdef is added 256 times with values ranging
from 0 to 255. Of course only the last one is actually defined.
This means that when we come to copy the /.notdef glyph for our font copy, the type 42
GID is 255. However the font does not contain a glyph with GID 255, so the copy of the
font fails.
Although this is an illegal font, Adobe Acrobat Distiller does produce a PDF file from
it. In order to duplicate this, code has been added when copying a font. If we fail to
copy a glyph, and the glyph is /.notdef and the GID is non-zero, we try to copy a glyph
with GID 0 instead. If that fails we error out, otherwise we use the glyph with GID 0.
(TrueType font /.notdef glyph has GID 0)
This works for the supplied file but is not, of course, a guaranteed solution since
another badly formed font may not contain a glyph with GID 0.
No Expected Differences
</pre>
<p>[base/gxfcopy.c]</p>
</blockquote>
<p><strong><a name="2010-08-24T122959.958275Z"></a>
2010-08-24T12:29:59.958275Z Chris Liddell</strong></p>
<blockquote>
<pre>
In preparation for the release, add my username to real name mapping
in AUTHORS, add an initially empty History9.htm, and update News.htm
to point to it.
</pre>
<p>[doc/History9.htm doc/News.htm doc/AUTHORS]</p>
</blockquote>
<p><strong><a name="2010-08-23T164947.032287Z"></a>
2010-08-23T16:49:47.032287Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : errors in XMP metadata parsing
Bug #691562 "ERROR -15 closing pdfwrite device".
This use of a DOCINFO pdfmark exposed 3 separate bugs in pdfwrite's handling of XMP
metadata.
1) Decoding an escaped PostScript string. Unescaped characters and octal escapes worked
correctly, but non-octal escapes moved the index into the string one place too many.
2) The escape '\b' (backspace) wasn't handled and returned incorrect data. Although not
tested by this issue, the form feed (\f) also wasn't handled.
3) When converting UTF16 data to UTF-8, the end of the destination (UTF-8) buffer was
calculated incorrectly, causing a spurious buffer overrun error.
The code now handles the missing escapes, does not advance the character position after
decoding a non-octal escape and correctly defines the end of buffer. After this the
Title string displays the same in Acrobat as the same pdfmark sent through Adobe
Distiller.
No expected differences as this only affects the document metadata.
</pre>
<p>[base/gdevpdfe.c]</p>
</blockquote>
<p><strong><a name="2010-08-21T080346.086781Z"></a>
2010-08-21T08:03:46.086781Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Remove unnecessary version checks for libtiff in configure.ac.
Since the local copy is preferred over the system's (see r11635), comparing the
version of the two libraries is unnecessary.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-08-20T160722.239869Z"></a>
2010-08-20T16:07:22.239869Z Chris Liddell</strong></p>
<blockquote>
<pre>
When we produce a glyph uncached, and it's to be filled with a
pattern colour space *and* there is PDF transparency involved
force FAPI to (try to) produce an outline (for lower level
code to use as a clip) instead of a bitmap (to use as a
mask).
This does produce some pixel level differences in a few
cluster files, but improves a load of PDF 1.7 FTS jobs.
Bug 691550
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-08-19T040105.188148Z"></a>
2010-08-19T04:01:05.188148Z henrys</strong></p>
<blockquote>
<pre>
Fix bug #691564. The assignment of the target device did not use the
proper reference counting assignment procedure resulting in a lost
reference to the target device.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-08-17T143158.354019Z"></a>
2010-08-17T14:31:58.354019Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Skip opacity and unknown components during reading of JPX image data. This
improves image quality (compared to the previous state that interpreted an
opacity channel as yet another data sample) and serves as a transition to full
support of opacity in JPX images. Bug 691489, customer 532.
</pre>
<p>[base/sjpx.h psi/zfjpx.c base/sjpx.c]</p>
</blockquote>
<p><strong><a name="2010-08-17T012218.729560Z"></a>
2010-08-17T01:22:18.729560Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't include opacity channels in the number-of-components count.
Recognize general ICC profile (type 3) and construct a corresponding
ICC-based color space. Bug 691470, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-15T094903.044306Z"></a>
2010-08-15T09:49:03.044306Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure we only check the compatibility of the system libtiff
if we're actually going to use it.
No cluster differences expected.
Bug 691548
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-08-15T094221.565047Z"></a>
2010-08-15T09:42:21.565047Z Chris Liddell</strong></p>
<blockquote>
<pre>
The "shortcut" for rendering masks use by the FAPI code for uncached
glyph bitmaps (gx_image_fill_masked) is only safe, in the general case
when drawing "plain" colours to the output. For complex colour spaces
(like patterns) we must use the "long hand" version.
This causes minor pixel level differences in some cluster tests (due
to rounding differences), and some (very small) progressions: there
are differences in about 20 cluster jobs.
Bug 691549.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-08-14T211029.198491Z"></a>
2010-08-14T21:10:29.198491Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a memory corruption problem introduced by the rev. 11588 on some systems.
Free the string returned by systempapername() but don't free the static string
returned by defaultpapername() . Bug 691557.
</pre>
<p>[base/gp_upapr.c]</p>
</blockquote>
<p><strong><a name="2010-08-13T194628.340691Z"></a>
2010-08-13T19:46:28.340691Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite( : Invalid compression filter emitted.
Bug #691556 "Images compressed with the RunLengthDecode filter are invalid" A typo in
gdevpdfx.h caused the /Filter entry of an image dictionary to be written with a
trailing comma if the filter was RunLength.
No differences expected
</pre>
<p>[base/gdevpdfx.h]</p>
</blockquote>
<p><strong><a name="2010-08-12T181430.164084Z"></a>
2010-08-12T18:14:30.164084Z Till Kamppeter</strong></p>
<blockquote>
<pre>
pstoraster: Removed unneeded "-dDEBUG" from Ghostscript command line.
</pre>
<p>[cups/pstoraster.in]</p>
</blockquote>
<p><strong><a name="2010-08-12T181047.335830Z"></a>
2010-08-12T18:10:47.335830Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device: Do verbose degug logging only if compiled in debug mode. Bug 690581.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-08-12T063908.575092Z"></a>
2010-08-12T06:39:08.575092Z regression</strong></p>
<blockquote>
<pre>
Added support for regression testing of the cups device.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-08-12T025540.283339Z"></a>
2010-08-12T02:55:40.283339Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix to handle case where the profiledir is NOT set AND there is a change in the process color model for the device AFTER a profile had already been set. </pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-08-12T014217.270497Z"></a>
2010-08-12T01:42:17.270497Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement variable text rendering for widget annotations.
Bug 691536, customer 532.
</pre>
<p>[Resource/Init/pdf_main.ps Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-11T233148.385487Z"></a>
2010-08-11T23:31:48.385487Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for indeterminism issue that was introduced with changes in 16bit image handling. Last subpixel element was not getting unpacked properly. </pre>
<p>[base/gxi16bit.c]</p>
</blockquote>
<p><strong><a name="2010-08-11T230548.288399Z"></a>
2010-08-11T23:05:48.288399Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Another compiler complaint fix. Proper cast of device.</pre>
<p>[base/gdevpsdi.c]</p>
</blockquote>
<p><strong><a name="2010-08-11T213103.877037Z"></a>
2010-08-11T21:31:03.877037Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for compiler error due to implicit declaration</pre>
<p>[base/gdevpsdi.c base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-08-11T185451.837319Z"></a>
2010-08-11T18:54:51.837319Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that if the device process color model changes the profile is updated accordingly.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-08-11T161745.421152Z"></a>
2010-08-11T16:17:45.421152Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fix bug # 691532. Do not attempt to clone an image that does not exist, each completed page should have an associated image. We'd like to handle this corrupt file with a better fix, for example the absence of an end page segement is clearly a problem with respect to the specification, but Adobe and Artifex have chosen to support other "off spec" streams so more subtle and less obvious error checking is needed. Thanks to Tim Waugh for analysis on this problem.
</pre>
<p>[jbig2dec/jbig2_page.c]</p>
</blockquote>
<p><strong><a name="2010-08-11T152222.427529Z"></a>
2010-08-11T15:22:22.427529Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add some words about the ps2write device to the devices documentation.
</pre>
<p>[doc/Devices.htm]</p>
</blockquote>
<p><strong><a name="2010-08-10T164420.491267Z"></a>
2010-08-10T16:44:20.491267Z regression</strong></p>
<blockquote>
<pre>
Several minor changes to the cluster regression system, the most
signifcant of which are:
seg. faults are now reported for every case (previously they were only
reported if they were new)
skip.lst files are now checked for errors
changes to gs/psi now test the pcl/pxl/xps products since changes to
Ghostscript can affect the pdfwrite path
the tests_private/pdf/PDF_1.7_FTS repository was added
</pre>
<p>[toolbin/localcluster/clustermonitor.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-08-10T162019.775613Z"></a>
2010-08-10T16:20:19.775613Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf. </pre>
<p>[base/gxi12bit.c base/gsdevice.c base/gdevpdfk.c base/gxpcmap.c base/gxdevice.h /trunk/ghostpdl/xps/xpsgradient.c base/gdevprn.c base/gdevpsdi.c base/gscsepr.c base/gscpixel.c base/gxcmap.c base/gdevbit.c base/gxclip.c base/gxicolor.c base/gximag3x.c base/gscspace.c base/gsicc.c base/gscdevn.c base/gscolor2.c base/lib.mak base/gxiscale.c base/gsicc_manage.c base/gxcspace.h base/gscicach.c base/gdevnfwd.c base/gxdevcli.h base/gdevp14.c psi/zdevice.c base/gsicc_create.c base/gsicc_cache.c base/gdevp14.h base/gsicc_cache.h base/gxccman.c base/gscms.h base/gxclist.h psi/zusparam.c base/gxshade.c base/gxblend.c base/gsequivc.c base/gsciemap.c]</p>
</blockquote>
<p><strong><a name="2010-08-10T091550.312005Z"></a>
2010-08-10T09:15:50.312005Z Ken Sharp</strong></p>
<blockquote>
<pre>
Enhancement : pdfwrite
performance enhancement for pdfwrite when handling files with large amounts of text.
Bug #689859 "Performance comparison versions 7.07 and 8.62 on HP-UX ia64" Alex's
analysis shows that pdfwrite was spending a lot of time trying to to see if two type 1
fonts were the same before deciding whether a glyph could be added to a font, or was
already present in a font copy.
Most of the time was spent extracting and comparing /Subrs. The new code creates a hash
(MD5) of both the local and global Subrs (if present) and stores that in the type 1
'data' field in the font (16 bytes). The hashes are created by pdfwrite only as they
are required, so there is no performance penalty for rendering. The hash comparison is
considerably quicker than the long winded Subrs comparison.
For many files the performance difference is minimal but for file containing lots of
pages, mostly composed of text, there is a considerable saving. The text files run in
about 60% of the time they did before this change.
</pre>
<p>[base/gxfont1.h base/gxfcopy.c psi/zfont1.c]</p>
</blockquote>
<p><strong><a name="2010-08-10T081335.250205Z"></a>
2010-08-10T08:13:35.250205Z Chris Liddell</strong></p>
<blockquote>
<pre>
A small revision to the fix for Bug 691326: the glyphs array must have
at least one entry.
No cluster differences expected.
Bug 691343
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-08-09T004131.173587Z"></a>
2010-08-09T00:41:31.173587Z Ray Johnston</strong></p>
<blockquote>
<pre>
Free the pattern-clist devices that are created (and left for the GC to
free) when pattern-clist patterns are used with a device that is using the
clist for the page. Those that were allocated during the print_page clist
playback would be those that leaked. Since the devices were closed, this
could lead to GC referencing objects that were invalid. Related to, but
not the final fix to Bug 691527.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-08-09T000727.505245Z"></a>
2010-08-09T00:07:27.505245Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Remove spurious "cvx" operators after .pushextendedgstate and
.popextendedgstate . Do .popextendedgstate after checking that "Q"
has a correspondingh "q". Bug 691538.
</pre>
<p>[Resource/Init/pdf_ops.ps]</p>
</blockquote>
<p><strong><a name="2010-08-07T155808.066501Z"></a>
2010-08-07T15:58:08.066501Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement rendering of Widget annotation border background specified by
/BC and /BG entries of the appearance characteristics dictionary /MK.
Bug 691524, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-06T202111.891509Z"></a>
2010-08-06T20:21:11.891509Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix segfault seen with fts_17_1704.pdf when the clist playback of patterns
that had been stored as clists were attempted to be read from the clist
as bitmaps. This happened when -dMaxPatternBitmap=1000000 was used which
is smaller than the default, confusing a HACK that attempted to force
the use of the pattern-clist mode. Also remove some #if 0 idle code.
</pre>
<p>[base/gsptype1.c base/gxpcmap.c base/gxcolor2.h]</p>
</blockquote>
<p><strong><a name="2010-08-06T172216.521958Z"></a>
2010-08-06T17:22:16.521958Z Chris Liddell</strong></p>
<blockquote>
<pre>
I missed a couple of now unused variables in the previous commit.
</pre>
<p>[psi/iname.c]</p>
</blockquote>
<p><strong><a name="2010-08-06T154921.355481Z"></a>
2010-08-06T15:49:21.355481Z Ray Johnston</strong></p>
<blockquote>
<pre>
Add documentation on -dMaxPatternBitmap=# parameter in the 'Improving
Performance' section of the Use.htm file. The actual parameter was
added in rev 11605.
</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-08-06T150300.994141Z"></a>
2010-08-06T15:03:00.994141Z Chris Liddell</strong></p>
<blockquote>
<pre>
Prevent doing a gc "unmark" on memory already (potentially)
freed.
Relates to Bug 691380. I could not reproduce the seg fault
as reported, but valgrind reported the write to freed memory
in the same place as the reported seg fault.
</pre>
<p>[psi/iname.c]</p>
</blockquote>
<p><strong><a name="2010-08-06T111522.616992Z"></a>
2010-08-06T11:15:22.616992Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix pdfwrite
There is a hack in type 3 font creation in pdfwrite which increases the FontMatrix if
all the elements are very small, apparently Acrobat is unable to cope with very small
FontMatrix entries.
However, if all the entries are 0, it ends up running round a loop multiplying by 10
indefinitely. This change simply avoids the loop if all the matrix elements are 0.
Naturally this isn't a useful font, its a Quality Logic test file.
</pre>
<p>[base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-08-06T111140.511965Z"></a>
2010-08-06T11:11:40.511965Z Ken Sharp</strong></p>
<blockquote>
<pre>
Revision 11600 introduced a sever regression with text in XPS files. This revision
addresses that by only applying the fix to preserve glyph data when the text operation
is TEXT_FROM_SINGLE_GLYPH as this is the only case where the affected union is a glyph
not a pointer to a series of glyphs, and is therefore the only case which is affected.
Expected Differences: All XPS files with text should again work correctly.
</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-08-06T082720.529691Z"></a>
2010-08-06T08:27:20.529691Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revise some of the FAPI related information.
</pre>
<p>[doc/Use.htm doc/Make.htm doc/Develop.htm doc/Psfiles.htm]</p>
</blockquote>
<p><strong><a name="2010-08-06T055342.503244Z"></a>
2010-08-06T05:53:42.503244Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement rendering of standard Stamp and Text annotations. Ghostscript uses
different font than Acrobat in Stamp icons and uses the same icon for the Text
annotation regardless of the /Name attribute. Bug 691525, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-06T042459.663647Z"></a>
2010-08-06T04:24:59.663647Z Ray Johnston</strong></p>
<blockquote>
<pre>
Add a new paramter MaxPatternBitmap with a default value of 8Mb. Formerly
the pattern_clist mode would be used when the bitmap size exceeded 1Mb
and prior to rev 11___ this calculation was flawed and could allow pattern
bitmaps as large as 64Mb to avoid the pattern_clist mode. While the clist
based pattern tiling is slow, setting the threshold to 8Mb should be rare
enough to minimize performance impact. Bug 691512.
</pre>
<p>[base/gsdevice.c base/gdevp14.c base/gxdevcli.h base/gsdparam.c base/gxpcmap.c base/gxdevice.h base/gdevbit.c]</p>
</blockquote>
<p><strong><a name="2010-08-05T232612.261846Z"></a>
2010-08-05T23:26:12.261846Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device: Segmentation fault on mid-job changes of the color depth.
This patch prevents the crash by forcing a memory reallocation on
color depth changes. The approach principally works but we did not
decide yet whether it is the final solution, as Michael Vrhel is still
doing major changes in the color handling. Bug 690435.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-08-05T191611.698734Z"></a>
2010-08-05T19:16:11.698734Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix comment about no support for BITS=4
</pre>
<p>[lib/viewrgb.ps]</p>
</blockquote>
<p><strong><a name="2010-08-05T191400.403158Z"></a>
2010-08-05T19:14:00.403158Z Ray Johnston</strong></p>
<blockquote>
<pre>
Minor correction to usage string left over from when this was split out
from setupgs.
</pre>
<p>[psi/mkfilelt.cpp]</p>
</blockquote>
<p><strong><a name="2010-08-05T174036.908437Z"></a>
2010-08-05T17:40:36.908437Z Chris Liddell</strong></p>
<blockquote>
<pre>
The "show" machinery expected that even non-marking text operations
(such as stringwidth) would result in a glyph bitmap which
could be cached (assuming the glyph would be a candidate for the
cache with a normal marking operation, like show).
FAPI, however, did not create a glyph bitmap for non-marking
operations, thus the cache would receive a valid, but
"empty" glyph. This caused Postscript that used stringwidth
before a show to sometimes "lose" glyphs, by using the empty
cached glyph.
FAPI's behaviour now matches the expectations of the show/cache
management code.
Causes cluster differences in Bug688372.ps, fts_31_3111.pdf, and
14-08.PS, these are all progressions.
Bug 691517
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-08-05T154939.430735Z"></a>
2010-08-05T15:49:39.430735Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite)
A piece of data (pointer to glyph data) was stored and passed into a routine
'process_text_modify_width' which expected the glyph data to remain unchanged but
modified the text enumerator data. This doesn't work if the glyph data is a pointer
to the text enumerator data. NB the text enumerator is saved and restored around the
call.
Modified so that the calling routine makes a copy of the glyph data before calling
'process_text_modify_width'.
This should prevent 13-10.ps from entering an infinite loop.
</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-08-04T231524.779084Z"></a>
2010-08-04T23:15:24.779084Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for Bug 691504 (gs taking a long time to render a file).
Revision 8694 changes code from using a simple cast to an int to using
a call to (int)floor. This fixes problems, but costs a factor of 3 in
processing time for heavily tiled files.
Here we change to using a macro version of floor instead. This removes
the function call and NaN handling overheads and returns us to the
same kind of performance as we had before.
We apply the same change throughout the file (i.e. all the calls to (int)floor,
not just the two changed in r8694.
There is still scope for optimising this code further, but this closes the
regression.
No differences seen in local cluster testing.
</pre>
<p>[base/gxp1fill.c]</p>
</blockquote>
<p><strong><a name="2010-08-04T225904.842835Z"></a>
2010-08-04T22:59:04.842835Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement rendering of Underline and StrikeOut annotations without
appearance streams. Bug 691526, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-08-03T120247.197684Z"></a>
2010-08-03T12:02:47.197684Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix : FAPI (no bug number, discovered working on a different problem)
Another place where the FAPI code assumes that a text enumerator is a show_enum and
casts it as such. While this is true for rendering, it is not the case when capturing
glyphs for pdfwrite.
Altered the code to test if the enumerator is a show_enum and if not, to get the
graphics state from the enumerator 'pis' pointer instead if possible. Signal an error
if this is not possible.
No differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-08-03T080213.862491Z"></a>
2010-08-03T08:02:13.862491Z Ken Sharp</strong></p>
<blockquote>
<pre>
Enhancement : PDF interpreter. Bug #691503
When creating an outline (/OUT pdfmark), especially for the pdfwrite device, check the
destination page to see that it lies between FirstPage and LastPage; if it does not, then
don't emit it. This is an extension to the existing control which checked that the
destination page wasn't greater than the number of pages in the PDF file.</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2010-08-03T075650.987568Z"></a>
2010-08-03T07:56:50.987568Z Ken Sharp</strong></p>
<blockquote>
<pre>
In the section 'Using Unicode True Type fonts', replace the example CSI array with one
whose values are strings, not names. These must be string values.
</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-08-02T213029.939498Z"></a>
2010-08-02T21:30:29.939498Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Partly revert rev. 11392 that over-simplified the check for a valid obj line
in the PDF file. Use --search-- to reject impossible cases but revert to the
old logic to verify the results. Bug 691502.
</pre>
<p>[Resource/Init/pdf_rbld.ps]</p>
</blockquote>
<p><strong><a name="2010-08-02T164500.756282Z"></a>
2010-08-02T16:45:00.756282Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a compiler warning about a missing prototype for free()
caused by my previous commit.
</pre>
<p>[base/lib.mak base/gp_upapr.c]</p>
</blockquote>
<p><strong><a name="2010-08-02T134903.975996Z"></a>
2010-08-02T13:49:03.975996Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix a memory leak. Free the paper name string allocated amd
returned by libpaper.
</pre>
<p>[base/gp_upapr.c]</p>
</blockquote>
<p><strong><a name="2010-08-02T092004.666066Z"></a>
2010-08-02T09:20:04.666066Z Ken Sharp</strong></p>
<blockquote>
<pre>
Missing ';' in r11586 replaced. Should build now.</pre>
<p>[base/gdevpdfx.h]</p>
</blockquote>
<p><strong><a name="2010-08-02T090647.523074Z"></a>
2010-08-02T09:06:47.523074Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix a few minor compiler warnings from gcc. No differences expected.
</pre>
<p>[base/gdevpdfx.h base/gdevpdf.c]</p>
</blockquote>
<p><strong><a name="2010-08-02T063925.229115Z"></a>
2010-08-02T06:39:25.229115Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Applied patch to fix "imagen" output device (bug 690561).
</pre>
<p>[base/gdevimgn.c]</p>
</blockquote>
<p><strong><a name="2010-08-01T085915.942136Z"></a>
2010-08-01T08:59:15.942136Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove the now redundant --disable-cairo directives.
</pre>
<p>[toolbin/localcluster/readme toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-07-31T160737.431496Z"></a>
2010-07-31T16:07:37.431496Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove the "dead" devcairo device.
No cluster differences expected.
Bug 690009
</pre>
<p>[ghostscript.vcproj base/configure.ac base/gdevcairo.c base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-07-31T154539.194094Z"></a>
2010-07-31T15:45:39.194094Z Chris Liddell</strong></p>
<blockquote>
<pre>
Reapply r11570
Copying converted samples to the output raster used the byte
length of the input raster, rather than the byte length of
the converted data. Change to use the correct length.
Bug 691494 - credit to SaGS for the patch.
</pre>
<p>[base/gdevdbit.c]</p>
</blockquote>
<p><strong><a name="2010-07-31T150424.124204Z"></a>
2010-07-31T15:04:24.124204Z Till Kamppeter</strong></p>
<blockquote>
<pre>
No need to install Resources and iccprofiles if COMPILE_INITS=1
When COMPILE_INITS=1, the mentioned directories are not used and just waste
disk space and also confusing. Bug 689253.
</pre>
<p>[base/unixinst.mak]</p>
</blockquote>
<p><strong><a name="2010-07-31T003707.940018Z"></a>
2010-07-31T00:37:07.940018Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix the calculation of the size of the pattern bitmap by correcting the
calculation of the effective depth (bits per pixel). PaintType 2 is the
uncolored (mask == 1 bit per pixel) mode, PaintType 1 is colored, thus
needs the full target device color_info.depth bits per pixel. Bug 691514
detected running the PDF 1.7 FTS for customer 532.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T231352.534878Z"></a>
2010-07-30T23:13:52.534878Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463).
This causes a warning when building with gcc, msvc, and also DEC CC.
</pre>
<p>[base/gdevbbox.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T213419.596701Z"></a>
2010-07-30T21:34:19.596701Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463)
</pre>
<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T203848.303275Z"></a>
2010-07-30T20:38:48.303275Z Till Kamppeter</strong></p>
<blockquote>
<pre>
configure script: Hide error message when "sed" does not have a "--version" option.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-30T200921.607711Z"></a>
2010-07-30T20:09:21.607711Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Tips about cross-compiling 64-bit ghostscript on 32-bit windows
This procedure is slightly simplier(?) than the cross-compiling instruction
which Russell removed with r9807 about a year ago. Note that
ARCH_STRUCT_ALIGN_MOD mentioned in Russell's instruction was removed
r6773 (in 2006) and note also that all the "genconf" references in r9807
should be "genarch" instead.
</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-07-30T171523.787490Z"></a>
2010-07-30T17:15:23.787490Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691488.
This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470.
With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp.
</pre>
<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T171346.325084Z"></a>
2010-07-30T17:13:46.325084Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for double to float conversion warnings. Bug 691498. </pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T170659.251898Z"></a>
2010-07-30T17:06:59.251898Z Henry Stiles</strong></p>
<blockquote>
<pre>
rollback to revision 11564, 11565 broke the build</pre>
<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c contrib/gdevbjc_.h base/gdevbbox.c base/gxpcolor.h Resource/Init/gs_res.ps Resource/Init/pdf_draw.ps base/gsovrc.h base/gdevpdtf.h base/gsicc_create.c autogen.sh Resource/Init/gs_lev2.ps base/strmio.h base/configure.ac base/gdevrinkj.c base/sjpx.c base/gdevbit.c base/gximage.h base/gdevdbit.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T142707.462183Z"></a>
2010-07-30T14:27:07.462183Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691488.
This commit fixes the issues that we are seeing with the JPEG2000 images in the FTS files EXCEPT for the issues related to SmaskInData. Those images will be addressed in a separate commit and will now be handled in bug 691470.
With this commit, support is in place for faster 16 bit image rendering due to the improved ICC support, which lets us avoid the multiple conversions from 16 bit to frac to float to unsigned short to byte which occurred in the old flow. Also, the jasper interface will now, when it encounters a 16 bit or 12 bit image, use the higher bit depth renderer and pass the data along. Previously, we were truncating to 8bits in our jasper interface. These changes have been regression tested and checked with bmpcmp.
</pre>
<p>[base/gxi12bit.c base/lib.mak base/gxi16bit.c Resource/Init/gs_lev2.ps Resource/Init/gs_res.ps base/sjpx.c Resource/Init/pdf_draw.ps base/gximage.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T140814.058178Z"></a>
2010-07-30T14:08:14.058178Z Chris Liddell</strong></p>
<blockquote>
<pre>
Copying converted samples to the output raster used the byte
length of the input raster, rather than the byte length of
the converted data. Change to use the correct length.
Bug 691494 - credit to SaGS for the patch.
</pre>
<p>[base/gdevdbit.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T135952.334818Z"></a>
2010-07-30T13:59:52.334818Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for double to float conversion warnings. Bug 691498</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T113715.489627Z"></a>
2010-07-30T11:37:15.489627Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Distinguish the two uses of cdev - one from icc merge, one the from very old lpd code (bug 691463).
This causes a warning when building with gcc, msvc, and also DEC CC.
</pre>
<p>[base/gdevbbox.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T112007.130600Z"></a>
2010-07-30T11:20:07.130600Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Suppressed error message during ./configure if "sed" does not support "--version" (bug 691463)
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-30T111617.321612Z"></a>
2010-07-30T11:16:17.321612Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed unneeded ";" characters from C code to silence warnings of DEC CC (bug 691463)
</pre>
<p>[contrib/gdevbjc_.h base/gxpcolor.h base/strmio.h base/gdevrinkj.c base/gdevbit.c base/gdevpdtf.h base/gsovrc.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T111247.691429Z"></a>
2010-07-30T11:12:47.691429Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed unneeded quotes in autogen.sh.
</pre>
<p>[autogen.sh]</p>
</blockquote>
<p><strong><a name="2010-07-30T111035.977735Z"></a>
2010-07-30T11:10:35.977735Z Till Kamppeter</strong></p>
<blockquote>
<pre>
On Tru64 stdint.h does not exist but the types required by jbig2 are in inttypes.h there (bug 691463).
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-30T110327.732163Z"></a>
2010-07-30T11:03:27.732163Z Till Kamppeter</strong></p>
<blockquote>
<pre>
On Tru64 the integer types are in inttypes.h and not in stdint.h as in VMS
Bug 691463, required for jbig2dec.
</pre>
<p>[base/stdint_.h jbig2dec/os_types.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T110025.895059Z"></a>
2010-07-30T11:00:25.895059Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Replace "==" bashism by "=" in configure.ac
"==" is a bash extension. See bash's manpage recommending "=" for posix
compliance (bug 691463). This causes various tests to fail and resulted
in the link failure from mis-detecting omni.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-30T105644.338677Z"></a>
2010-07-30T10:56:44.338677Z Till Kamppeter</strong></p>
<blockquote>
<pre>
'%' in printf() needs to be '%%'
Tru64 C issues a warning (bug 691463).
</pre>
<p>[base/mkromfs.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T105330.576036Z"></a>
2010-07-30T10:53:30.576036Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Removed duplicate AC_PATH_PROG(pkg-config) check in ./configure.
The extra check caused
./configure: !: not found
messages on some platforms. Bug 691463.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-30T101447.310782Z"></a>
2010-07-30T10:14:47.310782Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Update documentation as --enable-dynamics is no longer required for "make so" to work.
</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-07-30T101041.906626Z"></a>
2010-07-30T10:10:41.906626Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Added some missing initializations in DeviceN
This should have been part of the DeviceN change. If left unset,
the code path assumes color display and goes down the color display
path and eventually segfaults. Bug 690428.
</pre>
<p>[base/gdevxcmp.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T095623.737093Z"></a>
2010-07-30T09:56:23.737093Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fix time-struct related build failure with SunStudio (bug 691453).
Apparently many platforms and compilers, including gcc and intel C,
require both <sys/time.h> and <time.h>. This patch just adds Sun Pro C
to the list of such platforms and compilers.
</pre>
<p>[base/time_.h]</p>
</blockquote>
<p><strong><a name="2010-07-30T094551.500432Z"></a>
2010-07-30T09:45:51.500432Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Avoid that the x11 output device can create huge windows which crash the X server. Bug 690444.
</pre>
<p>[base/gdevxini.c]</p>
</blockquote>
<p><strong><a name="2010-07-30T085817.493418Z"></a>
2010-07-30T08:58:17.493418Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Assorted fixes for the modularized X11 output device
All object files destined for shared libraries needed to be compiled
with -fPIC but this is not the case for gsparamx.c, gdevemap.c, and
gdevxcmp.c which are required by other parts to be built as standard.
This change makes x11 not depend on gsparamx.c and gdevemap.c (and not
geeting them included in the shared library X11.so). gsparamx.c is
part of psdf and is usually included and available, and gdevemap.c is
small enough to be inserted completely where it is used.
gdevxcmp.c is addressed by building it with $(GLCCSHARED) and not with
$(GLCC).
In addition, $(CC_SHARED) is only used for object files, rather than
for linking, so DYNAMIC_CFLAGS is more appropiate here than
DYNAMIC_LDLAGS.
Bug 691510
</pre>
<p>[base/gdevxxf.c base/Makefile.in base/devs.mak]</p>
</blockquote>
<p><strong><a name="2010-07-29T182806.621749Z"></a>
2010-07-29T18:28:06.621749Z Ray Johnston</strong></p>
<blockquote>
<pre>
Add a comment recommending -sstdout=%stderr with -sOutputFile=- to prevent
PostScript files that print from messing up the output. Bug 691507.
</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-07-29T142919.627579Z"></a>
2010-07-29T14:29:19.627579Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove unused variable left over from removal of pattern_cache_alt.
No expected changes.
</pre>
<p>[base/gsstate.c]</p>
</blockquote>
<p><strong><a name="2010-07-29T140539.594612Z"></a>
2010-07-29T14:05:39.594612Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : try not to write out invalid xref
Exposed by bug #691503. There are circumstances under which we create a reference to a
/Page object which does not yet exist (creating an outline tree for example). In this
case we create a reference to the page, and set its initial offset to the current
position in the PDF file. When we later write the real object we update the position
to reflect the point in the file where it is actually stored.
However, if we don't actually ever write the object (in the case above, because
LastPage is set before the destination page), then the object remains pointing to the
wrong location in the file. This is then written into the xref table, and this confuses
the current version of Ghostscript.
The patch creates new pages with an offset of 0 (which is always invalid because the
PDF header means the minimum offset for any object is 15). If the page is later
created then the offset gets updated. If it is not written, however, we now check in
the xref writing code to see if an object has an offset of 0. If it does, then we
break the xref table up and do not write an xref entry for the missing object.
Ghostscript is happy with this and processes the file.
NB the proper fix is to not emit the Outline entry for the page which will not be
present in the output, and a patch has been suggested to achieve this. This code has
some uses, however, as it may prevent this kind of problem in the future. It also
permits objects to be created and never referenced (presumably because they are never
used) without leaving invalid entries in the xref, which might be useful.
No expected differences.
</pre>
<p>[base/gdevpdf.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-07-29T135953.090810Z"></a>
2010-07-29T13:59:53.090810Z Chris Liddell</strong></p>
<blockquote>
<pre>
Two changes for two primarily pdfwrite problems with FAPI/FT.
The first is to only replace whichever of BuildGlyph or BuildChar
procedures the original font actually contained, replacing both
regardless confused some of "decoding" code elsewhere in GS
(op_show_continue_dispatch()) and we ended up receiving a valid
glyph to render instead of notdef. In this case we ended up incorrectly
stroking a charpath (this was seen with Quark's Type 3 "special effects"
font). With rendering output this resulted in a boldening effect on the glyph,
in pdfwrite, the result was strange extra lines through the glyph.
The second change is to due pdfwrite's use of a unit matrix for some of
its work. This resulted in small glyph metrics rounding to zero within
Freetype, and pdfwrite thinking a glyph had a width of zero. So make
the scale value at which we consider a glyph to be "small" an order of magnitude
larger, which gets compensated for in the calculation of Freetype's final
matrix.
Unfortunately this does cause ~2600 differences in the cluster tests: some
are progressions, most are pixel differences due to rounding differences
because the scaling numbers have changed in Freetype.
Fixes Bug 691383
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-07-28T184446.282683Z"></a>
2010-07-28T18:44:46.282683Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bug #691493. Revert some of the work done for gs_2_colors.
I had needlessly attempted to have 2 pattern_cache's, one for stroking
colors and one for non-stroking colors. Given that the pattern_cache is
indexed by color id number, this is not necessary as all the data can
live happily in just one instance.
This removes the problem seen in the bug (where it was getting into an
infinite loop trying to populate the cache).
Local cluster testing shows this produces 57 differences, all (I think)
non-determinisms.
</pre>
<p>[base/gsstate.c base/gxistate.h base/gsistate.c]</p>
</blockquote>
<p><strong><a name="2010-07-28T123751.588339Z"></a>
2010-07-28T12:37:51.588339Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device "cups": Improved support for rendering jobs with high memory demands.
Let Ghostscript determine the memory buffer sizes automatically (as it
does with all the other output devices) if the environment variable
RIP_MAX_CACHE is not set, zero, or does not begin with a number (like
"auto"). If RIP_MAX_CACHE defines a valid value, use the actual value
for BufferSpace and not 1/10 of it. MaxBitmap is the maximum buffer
size to be used when rendering in full page mode, BufferSpace is the
buffer size used in banding mode. Banding mode is used if MaxBitmap is
too small to hold one page. Bug 691499.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-07-28T092249.016213Z"></a>
2010-07-28T09:22:49.016213Z Robin Watts</strong></p>
<blockquote>
<pre>
Add new gp_thread_start, gp_thread_finish abstraction, and deprecate old
gs_create_thread function. Adapt multiple rendering thread code to use
this new style instead. Hopefully this should solve the problems seen
in rare cases when a test thread doesn't get scheduled until after the
DLL has exited and the code isn't around any more.
No expected differences.
This code has been tested with MSVC and on linux with pthreads. While it
should work with Borland and Watcom (as all the headers appear consistent)
I have not been able to properly test it. Therefore the code is currently
configured to fall back to the old code, thus hopefully guaranteeing that
this commit won't make the operation under Borland/Watcom any worse than
it is now. This fallback is controlled by a single define for each of
these systems in gp_wsync.c, so it's easy to test. If users can report
success with the new code we can remove the fallback trivially.
</pre>
<p>[base/gp_wsync.c base/gxclthrd.c base/gp_nsync.c base/gp_psync.c base/gxclthrd.h base/gpsync.h]</p>
</blockquote>
<p><strong><a name="2010-07-28T073652.403693Z"></a>
2010-07-28T07:36:52.403693Z Ken Sharp</strong></p>
<blockquote>
<pre>
As pointed out by SaGS in Bug #691440, comment 5(C) there was a typo in revision 11498,
a '>>' was accidentally dropped form the batch file.
</pre>
<p>[lib/ps2pdf.bat]</p>
</blockquote>
<p><strong><a name="2010-07-27T071003.221027Z"></a>
2010-07-27T07:10:03.221027Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add missing free of the new bitmap data.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-07-27T070247.392994Z"></a>
2010-07-27T07:02:47.392994Z Chris Liddell</strong></p>
<blockquote>
<pre>
Slightly revise comment for why we might need to create a new bitmap
in fapi_finish_render_aux()
No cluster differences expected.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-07-26T084833.786696Z"></a>
2010-07-26T08:48:33.786696Z Chris Liddell</strong></p>
<blockquote>
<pre>
A much better solution for Bug 691328.
The bitmap data coming from a font scaler/renderer may not have its raster
alignment as Ghostscript expects, so in the event that is the case, create
a bitmap which is GS compatible in the FAPI layer, before calling any
further operations on it.
This reverts the previous "hack" from r11362.
No cluster differences expected.
</pre>
<p>[base/gsbitops.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-07-24T225746.607791Z"></a>
2010-07-24T22:57:46.607791Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Render 3D annotations (using appearance stream) on the printer device even
if Print flag (0x4) is not set. This is done following AR8 and AR9 example
but contrary to PDF 1.7 spec. Bug 691486, customer 532.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-07-23T200128.232264Z"></a>
2010-07-23T20:01:28.232264Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Make *clean targets remove generated tif*.h files. Bug 691485.
</pre>
<p>[base/gs.mak]</p>
</blockquote>
<p><strong><a name="2010-07-23T190145.196186Z"></a>
2010-07-23T19:01:45.196186Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Remove .dividesfnts procedure, which is not needed by PS interpreter after
the introduction and use of string_array_access_proc() way back in
revision 176. FreeType doesn't require a particular way to split sfnts
either. ps2write includes procedures to create a well formed Type 42 from
a TrueType font.
The error is caused by .dividesfnts only spliting strings when the split
offset is even. The sample file has a *long* run of cases where the split
offsets are odd. When an even offset is finally found, the number of buffered
bytes exceeds the maximum length of the string causing /rangecheck error.
Thanks to Chris Liddell for the analysis of the problem.
Bug 691473, customer 532.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-07-23T092028.484085Z"></a>
2010-07-23T09:20:28.484085Z Chris Liddell</strong></p>
<blockquote>
<pre>
Commit the correct change for Bug 691427
</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2010-07-23T082243.299979Z"></a>
2010-07-23T08:22:43.299979Z Chris Liddell</strong></p>
<blockquote>
<pre>
Change the gsicc* targets from using GCFLAGS to CFLAGS. This ensure that the
options for building .so objects are correct.
Additionally, add the extra dependencies to the sodebug target so it works
correctly.
No cluster differences expected.
Bug 691427
</pre>
<p>[base/lib.mak base/unix-dll.mak]</p>
</blockquote>
<p><strong><a name="2010-07-23T025737.996803Z"></a>
2010-07-23T02:57:37.996803Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Handle the case when, contrary to the spec, default viewing optional content
configuration dictionary has /BaseState attribute equal /OFF. Mark all OCGs
/OFF and unmark ON UCGs. Bug 691491, customer 532.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2010-07-21T192614.458296Z"></a>
2010-07-21T19:26:14.458296Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691478
Note that string objects that are maintained as user params must be either allocated in non-gc memory or be a constant in the executable. The problem stems from the way userparams are retained during garbage collection in a param_list (collected by currentuserparams). For some reason this param_list does not get the pointers to strings relocated during the GC. Note that the param_dict itself is correctly updated by reloc, it is just the pointers to the strings in the param_list that are not traced and updated. In this particular case, ICCProfilesDir sets a string in the icc_manager. When a reclaim occurs, the string is relocated (when in non-gc memory and when it is noted to the gc with the proper object descriptor). Then if a set_icc_directory occurs, the user params pointer has NOT been updated and validation problems will occur. Fix for this was to make the string not known to the GC and to allocate in non-gc memory. When icc manager is deallocated, the string is also deallocated.</pre>
<p>[base/gsicc_manage.c psi/zusparam.c]</p>
</blockquote>
<p><strong><a name="2010-07-21T000316.900862Z"></a>
2010-07-21T00:03:16.900862Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that non-isolated transparency groups are rendered correctly. This fixes a rendering issue with fts_25_2524 and with a few in the test suite. A future optimization will be to avoid the extra buffer push if the blend mode is normal, since in that case we can draw directly into the parent buffer.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-07-20T094634.095118Z"></a>
2010-07-20T09:46:34.095118Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Add support for user defined huffman table.
This code adds support for segment type 53 segments, which supplies
inline huffman code table. Bug 689853.
Many thanks to Justin Greer.
</pre>
<p>[jbig2dec/jbig2_segment.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_huffman.h]</p>
</blockquote>
<p><strong><a name="2010-07-20T082305.218485Z"></a>
2010-07-20T08:23:05.218485Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Catching up to the latest jbig2dec source.
This includes following jbig2dec git commits:
commit d26c7e4f39f76fe70cc61d6dc14d05a042a9be48
Author: Masaki Ushizaka <masaki@ghostscript.com>
Date: Tue Jul 20 08:01:29 2010 +0000
Fix jbig2_image_set_pixel function prototype
The declaration of jbig2_image_set_pixel was differenct between
jbig2_image.h and jbig2_image.c (int value vs bool value). And
prevented compiling it by MSVC comiler in C++ mode.
This patch fixes it. Bug #691461.
commit c5d61c78c0de785b74b86d4e5298e3cc7b9e2b68
Author: Masaki Ushizaka <masaki@ghostscript.com>
Date: Fri Jul 16 09:13:41 2010 +0000
A little fix to allocating memory size
commit e12fa07da845515911db8be2f7cfa8ef551061ba
Author: Tor Andersson <tor.andersson@gmail.com>
Date: Thu Jul 15 00:49:09 2010 +0200
Use the jbig2_new and jbig2_renew macros instead of calling
jbig2_alloc and jbig2_realloc directly. Also adds a few typecasts
and #defines required to compile the source as C++.
commit 31dd7ef66dbd1c34df08365aa3c36e6391617f37
Author: Tor Andersson <tor.andersson@gmail.com>
Date: Thu Jul 15 00:42:38 2010 +0200
Update VERSION define in config_win32.h
commit 941b73315a166fe07e0f1a1b81171477285280f7
Author: Tor Andersson <tor.andersson@gmail.com>
Date: Thu Jul 15 00:41:46 2010 +0200
Add Makefile.unix -- a simple makefile for unix-like systems.
commit f6066822041bbffd7169fd4bfc19c48daae8f155
Author: Tor Andersson <tor.andersson@gmail.com>
Date: Thu Jul 15 00:35:58 2010 +0200
Fix memory leak of the word stream struct.
No visible difference expected.
</pre>
<p>[jbig2dec/config_win32.h jbig2dec/jbig2.c jbig2dec/jbig2_image_pbm.c jbig2dec/jbig2_metadata.c jbig2dec/jbig2_image.c jbig2dec/jbig2_huffman.c jbig2dec/jbig2_text.c jbig2dec/jbig2_priv.h jbig2dec/jbig2_image.h jbig2dec/jbig2_refinement.c jbig2dec/jbig2dec.c jbig2dec/jbig2_arith_iaid.c jbig2dec/jbig2_halftone.c jbig2dec/Makefile.unix jbig2dec/jbig2_segment.c jbig2dec/jbig2_arith.c jbig2dec/jbig2_symbol_dict.c jbig2dec/jbig2_generic.c jbig2dec/jbig2_page.c]</p>
</blockquote>
<p><strong><a name="2010-07-20T055604.938511Z"></a>
2010-07-20T05:56:04.938511Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Remove noisy warnings if embedded icc profile is not valid. In those cases, we use the default and move on. </pre>
<p>[psi/zicc.c]</p>
</blockquote>
<p><strong><a name="2010-07-19T212235.957060Z"></a>
2010-07-19T21:22:35.957060Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug691474. Source of error was due to icc hash code being read from clist after the transfer function. It should have been read prior to the transfer function. This was the first file we have seen that had a soft mask with a transfer function. Also fix for rendering of this file. The softmasks only uses the alpha channel as opposed to the luminosity of the object. Progression with CityMap-evnice.pdf in test suite. That file must have a alpha style softmask.</pre>
<p>[base/gdevp14.c base/gstparam.h]</p>
</blockquote>
<p><strong><a name="2010-07-19T154536.535276Z"></a>
2010-07-19T15:45:36.535276Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update trunk to FreeType 2.4.1
The important change (from Ghostscript's point of view) is that the previously
patented TrueType hinting operations have been enabled by default after the
expiration of the patents in question.
This change (the hinting being enabled) causes 3060 non-pdfwrite cluster
changes, and 655 pdfwrite changes - these are expected, and are
progressions.
</pre>
<p>[freetype/builds/unix/config.sub freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/builds/win32/w32-dev.mk freetype/src/type1/t1objs.h freetype/docs/reference/ft2-gasp_table.html freetype/src/pshinter freetype/docs/INSTALL.CROSS freetype/src freetype/docs/reference/ft2-lcd_filtering.html freetype/src/truetype/ttgload.c freetype/builds/win32/win32-def.mk freetype/src/type1 freetype/builds/wince/vc2005-ce freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/docs/reference/ft2-glyph_stroker.html freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/src/raster/ftrend1.h freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/builds/mac/ftmac.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/builds/amiga/include/freetype freetype/builds/mac/FreeType.m68k_cfm.make.txt freetype/src/psaux/psaux.c freetype/builds/ansi freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/docs/reference/ft2-list_processing.html freetype/include/freetype/ftcache.h freetype/src/pcf/pcfread.h freetype/builds/unix/ft2unix.h freetype/src/raster/Jamfile freetype/builds/atari/FREETYPE.PRJ freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/internal/services/svcid.h freetype/include/freetype/ftincrem.h freetype/src/lzw freetype/builds/compiler/bcc-dev.mk freetype/src/pshinter/pshalgo.h freetype/src/tools/test_afm.c freetype/src/psnames/psnamerr.h freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/vms_make.com freetype/include/freetype/freetype.h freetype/docs/INSTALL.UNIX freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfrload.c freetype/src/pfr/pfr.c freetype/builds/amiga/src freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/builds/detect.mk freetype/src/tools/ftrandom freetype/docs/reference/ft2-cache_subsystem.html freetype/builds/win32/vc2005 freetype/src/type1/t1gload.c freetype/builds/win32/vc2008 freetype/src/base/ftbbox.c freetype/builds/dos freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/docs/reference/ft2-glyph_variants.html freetype/src/bdf/bdferror.h freetype/builds/unix/aclocal.m4 freetype/src/gxvalid/rules.mk freetype/docs/reference/ft2-bdf_fonts.html freetype/src/pcf/pcf.c freetype/src/otvalid/rules.mk freetype/include/freetype/internal/services/svotval.h freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/builds/compiler/win-lcc.mk freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/builds/mac/FreeType.ppc_classic.make.txt freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/docs freetype/builds/win32/vc2005/freetype.vcproj freetype/docs/reference/.gitignore freetype/src/base/ftbase.h freetype/builds/compiler freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/builds/amiga/src/base/ftsystem.c freetype/src/bdf/bdf.h freetype/src/cff/cff.c freetype/src/gxvalid/gxvalid.c freetype/builds/win32/w32-lcc.mk freetype/include/freetype/internal/services freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/docs/reference/ft2-type1_tables.html freetype/src/autofit/afmodule.c freetype/builds/unix/detect.mk freetype/include freetype/src/autofit/afmodule.h freetype/builds/vms freetype/src/pfr/pfrcmap.c freetype/objs/README freetype/builds/dos/dos-wat.mk freetype/builds/exports.mk freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/builds/amiga/smakefile freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/builds/win32/vc2005/freetype.sln freetype/builds/mac freetype/builds/atari freetype/builds/compiler/visualage.mk freetype/builds/newline freetype/builds/vms/ftsystem.c freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/docs/reference/ft2-winfnt_fonts.html freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/builds/mac/ascii2mpw.py freetype/builds/unix/.gitignore freetype/src/raster/module.mk freetype/src/type1/t1afm.c freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/builds/win32/ftdebug.c freetype/src/tools freetype/src/type1/t1afm.h freetype/src/type1/t1tokens.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/builds/dos/dos-emx.mk freetype/src/pshinter/pshrec.h freetype/src/autofit/autofit.c freetype/builds/win32/w32-wat.mk freetype/builds/wince/vc2008-ce freetype/src/truetype/ttobjs.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/otvalid/otvgsub.c freetype/src/truetype/ttobjs.h freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/builds/win32/visualc/freetype.sln freetype/include/freetype/ftglyph.h freetype/docs/reference/ft2-gx_validation.html freetype/builds/vms/ftconfig.h freetype/builds/win32/vc2005/index.html freetype/builds/unix/unixddef.mk freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/builds/dos/detect.mk freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/builds/wince freetype/src/autofit/aflatin2.h freetype/builds/win32/w32-mingw32.mk freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/builds/link_std.mk freetype/src/cache/ftcglyph.h freetype/src/pshinter/pshinter.c freetype/src/cache/Jamfile freetype/src/tools/test_bbox.c freetype/include/freetype/internal/services/svpsinfo.h freetype/src/type42/t42types.h freetype/builds/os2/os2-dev.mk freetype/builds/mac/ftlib.prj.xml freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/raster/rastpic.h freetype/src/tools/docmaker/docbeauty.py freetype/builds/amiga/include freetype/docs/reference/ft2-incremental.html freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/builds/compiler/watcom.mk freetype/builds/dos/dos-gcc.mk freetype/src/sfnt/module.mk freetype/src/psnames freetype/docs/INSTALL freetype/src/type1/t1load.c freetype/src/gzip/inftrees.c freetype/src/gzip freetype/builds/amiga/src/base/ftdebug.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/gxvalid/gxvfeat.c freetype/src/cff/cfftoken.h freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/builds/wince/vc2008-ce/freetype.sln freetype/src/pfr/pfrsbit.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvfeat.h freetype/builds/unix/configure freetype/docs/reference/ft2-basic_types.html freetype/src/otvalid freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/include/freetype/ftmm.h freetype/builds/symbian/freetype.mmp freetype/src/base/ftglyph.c freetype/src/sfnt freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/sfnt/sfdriver.c freetype/src/psaux/afmparse.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/sfnt/sfdriver.h freetype/src/psaux/afmparse.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/docs/reference/ft2-sfnt_names.html freetype/builds/win32/visualc/freetype.vcproj freetype/builds/atari/deflinejoiner.awk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/winfonts freetype/builds/dos/dos-def.mk freetype/src/pshinter/pshpic.h freetype/builds/win32/w32-gcc.mk freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/raster.txt freetype/builds/atari/FNames.SIC freetype/builds/atari/ATARI.H freetype/src/autofit/afpic.h freetype/src/otvalid/otvgpos.c freetype/docs/reference/ft2-multiple_masters.html freetype/src/cff/cffdrivr.c freetype/docs/reference/ft2-base_interface.html freetype/src/cid/cidriver.c freetype/builds/mac/README freetype/src/otvalid/otvgpos.h freetype/include/freetype/ftgasp.h freetype/builds/unix/unix-cc.in freetype/src/autofit/afindic.c freetype/src/cff/cffdrivr.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/raster freetype/builds/unix/ft-munmap.m4 freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/docs/reference/ft2-index.html freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/builds/os2/detect.mk freetype/src/gzip/zconf.h freetype/docs/reference/ft2-user_allocation.html freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/truetype freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/builds/unix/unix-dev.mk freetype/src/otvalid/otvcommn.c freetype/src/otvalid/otvalid.c freetype/include/freetype/config/ftmodule.h freetype/src/otvalid/otvcommn.h freetype/src/otvalid/otvalid.h freetype/include/freetype/ftxf86.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/builds/win32/vc2008/freetype.sln freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/docs/reference/ft2-gzip.html freetype/builds/compiler/emx.mk freetype/include/freetype/ftstroke.h freetype/builds/unix/unix.mk freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/objs/.gitignore freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/docs/reference/ft2-toc.html freetype/docs/reference/ft2-computations.html freetype/builds/win32/visualce/freetype.dsp freetype/ChangeLog.20 freetype/src/cid/ciderrs.h freetype/src/type42/t42parse.h freetype/ChangeLog.21 freetype/builds/unix/configure.ac freetype/ChangeLog.22 freetype/builds/unix/ftconfig.in freetype/builds/beos freetype/ChangeLog.23 freetype/src/bdf/bdfdrivr.h freetype/builds/win32/visualce/freetype.dsw freetype/include/freetype/tttables.h freetype/docs/reference/ft2-quick_advance.html freetype/builds/unix/freetype2.in freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/gxvalid freetype/docs/reference/ft2-mac_specific.html freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/src/pcf/pcfdrivr.c freetype/include/freetype/internal/ftobjs.h freetype/builds/symbian/bld.inf freetype/src/gxvalid/gxvmort5.c freetype/src/psnames/Jamfile freetype/src/pcf/pcfdrivr.h freetype/builds/unix/ftsystem.c freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/builds/compiler/gcc-dev.mk freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/builds freetype/include/freetype/internal/services/svpostnm.h freetype/builds/unix/mkinstalldirs freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/docs/reference/ft2-truetype_tables.html freetype/builds/compiler/gcc.mk freetype/builds/unix/config.guess freetype/src/otvalid/Jamfile freetype/src/autofit/afloader.c freetype/include/freetype/internal/services/svkern.h freetype/builds/beos/beos-def.mk freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/sfnt/Jamfile freetype/src/psaux/psobjs.c freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/docs/reference/ft2-header_file_macros.html freetype/src/pshinter/pshnterr.h freetype/docs/reference/ft2-ot_validation.html freetype/src/base/ftcalc.c freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/psaux freetype/builds/unix/freetype2.m4 freetype/docs/reference/ft2-outline_processing.html freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/builds/win32/visualc/freetype.dsw freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/type42/rules.mk freetype/src/tools/ftrandom/Makefile freetype/src/pshinter/module.mk freetype/builds/amiga/include/freetype/config/ftmodule.h freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/builds/amiga/makefile.os4 freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/include/freetype/ftoutln.h freetype/src/cff/cffobjs.h freetype/docs/reference/ft2-truetype_engine.html freetype/builds/beos/detect.mk freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/winfonts/rules.mk freetype/src/tools/ftrandom/README freetype/src/pcf freetype/docs/CHANGES freetype freetype/src/base freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/autofit freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/builds/atari/gen-purec-patch.sh freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/docs/reference/ft2-system_interface.html freetype/builds/win32/w32-bcc.mk freetype/src/pcf/README freetype/src/gxvalid/gxvtrak.c freetype/include/freetype/internal/ftdriver.h freetype/objs freetype/include/freetype/ftgzip.h freetype/include/freetype/internal/services/svbdf.h freetype/src/base/ftrfork.c freetype/src/smooth/rules.mk freetype/src/base/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/builds/win32/w32-intl.mk freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/docs/reference/ft2-raster.html freetype/include/freetype/ftlcdfil.h freetype/src/type42/type42.c freetype/src/tools/docmaker/sources.py freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/builds/unix/unix-lcc.mk freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/autofit/aflatin.c freetype/src/truetype/ttdriver.h freetype/src/base/ftsnames.c freetype/src/pfr/pfrgload.h freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/builds/unix freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/builds/compiler/intelc.mk freetype/src/base/ftwinfnt.c freetype/src/base/ftsynth.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/lzw/ftlzw.c freetype/src/sfnt/ttbdf.h freetype/builds/win32/vc2008/freetype.vcproj freetype/builds/win32/w32-bccd.mk freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/truetype/ttinterp.h freetype/src/sfnt/ttcmap.c freetype/builds/ansi/ansi.mk freetype/include/freetype/internal/services/svmm.h freetype/src/pfr freetype/builds/compiler/ansi-cc.mk freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/builds/toplevel.mk freetype/src/truetype/tterrors.h freetype/builds/win32 freetype/builds/symbian freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/builds/win32/visualce freetype/include/freetype/internal/pshints.h freetype/builds/amiga freetype/builds/amiga/src/base freetype/builds/win32/w32-icc.mk freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/builds/wince/vc2008-ce/index.html freetype/src/psaux/psauxmod.c freetype/src/pfr/module.mk freetype/src/base/ftcid.c freetype/src/psnames/psmodule.h freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/gzip/inffixed.h freetype/src/bdf freetype/docs/reference/ft2-pfr_fonts.html freetype/src/sfnt/ttcmapc.h freetype/docs/reference freetype/builds/os2/os2-gcc.mk freetype/builds/compiler/bcc.mk freetype/builds/link_dos.mk freetype/docs/reference/ft2-cid_fonts.html freetype/include/freetype/ftwinfnt.h freetype/builds/unix/freetype-config.in freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/docs/release freetype/include/freetype/ftimage.h freetype/src/lzw/ftzopen.c freetype/src/pfr/pfrobjs.h freetype/src/lzw/Jamfile freetype/src/truetype/truetype.c freetype/Makefile freetype/src/base/fttrigon.c freetype/builds/win32/w32-vcc.mk freetype/src/lzw/ftzopen.h freetype/src/autofit/afhints.c freetype/builds/unix/install.mk freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/builds/atari/README.TXT freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/docs/reference/ft2-version.html freetype/src/smooth/Jamfile freetype/src/tools/docmaker freetype/src/gzip/adler32.c freetype/src/tools/docmaker/.gitignore freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/builds/compiler/unix-lcc.mk freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/builds/wince/ftdebug.c freetype/src/gzip/zutil.c freetype/src/sfnt/sfntpic.c freetype/builds/unix/unix-def.in freetype/src/winfonts/winfnt.h freetype/builds/os2/os2-def.mk freetype/src/smooth/smooth.c freetype/src/gzip/zutil.h freetype/src/sfnt/sfntpic.h freetype/devel freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/docs/reference/ft2-module_management.html freetype/src/gxvalid/gxvmorx4.c freetype/include/freetype/internal/pcftypes.h freetype/src/pfr/pfrerror.h freetype/src/smooth/ftgrays.h freetype/src/winfonts/Jamfile freetype/builds/beos/beos.mk freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/include/freetype/config freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/docs/reference/ft2-font_formats.html freetype/src/otvalid/module.mk freetype/include/freetype/internal/services/svpscmap.h freetype/ChangeLog freetype/include/freetype/fttrigon.h freetype/builds/win32/visualc freetype/src/cache/ftcmanag.c freetype/docs/FTL.TXT freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/builds/mac/FreeType.ppc_carbon.make.txt freetype/builds/wince/vc2005-ce/freetype.sln freetype/docs/reference/ft2-sizes_management.html freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/cff freetype/include/freetype/internal/services/svtteng.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/builds/modules.mk freetype/src/smooth freetype/docs/reference/ft2-bitmap_handling.html freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/builds/freetype.mk freetype/include/freetype/internal/ftpic.h freetype/src/type42 freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/builds/unix/install-sh freetype/src/psnames/psnames.c freetype/builds/os2 freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/cache freetype/src/smooth/ftsmerrs.h freetype/src/type42/t42objs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/builds/amiga/include/freetype/config/ftconfig.h freetype/src/psaux/t1decode.c freetype/docs/reference/ft2-glyph_management.html freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/builds/ansi/ansi-def.mk freetype/src/otvalid/otvjstf.c freetype/src/type42/module.mk freetype/src/cff/cffgload.c freetype/src/autofit/aferrors.h freetype/src/gxvalid/gxvlcar.c freetype/builds/amiga/makefile freetype/include/freetype/internal/services/svsfnt.h freetype/src/bdf/README freetype/src/base/ftinit.c freetype/src/cff/cffgload.h freetype/src/cache/ftccback.h freetype/include/freetype/internal freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/docs/reference/ft2-lzw.html freetype/src/tools/Jamfile freetype/builds/win32/detect.mk freetype/builds/unix/ltmain.sh freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/gxvalid/gxvcommn.c freetype/src/cff/cffload.c freetype/include/freetype freetype/src/autofit/afangles.h freetype/builds/compiler/visualc.mk freetype/src/gxvalid/gxvcommn.h freetype/src/cff/cffload.h freetype/builds/mac/FreeType.m68k_far.make.txt freetype/builds/amiga/include/freetype/config freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cid freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/builds/amiga/README freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p>
</blockquote>
<p><strong><a name="2010-07-18T053008.091459Z"></a>
2010-07-18T05:30:08.091459Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Implement halftones type 6, 10, 16 in PDF interpreter.
Use default halftone when the halftone type is incorrect.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-07-18T000337.786299Z"></a>
2010-07-18T00:03:37.786299Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Recognize enumerated color space #12 as CMYK following JPX baseline spec.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-07-17T212339.853613Z"></a>
2010-07-17T21:23:39.853613Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Re-implement handling of named page sizes to avoid dependence on
the definitions of compatibility operators (a4, letter, etc.)
in userdict. Bug 691458.
</pre>
<p>[Resource/Init/gs_init.ps Resource/Init/gs_setpd.ps Resource/Init/gs_statd.ps]</p>
</blockquote>
<p><strong><a name="2010-07-17T000709.985181Z"></a>
2010-07-17T00:07:09.985181Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Remove unused variables CC_D and CC_INT from all makefiles.
</pre>
<p>[psi/os2.mak base/unixhead.mak base/bcwin32.mak base/openvms.mak base/watcw32.mak base/msvccmd.mak base/wccommon.mak]</p>
</blockquote>
<p><strong><a name="2010-07-16T204049.337914Z"></a>
2010-07-16T20:40:49.337914Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix the bug that prevented recognition of GenericResourceDir/Category/Name
as a valid resource path and required inclusion of GenericResourceDir in
the search path to find the same resource by searching.
New procedure does the following:
1. Returns GenericResourceDir/Category/Name if it exists.
2. Searches for Category/Name in LIBPATH. Returns actual path if found.
3. For non-existing resources return the same path as (1).
Old implementation added GenericResourceDir twice, didn't close files,
used system memory, called expensive procedures twice, etc.
Regression testing shows trivial differences in 23-07.ps, which prints
the length of ResourceFileName procedure.
This is a partial fix for bug 691408.
</pre>
<p>[Resource/Init/gs_res.ps]</p>
</blockquote>
<p><strong><a name="2010-07-16T195803.971410Z"></a>
2010-07-16T19:58:03.971410Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Prepend icc directory to device profile name if the default name is used so that we have it during clist reading. This is a fix for the iccprofiles/ problem in 691408 when compile inits is not used. Also, fix so that the profile name is allocated in non-gc memory. This was a source of issues with the userparams dict not seeming to be traced or at least not getting its members relocated if a profile in the icc manager was relocated. This fixes the breaking of the psdcmyk device in rev 11499. Also removal of spurious warning messages.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-07-15T204206.487509Z"></a>
2010-07-15T20:42:06.487509Z Ray Johnston</strong></p>
<blockquote>
<pre>
Change pdf14_put_image so that the gx_default_begin_typed_image will
be able to call the device's 'begin_image' which is often hooked for
device specific (hardware accelerated) image rendering. This avoids
the default image rendering which results in LOTS of fill_rectangle
calls. Found with customer 532.
</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-07-15T192838.670595Z"></a>
2010-07-15T19:28:38.670595Z Ray Johnston</strong></p>
<blockquote>
<pre>
The other half of the version.mak change.
</pre>
<p>[Resource/Init/gs_init.ps]</p>
</blockquote>
<p><strong><a name="2010-07-15T181417.190964Z"></a>
2010-07-15T18:14:17.190964Z Ray Johnston</strong></p>
<blockquote>
<pre>
Update version to 9.00 PRE-RELEASE (with a bogus date, but before Aug 1)
This will serve to notify folks what the next release will be (not 8.72)
</pre>
<p>[base/version.mak]</p>
</blockquote>
<p><strong><a name="2010-07-15T144939.770856Z"></a>
2010-07-15T14:49:39.770856Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Improve Ghostscript operation when current directory is not included in the
search path.
1. Make file path separators at the end of LIBPATH entries optional to reduce
the number of trivial configuration errors.
2. Search LIBPATH list for valid iccprofiles/ directory as a sibling to
(Resource) and set it as a default to ensure a valid default.
This code follows /GenericResourceDir example.
3. Make sure that the path name derived from /GenericFontDir is is not
searched but other font file names are searched. Earlier code relied on
a feature of .libfile not searching for an absolute path and failed
when the path was relative.
Partial fix for bugs 691350, 691408.
</pre>
<p>[Resource/Init/gs_lev2.ps Resource/Init/gs_fonts.ps Resource/Init/gs_res.ps]</p>
</blockquote>
<p><strong><a name="2010-07-15T054255.376283Z"></a>
2010-07-15T05:42:55.376283Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add copying default ICC profiles to disk-install location. This is necessary
for the builds with COMPILE_INITS=0, which looks for ICC profiles on disk.
Thanks to Hin-Tak for the patch. Bug 691449.
</pre>
<p>[base/unixinst.mak]</p>
</blockquote>
<p><strong><a name="2010-07-14T212533.726848Z"></a>
2010-07-14T21:25:33.726848Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Allow the CUPS Raster backend alternatively output compressed (version 2) CUPS Raster data (bug #689885).
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-07-13T183029.088597Z"></a>
2010-07-13T18:30:29.088597Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure the local variable into which we read Truetype cmap table data (platform ID, encoding ID etc) is actually large enough to hold all the data we read into it.
Bug 691452 (part 1)
No cluster differences expected.</pre>
<p>[base/gsfcid2.c]</p>
</blockquote>
<p><strong><a name="2010-07-13T082456.010563Z"></a>
2010-07-13T08:24:56.010563Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update the documentation on producing PDF/X to make it clear that -sProcessColorModel
is an absolute requirement, even when using -dUseCIEColor, and that the PDFA_def.ps
file must be edited, at the very least to alter the ICCProfile entry.
Also made some minor syntax changes in PDF/A and PDF/X documentation for greater clarity.
</pre>
<p>[doc/Ps2pdf.htm]</p>
</blockquote>
<p><strong><a name="2010-07-13T070459.625768Z"></a>
2010-07-13T07:04:59.625768Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 691444. Issue was introduced when interpolation max output range was set to be 65535 so that the output could be fed directly into CMM. Problem was for HT output devices like pbmraw the interpolation filter ignored the max range setting and used a max value of the frac range as output. This fixes a number of files that had regressions. Files checked with bmpcmp.</pre>
<p>[base/sidscale.c]</p>
</blockquote>
<p><strong><a name="2010-07-13T012010.578834Z"></a>
2010-07-13T01:20:10.578834Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug 691445. pdf14 mapping procs were not paying attention to the trans device in the imager state. bmpcmp showed that this fixed several files.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-07-12T150357.186505Z"></a>
2010-07-12T15:03:57.186505Z Chris Liddell</strong></p>
<blockquote>
<pre>
In the event the FAPI code has to replace the FontBBox array, make sure the new array is marked executable.
No cluster differences expected.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-07-11T152614.804339Z"></a>
2010-07-11T15:26:14.804339Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for overprint regressions introduced with icc branch merge. Review of bmp compares reveals that this fixes a number of issues hence the large number of differences with the commit. There is one regression introduced with this commit, which is IA3Z0302.pdf.pdf.pkmraw.300 page 2 a bug will be opened for this. Also, review of Atona_Technical_1v1_x3.pdf.pam.72 reveals there some overprint issues may still exist with bitmap and halftone image overprinting on top of spotcolors when Overprint is true and and Overprint mode is set to On. This issue may have existed prior to the icc commit. Will open a bug to investigate.</pre>
<p>[base/gsicc_create.c base/gxcspace.h base/gscspace.c base/gsicc.c]</p>
</blockquote>
<p><strong><a name="2010-07-10T012854.795367Z"></a>
2010-07-10T01:28:54.795367Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix 'status' operator to return false when the IODevice prefix is
not found instead of undefinedfilename. Found while working on 691408.
</pre>
<p>[psi/zfile.c]</p>
</blockquote>
<p><strong><a name="2010-07-09T183119.790276Z"></a>
2010-07-09T18:31:19.790276Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix to use stable memory for profiledir in icc_manager structure and change
all 'current_' functions to return the actual value set, the default, or
an empty string if no default. Also set the default ICCProfilesDir to
%rom%iccprofiles which will work if COMPILE_INITS=1. This should also be
set by the PS init code (see bug 691408).
</pre>
<p>[psi/zusparam.c]</p>
</blockquote>
<p><strong><a name="2010-07-09T094017.170342Z"></a>
2010-07-09T09:40:17.170342Z Ken Sharp</strong></p>
<blockquote>
<pre>
Improve Windows batch files.
Bug #691440 "Windows bat files use relative paths and write to non-temp dir"
As suggested by Bjorn Martensson in bug #691440. Altered all batch files which call
other batch files so that they prepend the call with the location the original
batch file was executed from. This allows batch files such as ps2pdf.bat to be called
from locations other than the Ghostscript 'lib' directory.
Also altered the location of temporary files created by the batch files to the Windows
temporary folder by using the %TEMP% environment variable. If this variable is not set
for some reason then this will still default to the current directory, as it does now.
This allows batch files to be run from directories which are read only.
Since these files are not used by our (Linux) cluster there will be no differences. I
have tested a number of the scripts, but not all of them. The ones I have tested seem
to work well.
I finally found a reference which states that the %~d batch parameter was introduced
to Windows in NT4, this means that these batch files will likely fail on older versions
of Windows (ie Windows 3.x/95/98). I don't believe we need to support such antiquated
Operating Systems any further.</pre>
<p>[lib/pf2afm.bat lib/gsdj500.bat lib/ps2ascii.bat lib/ps2pdfxx.bat lib/lpr2.bat lib/gsndt.bat lib/gstt.bat lib/eps2eps.bat lib/pdf2dsc.bat lib/gsbj.bat lib/ps2epsi.bat lib/gsdj.bat lib/dumphint.bat lib/ps2ps2.bat toolbin/msvcxml.bat lib/gsnd.bat lib/font2c.bat lib/pdfopt.bat lib/gst.bat lib/pdf2ps.bat lib/ps2pdf.bat lib/gslj.bat lib/bdftops.bat lib/pfbtopfa.bat lib/ps2pdf12.bat lib/ps2pdf13.bat lib/ps2pdf14.bat lib/gslp.bat lib/lpgs.bat lib/ps2ps.bat lib/pftogsf.bat]</p>
</blockquote>
<p><strong><a name="2010-07-08T200159.912724Z"></a>
2010-07-08T20:01:59.912724Z Robin Watts</strong></p>
<blockquote>
<pre>
Extend the experimental ENABLE_TRAP_AMALGAMATION code to the
TEMPLATE_slant_into_trapezoids cases too. The current code generates 3
trapezoids; the new code will (if the option is enabled) attempt to
amalgamate the top/bottom traps into the middle one.
Enabling this code (but disabling the existing code for trap amalgamation)
shows no differences. Enabling all the trap amalgamation code shows 888
differences, all fairly innocuous.
As this code is going in disabled, no cluster differences are expected.
</pre>
<p>[base/gxfillts.h base/gxfill.c]</p>
</blockquote>
<p><strong><a name="2010-07-08T162020.892723Z"></a>
2010-07-08T16:20:20.892723Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Update the Ghostscript man page to reflect the new default for -P option
made by the rev. 11494.
</pre>
<p>[man/gs.1]</p>
</blockquote>
<p><strong><a name="2010-07-07T212755.422122Z"></a>
2010-07-07T21:27:55.422122Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
clusterpush.pl with no options now tests language_switch build as well as gs, pcl, and xps.
Also some minor documentation improvements.
</pre>
<p>[toolbin/localcluster/clusterpush.pl toolbin/localcluster/readme]</p>
</blockquote>
<p><strong><a name="2010-07-07T174709.812924Z"></a>
2010-07-07T17:47:09.812924Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Dont't search for initialization files in the current directory first
by default because this leads to well-known security and confusion problems.
Do this only on the user's request by -P switch. Also revert rev. 11468,
which is no longer needed. Bug 691350.
</pre>
<p>[base/openvms.mmk psi/zfile.c doc/Use.htm base/bcwin32.mak base/ugcclib.mak base/Makefile.in base/unix-gcc.mak base/macos-mcp.mak toolbin/msvcxml.bat psi/os2.mak base/watclib.mak base/openvms.mak base/macosx.mak base/watcw32.mak psi/msvc32.mak base/unixansi.mak base/msvclib.mak]</p>
</blockquote>
<p><strong><a name="2010-07-07T134957.894248Z"></a>
2010-07-07T13:49:57.894248Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix : temporary memory device not finalized.
clist_init_data creates a temporary memory device in order to "get the memory planarity
set up", using a local variable to hold the device. When the function exits the
variable goes out of scope and disappears.
Because the memory device is a forwarding device it increments the reference count of
its target, but because it is never finalized it does not decrement the reference count
when it is destroyed, leading to an incorrect target reference count.
This only affects pdfwrite at present, but it prevents valid PDF files being written
because the file is only terminated when the pdfwrite device reference count reaches
0 and the pdfwrite device is closed.
Added calls to finalize the device before discarding it.
No expected differences.
</pre>
<p>[base/gxclist.c]</p>
</blockquote>
<p><strong><a name="2010-07-06T222732.077335Z"></a>
2010-07-06T22:27:32.077335Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Increase the max number of color components to 14 to accomodate a new
record (13) found in the wild. Bug 691425.
</pre>
<p>[base/gsccolor.h]</p>
</blockquote>
<p><strong><a name="2010-07-06T092540.558632Z"></a>
2010-07-06T09:25:40.558632Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Named destinations with no /Page not working properly
Bug #691344 "REGRESSION: ps2pdf of 8.70 generates correct hyperlinks but not ps2pdf of
8.71"
The revisions 9779 and 9788 fixed a problem where DOCVIEW pdfmarks without a /Page or
/View entry were producing invalid PDF files, and a problem with DEST pdfmarks arising
from it.
Because DOCVIEW and DEST pdfmarks share some common code in pdfwrite to create a
Destination annotation in the outptu PDF, this still left some confusion in the code.
The problem was that DOCVIEW pdfmarks need not contain Page or View data, but named
destinations *must*, but pdfmarks need not specify, in which case the current page is
used.
Added a parameter to pdf_make_dest which allows us to differentiate the two cases and
use the current page number for a named destination if no page is supplied.
The regression suite can't test this non-printing feature, so no differences are
expected.
</pre>
<p>[base/gdevpdfm.c]</p>
</blockquote>
<p><strong><a name="2010-07-06T070453.806003Z"></a>
2010-07-06T07:04:53.806003Z Ken Sharp</strong></p>
<blockquote>
<pre>
Improve handling an error condition as suggested by Alex Cherepanov in Bug #691435,
comment 9. </pre>
<p>[base/gdevpdfj.c]</p>
</blockquote>
<p><strong><a name="2010-07-06T001144.270183Z"></a>
2010-07-06T00:11:44.270183Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix BAND_LIST_STORAGE=memory to handle files that create compressed memory
files > 2Gb. Also add code to make the reporting of these file sizes a bit
better, but portability may still be an issue. Reference Bug 690199 for
customers 850 and 531.
</pre>
<p>[base/gxclmem.c base/gxclist.c]</p>
</blockquote>
<p><strong><a name="2010-07-05T235146.696108Z"></a>
2010-07-05T23:51:46.696108Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Replace all '==' executable names with '//== exec' in Ghostscript start-up
code because MS driver redefines '==' in a way that requires write access to
the top dictionary, and this is not always the case. Bug 689957.
</pre>
<p>[Resource/Init/gs_cmap.ps Resource/Init/gs_pdfwr.ps Resource/Init/pdf_main.ps Resource/Init/gs_resmp.ps Resource/Init/pdf_font.ps Resource/Init/gs_fonts.ps Resource/Init/pdf_base.ps Resource/Init/pdf_sec.ps Resource/Init/gs_ttf.ps Resource/Init/pdf_draw.ps Resource/Init/gs_cff.ps Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-07-05T161838.343520Z"></a>
2010-07-05T16:18:38.343520Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Set svn:ignore property for all remaining generated files in jasper,
jbig2dec, and tiff directories.
</pre>
<p>[tiff/contrib/iptcutil tiff/contrib/tags tiff/build tiff/tools tiff tiff/contrib tiff/contrib/mac-mpw tiff/contrib/acorn tiff/html jasper/src/libjasper/include/jasper tiff/contrib/mac-cw tiff/contrib/dbs tiff/html/images tiff/man tiff/contrib/win_dib tiff/html/man tiff/libtiff tiff/test tiff/contrib/addtiffo jbig2dec tiff/port tiff/contrib/ras tiff/contrib/mfs tiff/contrib/pds tiff/contrib/dbs/xtiff tiff/contrib/stream]</p>
</blockquote>
<p><strong><a name="2010-07-05T151009.278642Z"></a>
2010-07-05T15:10:09.278642Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add a pair of parentheses to silence a gcc compiler warning. Also extend the comment
slightly to be a little more informative.
No differences expected.
</pre>
<p>[base/gdevpdfj.c]</p>
</blockquote>
<p><strong><a name="2010-07-05T051316.304757Z"></a>
2010-07-05T05:13:16.304757Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Use the presence of /CIDSystemInfo instead of /Subtype value to decide
whether the object is a CID font. The former is required by Acrobat, the
latter appears to be ignored by Acrobat, and so may be wrong. Bug 691426.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-07-05T012343.139942Z"></a>
2010-07-05T01:23:43.139942Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
test for emptiness of HAVE_FONTCONFIG is better than non-yes-ness of enable_fontconfig; fine-tuning of r11448 to --disable-cairo when fontconfig is not available or user-disabled</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-07-05T011830.861454Z"></a>
2010-07-05T01:18:30.861454Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
new/renamed documentation file libpng-1.2.44.txt missed in r11482 for libpng 1.2.42->1.2.44 upgrade</pre>
<p>[libpng/libpng-1.2.44.txt]</p>
</blockquote>
<p><strong><a name="2010-07-04T190417.740307Z"></a>
2010-07-04T19:04:17.740307Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Reaplly Hin-Tak's patch, rev. 11453, which was rolled back by the rev. 11462.
Apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug
fixes - CVE-2010-1205. Bug 691438.
</pre>
<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/projects/wince.txt libpng/libpng.3 libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p>
</blockquote>
<p><strong><a name="2010-07-03T002940.754683Z"></a>
2010-07-03T00:29:40.754683Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
missed linker defines needed to build under 64-bit windows in a previous commit r11388 for bug 691302</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-07-01T215829.492747Z"></a>
2010-07-01T21:58:29.492747Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Bubble up of error when allocation of default profile cmm handle fails. Fix for bug 691429</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T211355.381754Z"></a>
2010-07-01T21:13:55.381754Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
revert r11469(r11455) - wrong fix to bug 690428</pre>
<p>[base/gdevxcmp.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T190829.177579Z"></a>
2010-07-01T19:08:29.177579Z Ken Sharp</strong></p>
<blockquote>
<pre>
Enhancement (pdfwrite) : Fall back to Flate instead of JPEG when an image turns out
short.
Bug #691435 "any PDFSETTINGS besides /default gives dictfull error"
There are two problems; firstly when an error is encountered closing a filter the
error code (-1 or -2 usually) is returned and interpreted as a regular GS error,
resulting in ridiculous error messages. Modified to return ioerror instead.
Secondly, when an image terminates with insufficient data and pdfwrite is creating a
DCT encoded image, we can't complete the image. In this case try to fall back to the
simple Flate compressed stream instead.
No differences expected.
</pre>
<p>[base/gdevpdfj.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T171423.564053Z"></a>
2010-07-01T17:14:23.564053Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 691431. This was caused by a PS CIE color space being used for a transparency group color space. That really should not be allowed since those color spaces are unidirectional. They are installed though when -dUseCIEColor is used with a PDF file that has transparency. Solution is to use the default ICC profiles for the group color space when this occurs.</pre>
<p>[base/gstrans.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T121920.914734Z"></a>
2010-07-01T12:19:20.914734Z Robin Watts</strong></p>
<blockquote>
<pre>
Revert revision 11472 as it breaks almost every file in the cluster tests,
and it's preventing other meaningful work being done.
</pre>
<p>[base/gp_unifn.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T004157.037474Z"></a>
2010-07-01T00:41:57.037474Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
reapply 11457</pre>
<p>[base/gs_dll_call.h]</p>
</blockquote>
<p><strong><a name="2010-07-01T004043.889090Z"></a>
2010-07-01T00:40:43.889090Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
reapply 11456</pre>
<p>[base/gp_unifn.c]</p>
</blockquote>
<p><strong><a name="2010-07-01T003616.428446Z"></a>
2010-07-01T00:36:16.428446Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
reapply 11454 for outdated config.guess config.sub. see original commit log</pre>
<p>[jpeg/config.guess jpeg/config.sub]</p>
</blockquote>
<p><strong><a name="2010-07-01T003305.624689Z"></a>
2010-07-01T00:33:05.624689Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
typo that causes linker error if one does not do make clean between builds</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2010-07-01T000022.982087Z"></a>
2010-07-01T00:00:22.982087Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
reapply r11455 - see original commit log for details</pre>
<p>[base/gdevxcmp.c]</p>
</blockquote>
<p><strong><a name="2010-06-30T233411.835858Z"></a>
2010-06-30T23:34:11.835858Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
security patch from Werner Fink, to disable loading init files from group/world-writable directories - bug 691350</pre>
<p>[psi/zfile.c]</p>
</blockquote>
<p><strong><a name="2010-06-30T221202.295636Z"></a>
2010-06-30T22:12:02.295636Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Initialize profile member variables that are part of serialization. Fix for Bug 691433
</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-06-29T180629.735123Z"></a>
2010-06-29T18:06:29.735123Z Henry Stiles</strong></p>
<blockquote>
<pre>
remove obsolete clusterpush scripts.
</pre>
<p>[/trunk/ghostpdl/tools/clusterpush.sh toolbin/clusterpush.sh]</p>
</blockquote>
<p><strong><a name="2010-06-29T171745.269232Z"></a>
2010-06-29T17:17:45.269232Z Henry Stiles</strong></p>
<blockquote>
<pre>
revert back to 11450.
</pre>
<p>[/trunk/ghostpdl/main/pcl6_gcc.mak libpng/pngrtran.c libpng/scripts/makefile.gcmmx base/ugcclib.mak libpng/contrib/pngminim/encoder/gather.sh /trunk/ghostpdl/xps/xpspath.c base/unix-gcc.mak libpng/scripts/makefile.sgi base/gp_unifn.c base/macos-mcp.mak libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc /trunk/ghostpdl/main/pcl6_msvc.mak libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def base/macosx.mak libpng/scripts/makefile.nommx libpng/scripts/makefile.linux jpeg/config.guess base/unixansi.mak libpng/pngmem.c base/msvclib.mak libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu jpeg/config.sub libpng/scripts/libpng-config-head.in libpng/scripts/makefile.elf libpng/png.h base/lib.mak libpng/CMakeLists.txt libpng/pngrio.c libpng/Y2KINFO libpng/pngpread.c libpng/scripts/makefile.netbsd /trunk/ghostpdl/xps/xps_msvc.mak libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc /trunk/ghostpdl/xps/xpsglyphs.c libpng/README doc/Make.htm libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 /trunk/ghostpdl/language_switch/pspcl6_msvc.mak libpng/libpng-1.2.42.txt libpng/contrib/pngminim/preader/makefile libpng/libpng-1.2.44.txt libpng/scripts/makefile.solaris base/Makefile.in libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh /trunk/ghostpdl/xps/xpstile.c /trunk/ghostpdl/xps/xpsgradient.c libpng/scripts/makefile.hp64 base/gs_dll_call.h libpng/scripts/makefile.aix libpng/scripts/makefile.mingw libpng/scripts/png32ce.def /trunk/ghostpdl/common/msvc_top.mak libpng/scripts/makefile.beos base/watclib.mak /trunk/ghostpdl/xps/xpsopacity.c libpng/scripts/makefile.ne12bsd libpng/pngread.c /trunk/ghostpdl/xps/xpspage.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/example.c libpng/projects/wince.txt base/bcwin32.mak libpng/scripts/makefile.so9 libpng/pngconf.h libpng/pngwrite.c libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c base/openvms.mak base/gdevxcmp.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec base/watcw32.mak base/unix-dll.mak libpng/scripts/README.txt libpng/scripts/makefile.cygwin psi/msvc32.mak libpng/pngtest.c libpng/ANNOUNCE /trunk/ghostpdl/xps/xpsimage.c libpng/scripts/libpng.pc.in]</p>
</blockquote>
<p><strong><a name="2010-06-29T070829.009258Z"></a>
2010-06-29T07:08:29.009258Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
more cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub) ; this one depends on features of GNU make, so it is added as comments to avoid breaking build with non-GNU make</pre>
<p>[base/unix-dll.mak]</p>
</blockquote>
<p><strong><a name="2010-06-29T070545.877229Z"></a>
2010-06-29T07:05:45.877229Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
avoid re-define _Windows if it is already defined; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre>
<p>[base/gs_dll_call.h]</p>
</blockquote>
<p><strong><a name="2010-06-29T070425.796552Z"></a>
2010-06-29T07:04:25.796552Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
cygwin is one platform which uses the unix file name interface but is sensitive to binary/text mode; one of the cygwin/mingw-related patches from Jan Nieuwenhuizen (lilypond/gub)</pre>
<p>[base/gp_unifn.c]</p>
</blockquote>
<p><strong><a name="2010-06-29T064759.438186Z"></a>
2010-06-29T06:47:59.438186Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
gx_device_has_color() was changed 8 years ago in the deviceN commit (r2925),
from just color_info.numcomponents > 1 to
|| (dev)->color_info.gray_index == GX_CINFO_COMP_NO_INDEX .
This has some unfortunate side-effect for continuous tone gray devices which
doesn't support transparency, such as a 8-bit gray X11 display, which goes
down the wrong code path. These are quite rare so it took 7 years for the bug
(bug 690428) to be seen.
</pre>
<p>[base/gdevxcmp.c]</p>
</blockquote>
<p><strong><a name="2010-06-29T060526.121392Z"></a>
2010-06-29T06:05:26.121392Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
updating jpeg config.sub config.guess to that from libpng 1.2.44; bug 690486</pre>
<p>[jpeg/config.guess jpeg/config.sub]</p>
</blockquote>
<p><strong><a name="2010-06-29T053019.407679Z"></a>
2010-06-29T05:30:19.407679Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
apply diff between stock 1.2.42 <-> 1.2.44 to upgrade to libpng 1.2.44 - bug fixes - CVE-2010-1205</pre>
<p>[libpng/pngrtran.c libpng/scripts/makefile.gcmmx libpng/contrib/pngminim/encoder/gather.sh libpng/scripts/makefile.sgi libpng/scripts/makefile.sco libpng/scripts/makefile.hpgcc libpng/KNOWNBUG libpng/projects/xcode/libpng.xcodeproj/project.pbxproj libpng/scripts/pngos2.def libpng/scripts/makefile.nommx libpng/scripts/makefile.linux libpng/pngmem.c libpng/png.c libpng/contrib/pngminim/decoder/gather.sh libpng/scripts/makefile.64sunu libpng/scripts/makefile.elf libpng/scripts/libpng-config-head.in libpng/png.h libpng/CMakeLists.txt libpng/pngrio.c libpng/pngpread.c libpng/Y2KINFO libpng/scripts/makefile.netbsd libpng/pngwio.c libpng/pngrutil.c libpng/scripts/makefile.hpux libpng/scripts/makefile.darwin libpng/scripts/makefile.sggcc libpng/README libpng/contrib/pngminim/decoder/makefile libpng/scripts/makefile.32sunu libpng/libpngpf.3 libpng/scripts/makefile.solaris-x86 libpng/libpng-1.2.42.txt libpng/libpng-1.2.44.txt libpng/contrib/pngminim/preader/makefile libpng/scripts/makefile.solaris libpng/pngwtran.c libpng/contrib/pngminim/preader/gather.sh libpng/scripts/makefile.mingw libpng/scripts/makefile.aix libpng/scripts/makefile.hp64 libpng/scripts/png32ce.def libpng/scripts/makefile.beos libpng/scripts/makefile.ne12bsd libpng/pngread.c libpng/scripts/pngw32.def libpng/pngget.c libpng/INSTALL libpng/scripts/makefile.cegcc libpng/CHANGES libpng/contrib/pngminim/encoder/makefile libpng/libpng.3 libpng/projects/wince.txt libpng/example.c libpng/scripts/makefile.so9 libpng/pngwrite.c libpng/pngconf.h libpng/pngset.c libpng/LICENSE libpng/png.5 libpng/pngwutil.c libpng/scripts/makefile.openbsd libpng/scripts/makefile.dec libpng/scripts/README.txt libpng/scripts/makefile.cygwin libpng/pngtest.c libpng/ANNOUNCE libpng/scripts/libpng.pc.in]</p>
</blockquote>
<p><strong><a name="2010-06-29T052507.282125Z"></a>
2010-06-29T05:25:07.282125Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
change documentation as --enable-dynamics is no longer required for "make so" to work</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-06-29T052009.043972Z"></a>
2010-06-29T05:20:09.043972Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
split lcms code build into arch-specific targets; try to make both windows inline assembly and unix "make so" work simultaneously; bug 691427</pre>
<p>[base/watclib.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/ugcclib.mak base/macosx.mak base/watcw32.mak base/Makefile.in base/unix-gcc.mak base/unixansi.mak psi/msvc32.mak base/macos-mcp.mak base/msvclib.mak]</p>
</blockquote>
<p><strong><a name="2010-06-29T051638.524502Z"></a>
2010-06-29T05:16:38.524502Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
move the DYNAMIC_* defines out of the --enable-dynamic condition so that it applies generally; try to "make so" work with just ./configure ; many bugs ask for make so to work</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-29T043410.440639Z"></a>
2010-06-29T04:34:10.440639Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
switch autoconf png test away from testing for a soon-to-be-obsolete routine to one we actually use, to smooth over the libpng 1.2.x to 1.4.x transition; bug 691111</pre>
<p>[jbig2dec/configure.ac base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-29T041547.742872Z"></a>
2010-06-29T04:15:47.742872Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
make --disable-fontconfig imples --disable-cairo; bug 690690</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-29T040453.158322Z"></a>
2010-06-29T04:04:53.158322Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
tries to remove empty *obj/*bin directories when invoking "make distclean"; bug 690871</pre>
<p>[base/unix-end.mak base/Makefile.in base/unix-dll.mak base/unix-gcc.mak base/unixansi.mak]</p>
</blockquote>
<p><strong><a name="2010-06-29T034817.519902Z"></a>
2010-06-29T03:48:17.519902Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
check for GNU sed and switch to alternative sed options if sed is non-GNU; bug 691292</pre>
<p>[cups/pstopxl.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-29T034430.895095Z"></a>
2010-06-29T03:44:30.895095Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Part 2 of update (new files) posted to 687983, corrected for current svn HEAD.</pre>
<p>[contrib/pscolor/black.pdf contrib/pscolor/color.pdf contrib/pscolor/colorsplit.vcproj contrib/pscolor/black.ps contrib/pscolor/color.ps contrib/pscolor/common.mak contrib/pscolor/input.ps contrib/pscolor/windows.mak]</p>
</blockquote>
<p><strong><a name="2010-06-29T034118.718227Z"></a>
2010-06-29T03:41:18.718227Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Part 1 of the update (modifications to checked-in files)
to the pscolor code posted in 687983, corrected for current svn head.
</pre>
<p>[contrib/pscolor/Makefile contrib/pscolor/test.c contrib/pscolor/instream.yy]</p>
</blockquote>
<p><strong><a name="2010-06-29T033846.508455Z"></a>
2010-06-29T03:38:46.508455Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
ijs communication should be all binary; left-over uncommitted patch from past ijs-related work</pre>
<p>[ijs/ijs_server_example.c]</p>
</blockquote>
<p><strong><a name="2010-06-29T033445.878285Z"></a>
2010-06-29T03:34:45.878285Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
implements ./configure --with-ufst=UFST_ROOT_DIR ; bug 691293</pre>
<p>[doc/Make.htm base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-29T023238.254860Z"></a>
2010-06-29T02:32:38.254860Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of static prototype that has no function.</pre>
<p>[base/gsicc_cache.c]</p>
</blockquote>
<p><strong><a name="2010-06-29T005032.521441Z"></a>
2010-06-29T00:50:32.521441Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix lack of end-of-line in file.</pre>
<p>[base/gsicc_littlecms.c]</p>
</blockquote>
<p><strong><a name="2010-06-28T150431.998704Z"></a>
2010-06-28T15:04:31.998704Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fix a typo, thanks to Ken for spotting this in review.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-06-28T105053.201708Z"></a>
2010-06-28T10:50:53.201708Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Warnings of problems within lcms only occur now in debug mode. Fix for Bug 691401</pre>
<p>[base/gsicc_littlecms.c]</p>
</blockquote>
<p><strong><a name="2010-06-28T051659.820980Z"></a>
2010-06-28T05:16:59.820980Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Interface with lcms so that the memory allocators make use of ghostscript's allocator. This required fixing a few bugs in littlecms where he was using free instead of _cmsFree and also having lcms.h provide the prototypes if the external mem alloc is defined. Performed cluster push with no problem. Thanks to Henry for helping me track down a 64 bit issue.</pre>
<p>[lcms/include/lcms.h base/lib.mak lcms/src/cmslut.c base/lcms.mak lcms/src/cmsio1.c base/gsicc_littlecms.c]</p>
</blockquote>
<p><strong><a name="2010-06-26T200613.718954Z"></a>
2010-06-26T20:06:13.718954Z Henry Stiles</strong></p>
<blockquote>
<pre>
The ad hoc gstate setup for patterns should not call grestore after
gsave when erasing colored patterns because it results in
"wraparound", creating another gstate (no saved gstate exists when the
pattern is painted), see gsstate.c:gs_grestore() vs
gsstate.c:gs_grestore_only(). Thanks to Ken Sharp for noticing the the
extra gstate. No expected differences.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-06-26T175906.494303Z"></a>
2010-06-26T17:59:06.494303Z Henry Stiles</strong></p>
<blockquote>
<pre>
This file should have been checked in with revision 11433 which will
not compile without this change.
</pre>
<p>[base/gdevpxat.h]</p>
</blockquote>
<p><strong><a name="2010-06-25T120050.643763Z"></a>
2010-06-25T12:00:50.643763Z Chris Liddell</strong></p>
<blockquote>
<pre>
Provide more robust behaviour when FT fails to render a glyph. Inistead of silently continuing when FT errors on a glyph, we'll now attempt to use the notdef, if the notdef triggers an error, we signal the error to the GS world. This ensures that any time we expect processing to continue there is valid glyph information available to the cache and other downstream devices.
This causes one regression difference with 34_all.PS, where an extra TTF notdef is rendered.
Bug 691416</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-06-24T071111.011423Z"></a>
2010-06-24T07:11:11.011423Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove a couple of currently unused variables to silence a harmless compiler warning.
</pre>
<p>[base/gdevpsft.c]</p>
</blockquote>
<p><strong><a name="2010-06-23T171440.891928Z"></a>
2010-06-23T17:14:40.891928Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Simplify and fix the implementation of operator --mul--, which mishandled
some cases like "16#80000000 -1 mul". Bug 691412.
</pre>
<p>[psi/zarith.c]</p>
</blockquote>
<p><strong><a name="2010-06-23T155639.786311Z"></a>
2010-06-23T15:56:39.786311Z Ken Sharp</strong></p>
<blockquote>
<pre>
This patch adds limited support for TrueType collection fonts to pdfwrite and ps2write.
In the PostScript world TTC fonts are never passed down to pdfwrite, we only ever see
TrueType fonts. XPS, however, can pass back TrueType collection SNFTS data. This patch
uses the first font from the TrueType collection and writes that to the output file.
This may be too limited and may require further work in future.
</pre>
<p>[base/gdevpsft.c]</p>
</blockquote>
<p><strong><a name="2010-06-23T143308.852324Z"></a>
2010-06-23T14:33:08.852324Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug691415. When equivalent ICC profile is already created we should just use it. Thanks to Ken for getting the details together.</pre>
<p>[base/gscsepr.c]</p>
</blockquote>
<p><strong><a name="2010-06-23T050213.734047Z"></a>
2010-06-23T05:02:13.734047Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for 691359. Problem tracked down by Alex.
What lcms is trying to do is to figure out the best prelinearization for the incoming data prior to doing the CLUT interpolation. In the case when the input is RGB based and the output Gray, lcms was using uninitialized data in constructing is prelinearization.
Tangentially related, there could still be problems with what lcms is doing here if the number of Input channels is 1 and the number of Output channels is 3. In that case, it is possible (but not likely) that I could have radically different gamma behavior in each of the RGB channels. Trans in such a case would be constructed based upon only one curve based on the red channel. In the real world, this is probably not a problem but ideally it would be optimal to use something that provides the best prelinearization in all three channels. That is an optimization for Marti to do and perhaps is already in lcms2.</pre>
<p>[lcms/src/cmsgmt.c]</p>
</blockquote>
<p><strong><a name="2010-06-22T145459.999510Z"></a>
2010-06-22T14:54:59.999510Z Henry Stiles</strong></p>
<blockquote>
<pre>
Erase patterns with the color white instead of filling the pattern
bitmap with 0 or 255.
Previously the initialization was only used when anti aliasing was
enabled, now initial erasing is done for all colored patterns,
eliminating a long standing UMR in the pcl code where the pattern was
combined with the destination/source with indeterminate results. The
UMR manifested in frequent regression reports in the pcl tests
(c321.bin for example), these reports should go away with this change,
though (NB) the change only masks the underlying issue.
</pre>
<p>[psi/zpcolor.c base/gxpcmap.c base/gxpcolor.h]</p>
</blockquote>
<p><strong><a name="2010-06-22T061254.377174Z"></a>
2010-06-22T06:12:54.377174Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Fix for bug 689836 and 691248.
Bug 689836 - Huffman tables with only positive values are decoded incorrectly
Bug 691248 - jbig2dec doesn't handle 042_11 (Huffman Symbol Region)
This patch fixes mulfunctions seen on standard huffman table K, L, M and N.
A difference will be seen on tests_private/comparefiles/Bug690360.pdf.
This file was affected by table K mulfunction and this is a improvement.
</pre>
<p>[jbig2dec/jbig2_hufftab.h]</p>
</blockquote>
<p><strong><a name="2010-06-22T060012.605983Z"></a>
2010-06-22T06:00:12.605983Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Revert rev. 7964 and use a different approach: allocate all structures
and proceed with their initialization only if all allocations were
successful. Fix memory corruption that happens at the PostScript
stack overflow. Bug 691295.
</pre>
<p>[psi/idosave.h psi/ialloc.c psi/isave.c]</p>
</blockquote>
<p><strong><a name="2010-06-22T055923.952778Z"></a>
2010-06-22T05:59:23.952778Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Added test code for every line of each standard huffman tables.
</pre>
<p>[jbig2dec/jbig2_huffman.c]</p>
</blockquote>
<p><strong><a name="2010-06-22T051553.089456Z"></a>
2010-06-22T05:15:53.089456Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add a /.notdef entry to /CharStrings dictionary if it's missing from an
embedded Type1 font. Bug 691406, customer 130.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-06-21T164155.147464Z"></a>
2010-06-21T16:41:55.147464Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of improper error message. Source of a potential access violation.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-06-21T150703.992218Z"></a>
2010-06-21T15:07:03.992218Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add the 'gs_error_Remap_Color' pseudo-error, a duplicate -f e_Remap_Color in the
PostScript interpreter, to the 'base' error list so that PDL clients other than
PostScript can make use of it for high-level pattern support.
</pre>
<p>[base/gserrors.h]</p>
</blockquote>
<p><strong><a name="2010-06-21T011418.832712Z"></a>
2010-06-21T01:14:18.832712Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
auto-detect host as *BSD and use a differently named obj directory; no effect on non-*BSDs. fixes bug 687214</pre>
<p>[base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-06-21T003243.898825Z"></a>
2010-06-21T00:32:43.898825Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding more borland-related build tips; part of borland build fixes (bug 691400)</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-06-21T001242.541103Z"></a>
2010-06-21T00:12:42.541103Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
got some garbage in the beginning of the file introduced in an earlier commit</pre>
<p>[doc/Install.htm]</p>
</blockquote>
<p><strong><a name="2010-06-21T000112.712437Z"></a>
2010-06-21T00:01:12.712437Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
nsis-based installer script, makefile adaptation, documentation update; bug 691363</pre>
<p>[psi/winint.mak doc/Release.htm psi/nsisinst.nsi doc/Install.htm]</p>
</blockquote>
<p><strong><a name="2010-06-20T233847.757390Z"></a>
2010-06-20T23:38:47.757390Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
borland build fix (bug 691400): borland defines P_tmpdir but not _P_tmpdir; similiar difference between borlandc and msvc has been seen with setmode/_setmode in the ijs code in ijs/ijs_server.c</pre>
<p>[jasper/src/libjasper/base/jas_stream.c]</p>
</blockquote>
<p><strong><a name="2010-06-20T233224.162240Z"></a>
2010-06-20T23:32:24.162240Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
borland build fix (bug 691400): update and complete documentation on working around for too-many-warnings-equal-error problem of borland c++</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-06-20T232934.775566Z"></a>
2010-06-20T23:29:34.775566Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
borland fix (bug 691400): Borland c++ does not support c99 LL nor ULL, but use i64/ui64 like MSVC for 64-bit integer literals</pre>
<p>[base/sha2.c]</p>
</blockquote>
<p><strong><a name="2010-06-20T231137.618908Z"></a>
2010-06-20T23:11:37.618908Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
4 borland build fixes (bug 691400):
- hook up libtiff
- build mkromfs
- build import library *.lib corresponding to the dll
- build the split-out make_filelist (see also r11388 for Bug 691302,
which does it for msvc)
</pre>
<p>[base/bcwin32.mak]</p>
</blockquote>
<p><strong><a name="2010-06-20T230349.551572Z"></a>
2010-06-20T23:03:49.551572Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
borland build does not create the obj and bin directories. part of borland build fix (691400)</pre>
<p>[base/bcwin32.mak]</p>
</blockquote>
<p><strong><a name="2010-06-20T225732.647408Z"></a>
2010-06-20T22:57:32.647408Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
defines a unix target, since win32 requires specific compiler flags; HP-UX make/MS nmake both issues a warning and borland make issues an error for duplicate targets; fixes bug 691337, and also part of the problems with borland build (bug 691400)</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-06-20T034503.823204Z"></a>
2010-06-20T03:45:03.823204Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix malformed ICC profile generation on big endian systems, which was caused
by confusion between internal and external representation of an integer.
</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-06-20T030150.289956Z"></a>
2010-06-20T03:01:50.289956Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't leave wild bytes at the end of a generated ICC profile. Fix Valgrind
warnings and spurious hash value differences.
</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-06-18T235923.662717Z"></a>
2010-06-18T23:59:23.662717Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that when the CIE color spaces are released, the icc equivalent space is also rc decremented as is the profile.</pre>
<p>[base/gscscie.c]</p>
</blockquote>
<p><strong><a name="2010-06-18T180659.517404Z"></a>
2010-06-18T18:06:59.517404Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for memory leak in creation of icc profile from def(g) objects.</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-06-18T020013.716745Z"></a>
2010-06-18T02:00:13.716745Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Use operator --search-- instead of --token-- during PDF rebuilding
to reduce the load on the name table, slightly improve the speed, and
work around the bug 691005 in a few cases.
</pre>
<p>[Resource/Init/pdf_rbld.ps]</p>
</blockquote>
<p><strong><a name="2010-06-17T202333.279930Z"></a>
2010-06-17T20:23:33.279930Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adjust self-reference of bswin32.mak to correct location. Part 1 of fix to bug 691400</pre>
<p>[base/bcwin32.mak]</p>
</blockquote>
<p><strong><a name="2010-06-17T200330.325885Z"></a>
2010-06-17T20:03:30.325885Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
mentioning -P-/-P and further reference to the INITIALIZATION FILES and Use.htm in the man page. bug 691350</pre>
<p>[man/gs.1]</p>
</blockquote>
<p><strong><a name="2010-06-17T194605.887718Z"></a>
2010-06-17T19:46:05.887718Z Michael Vrhel</strong></p>
<blockquote>
<pre>
add missing type def for gsicc_create_mashed_clut</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-06-17T193839.362075Z"></a>
2010-06-17T19:38:39.362075Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
split make_filelist functionality out of setupgs, to allow UAC restriction during packaging of the installer. Bug 691302</pre>
<p>[psi/dwsetup.cpp psi/winint.mak psi/msvc32.mak psi/mkfilelt.cpp]</p>
</blockquote>
<p><strong><a name="2010-06-17T193128.160475Z"></a>
2010-06-17T19:31:28.160475Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
add info about silent batch installation; bug 691268</pre>
<p>[doc/Install.htm]</p>
</blockquote>
<p><strong><a name="2010-06-17T192820.229863Z"></a>
2010-06-17T19:28:20.229863Z Michael Vrhel</strong></p>
<blockquote>
<pre>
rc_decrement any icc objects that may exist in the imager state that was created for handling the conversion from PS CIE objects to ICC profiles.</pre>
<p>[base/gscie.c]</p>
</blockquote>
<p><strong><a name="2010-06-17T180435.295987Z"></a>
2010-06-17T18:04:35.295987Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Free up tag list when done creating icc profile from PDF cal type.</pre>
<p>[base/gsicc_create.c]</p>
</blockquote>
<p><strong><a name="2010-06-17T171334.616951Z"></a>
2010-06-17T17:13:34.616951Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Change to help track down any memory leaks related to the new icc code. Also fix so that gs_init_iccmanager copies the null character from the default profile string names. There was a mismatch between what happened here and what happens when the default user params are set. This was causing the profiles to reset in the manager when they did not need to be.</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-06-17T092018.689467Z"></a>
2010-06-17T09:20:18.689467Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (FAPI) move two FAPI related members from the show enumerator structure to the text
enumerator structure. This ensures that these members are always available for rendering
and eliminates a GPF caused when a device's text_begin method returns a text enumerator
rather than the show enumerator returned by gx_default_text_begin.
No differences expected.
</pre>
<p>[base/gxchar.h base/gxtext.h]</p>
</blockquote>
<p><strong><a name="2010-06-16T061125.298134Z"></a>
2010-06-16T06:11:25.298134Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
a few more CRLF eol and svn property corrections</pre>
<p>[zlib/contrib/dotzlib/LICENSE_1_0.txt zlib/contrib/vstudio/readme.txt zlib/contrib/masmx64/readme.txt base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h zlib/projects/visualc6/README.txt zlib/contrib/dotzlib/readme.txt]</p>
</blockquote>
<p><strong><a name="2010-06-15T171715.944441Z"></a>
2010-06-15T17:17:15.944441Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Rename of a few functions to match documentation, update of gdevwts.c to use new color architecture, addition of minor utility functions for use in gxps. This should not generate regressions.</pre>
<p>[base/lib.mak base/gsicc_littlecms.h base/gsicc_cache.h base/gsicc_manage.c base/gscms.h base/gdevwts.c base/gsicc_manage.h base/gsicc_littlecms.c]</p>
</blockquote>
<p><strong><a name="2010-06-15T165440.171304Z"></a>
2010-06-15T16:54:40.171304Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Update of Color Architecture document in preparation for release of GS 9.0</pre>
<p>[doc/Color_Architecture.tex doc/figures/XPS_Integer_Gray_RGB_Image.eps doc/figures/Overview.eps doc/figures/XPS_DeviceN.eps doc/figures/PDF_Render.eps doc/figures/XPS_Render.eps doc/GS9_Color_Management.pdf doc/figures/XPS_Vector_Color.eps doc/figures/XPS_RGB_Image_Float.eps doc/figures/PS_Spec.eps doc/Color_Architecture.pdf doc/GS9_Color_Management.tex doc/figures/PS_Render.eps doc/figures/PDF_Spec.eps]</p>
</blockquote>
<p><strong><a name="2010-06-14T231027.633844Z"></a>
2010-06-14T23:10:27.633844Z Henry Stiles</strong></p>
<blockquote>
<pre>
Modified line endings from CRLF -> LF and propset to native.
</pre>
<p>[base/gsicc_cache.c base/gsicc_cache.h base/gsicc_manage.c base/gsicc_manage.h]</p>
</blockquote>
<p><strong><a name="2010-06-14T184247.881614Z"></a>
2010-06-14T18:42:47.881614Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix yet another case where memcpy() copies a memory block on itself.
This doesn't cause any problems on Linux or Windows but violates the
spec and irks Valgrind. Bug 691394.
</pre>
<p>[base/gsline.c]</p>
</blockquote>
<p><strong><a name="2010-06-14T180749.834071Z"></a>
2010-06-14T18:07:49.834071Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove the "<font> is being rendered with FAPI=<renderer>" messages. But leave a warning if we fall back to the old GS renderer.</pre>
<p>[Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-06-14T111907.131026Z"></a>
2010-06-14T11:19:07.131026Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : limit composite object sizes when producing PDF/A
Bug #691370 "Dictionary size not limited for PDF/A-1"
The PDF/A specification insists that the implementation limitations of Acrobat as
defined in PDF 1.4 should be followed when producing PDF/A files. Accordingly this
limits the size of dictionaries to 4095 and arrays to 8191 when producing PDF/A output.
Since there is no way to ignore the problem, setting the PDFACompatibiltyPolicy to 1
'don't emit the object, carry on producing PDF/A' can't be made to work. Since the
user has expressed a desire for an output file, we fall back to Policy 0 'Produce a
regular PDF file' instead.
Also extend PDFACompatibilityPolicy to include policy 2 'abort'.
No test file for this case, no differences expected.
</pre>
<p>[base/gdevpdfo.c]</p>
</blockquote>
<p><strong><a name="2010-06-14T111418.794921Z"></a>
2010-06-14T11:14:18.794921Z Ken Sharp</strong></p>
<blockquote>
<pre>
Extend to PDF/X emission the enhancement in revision 11369 which prevents emitting
invalid PDF/A files when glyphs are missing from fonts.
</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-06-14T111240.380849Z"></a>
2010-06-14T11:12:40.380849Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update the ps2pdf documenataion to reflect the fact that PDF/X-3 conversion now also
uses the PDFACompatibilityPolicy to control behaviour when a conforming file cannot be
produced.
Also applied some general grammatical correction to the text.
</pre>
<p>[doc/Ps2pdf.htm]</p>
</blockquote>
<p><strong><a name="2010-06-14T093417.990404Z"></a>
2010-06-14T09:34:17.990404Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) : Don't emit invalid PDF/A files
Bug #691383 "pdfwrite emits invalid PDF/A when glyphs are missing in the input font."
If the input file references glyphs which are not in the font, then we could emit a
PDF/A file which also referenced glyph which were not present in the fonts embedded
in the PDF file.
This patch uses the PDFACompatibilityPolicy to control the action in this case, and
avoid emitting invalid PDF/A files.
Also extended the functionality of the PDFACompatibilityPolicy to allow the user to
abort PDF file production when a valid PDF/A file cannot be produced.
No expected differences as PDF/A production is not tested by regression code.
</pre>
<p>[base/gdevpdfm.c base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-06-12T151956.267658Z"></a>
2010-06-12T15:19:56.267658Z Henry Stiles</strong></p>
<blockquote>
<pre>
The ICC profile file name buffer was too small to accommodate the
trailing null appended by strcat resulting in an invalid write to
memory.
</pre>
<p>[base/gsicc_manage.c]</p>
</blockquote>
<p><strong><a name="2010-06-11T172406.899434Z"></a>
2010-06-11T17:24:06.899434Z Chris Liddell</strong></p>
<blockquote>
<pre>
In the event of a FreeType error when scaling a font face, don't clean up the FT data, but leave it to the garbage collector
to call the font object's "finalize" function, which will then clean up the FT data.
Secondly, add code to deal with very low resolutions underflowing some of FT's fixed point code (similar to code for small
scale factors).
Bug 691381
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-06-11T075337.156852Z"></a>
2010-06-11T07:53:37.156852Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix pdfwrite - device reference counting problem with patterns and XPS
When using XPS as the input PDL, and pdfwrite as the output device, the pdfwrite device
was counted up by pattern accumulator allocation, but the clist accumulator never
counted the device down, leading to a reference count > 1 at EOJ. This meant that
the pdfwrite device wasn't closed, since pdfwrite only emits the PDF file when it is
closed this led to invalid unfinished PDF files.
The code here modifies the behaviour of the pattern management so that we don't use the
'clist' path for accumulating patterns *if* the device can accumulate patterns itself
*and* the PDL doesn't have_pattern_streams (to avoid pathological PDF file problems)
This resolves the issue with device reference counts and all the FTS XPS files now
produce complete PDF files.
</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-06-10T161108.241878Z"></a>
2010-06-10T16:11:08.241878Z Chris Liddell</strong></p>
<blockquote>
<pre>
When extracting a path from the FAPI world (for a charpath, for example), only close the path if it has been "opened".
This prevents empty paths from non-marking glyphs resulting in a point being rendered on the page.
Another part of Bug 691252.
This change causes ~195 differences to be reported on the cluster, but they are all progressions.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-06-10T140640.549557Z"></a>
2010-06-10T14:06:40.549557Z Chris Liddell</strong></p>
<blockquote>
<pre>
Make the rendering of the Truetype notdef glyph optional with the FAPI interface (as per the previous behaviour).
A few cluster differences are expected as we have test files which use the TTF notdef, I have checked all the differences, and they are correct.
This is part of Bug 691252
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-06-09T185909.419344Z"></a>
2010-06-09T18:59:09.419344Z Robin Watts</strong></p>
<blockquote>
<pre>
Update comparerevs.pl script so that it no longer ignores hash values
on files taht have a non-zero error return. It now only ignores hash
values on timeouts (because runs can easily produce different numbers of
pages on each run).
Also, the output is updated to show error values together with hash results.
Error values are now always in brackets, on a red background.
</pre>
<p>[toolbin/localcluster/comparerevs.pl]</p>
</blockquote>
<p><strong><a name="2010-06-08T162039.058317Z"></a>
2010-06-08T16:20:39.058317Z Chris Liddell</strong></p>
<blockquote>
<pre>
In bytes_copy_rectangle() clamp the length of each row to be copied to the stride of the raster. This takes care of problems copying bitmaps from FT (or potentially other font libraries) which use different alignment to the "internal" rasters. Bug 691328.</pre>
<p>[base/gsbitops.c]</p>
</blockquote>
<p><strong><a name="2010-06-08T010410.677952Z"></a>
2010-06-08T01:04:10.677952Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Check whether the font has /Encoding before trying to use it. Recent FAPI
changes give /BuildChar procedure to all fonts including CIDFont resources.
So the check for non-null pfdata->BuildChar no longer guaranteed that the
font has /Encoding. Bug 691311.
</pre>
<p>[psi/zchar.c]</p>
</blockquote>
<p><strong><a name="2010-06-07T171420.171809Z"></a>
2010-06-07T17:14:20.171809Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 691368.
lcms appears not to check its handles of link transforms when a profile is released, to clear out xform->InputProfile. Probably due to the fact that lcms may not expect a change of the formatters after the link is created. That would imply that we would need to create links based upon data types, which is not so efficient. Disable this check in lcms since it is only related to named color profiles, which we will not run into. Will kick this up to Marti.</pre>
<p>[lcms/src/cmspack.c]</p>
</blockquote>
<p><strong><a name="2010-06-06T180036.332831Z"></a>
2010-06-06T18:00:36.332831Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 691367. Seg fault should no longer occur. If an attempt is made to set a color space in the graphic state and the ICC manager's profiles have not yet been initialized, it will be taken care of. </pre>
<p>[base/gsicc_manage.c base/gscspace.c]</p>
</blockquote>
<p><strong><a name="2010-06-05T200355.912155Z"></a>
2010-06-05T20:03:55.912155Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't copy memory block into itself; clear a Valgrind warning.
</pre>
<p>[base/gsdparam.c]</p>
</blockquote>
<p><strong><a name="2010-06-05T192040.615579Z"></a>
2010-06-05T19:20:40.615579Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for indeterminisms in some PS files where the alternate tint transform color space for a DeviceN or Separation color space is CIE based. Previously we were returning either CMYK, or RGB based based upon the channel count for the CIE space. Now we are returning an equivalent ICC based color space. Also minor fix for uninitialized memory in generated profile.</pre>
<p>[base/gscdevn.c base/gsicc_create.c base/gscsepr.c]</p>
</blockquote>
<p><strong><a name="2010-06-03T165717.441589Z"></a>
2010-06-03T16:57:17.441589Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
observe minst->search_here_first condition in file search; bug 691350</pre>
<p>[psi/zfile.c]</p>
</blockquote>
<p><strong><a name="2010-06-03T003207.629281Z"></a>
2010-06-03T00:32:07.629281Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Adding -P- and -dSAFER to many POSIX shell scripts, win32 and OS/2 batch scripts; bug 691355</pre>
<p>[lib/bjc610b4.upp lib/bjc610b6.upp lib/lp386.bat lib/bjc610b7.upp lib/bjc610b8.upp lib/gsndt.bat lib/pdf2dsc lib/eps2eps.bat lib/st640plg.upp lib/ras8m.upp lib/ras24.upp lib/pv.sh lib/bj8oh06n.upp lib/necp2x.upp lib/stc600p.upp lib/pfbtopfa.bat lib/stc640p.upp lib/wftopfa lib/ps2ps lib/stc2s_h.upp lib/stc500ph.upp lib/ps2ps.cmd lib/pphs lib/stcany_h.upp lib/pf2afm lib/gsdj500 lib/dnj750c.upp lib/pf2afm.cmd lib/stc600pl.upp lib/stc800pl.upp lib/gsbj lib/ps2epsi lib/ps2epsi.cmd lib/dnj750m.upp lib/dumphint lib/gsnd lib/font2c lib/gsdj.bat lib/pdfopt lib/ras32.upp lib/ps2ps2.bat lib/pdf2ps lib/ps2pdf.cmd lib/pdf2ps.cmd lib/stc500p.upp lib/cdj690.upp lib/stc600ih.upp lib/st640p.upp lib/stc_h.upp lib/gslj.bat lib/stcany.upp lib/stc800ih.upp lib/bdftops.bat lib/stc_l.upp lib/ras1.upp lib/gslp.bat lib/lpgs.bat lib/st640ihg.upp lib/ras3.upp lib/stc1520h.upp lib/ras4.upp lib/stc300.upp lib/bj8ts06n.upp lib/eps2eps lib/ps2ascii.bat lib/eps2eps.cmd lib/stc2_h.upp lib/pdf2dsc.bat lib/stc.upp lib/stc300bl.upp lib/stc300bm.upp lib/bj8pp12f.upp lib/pfbtopfa lib/stc800p.upp lib/bjc610a0.upp lib/bj8gc12f.upp lib/st640pg.upp lib/bjc610a1.upp lib/cdj690ec.upp lib/bjc610a2.upp lib/ps2ps.bat lib/bjc610a3.upp lib/bjc610a4.upp lib/bjc610a5.upp lib/bj8hg12f.upp lib/stc2.upp lib/st640pl.upp lib/bjc610a6.upp lib/printafm lib/bjc610a7.upp lib/pf2afm.bat lib/gsdj500.bat lib/bjc610a8.upp lib/ps2pdfxx.bat lib/lpr2.bat lib/lp386r2.bat lib/stc200_h.upp lib/unix-lpr.sh lib/gsdj lib/necp2x6.upp lib/ps2ps2 lib/ps2epsi.bat lib/gsbj.bat lib/bj8pa06n.upp lib/ps2ps2.cmd lib/dumphint.bat lib/cdj550.upp lib/gslj lib/gsnd.bat lib/font2c.bat lib/bdftops lib/pdfopt.bat lib/pdf2ps.bat lib/st640ih.upp lib/gslp lib/ps2pdfwr lib/bjc610b1.upp lib/bjc610b2.upp lib/dvipdf lib/ps2ascii lib/bjc610b3.upp lib/pftogsf.bat]</p>
</blockquote>
<p><strong><a name="2010-06-02T174539.111970Z"></a>
2010-06-02T17:45:39.111970Z Robin Watts</strong></p>
<blockquote>
<pre>
Introduce new ENABLE_TRAP_AMALGAMATION build define. If set at build time
then code is introduced to gxfillts.h to try to amalgamate some of the
rectangles produced into the surrounding trapezoids.
This can cause small rendering differences due to the difference in rounding
within scan conversion and trap extraction.
The option is disabled by default.
No expected differences with it disabled. 439 non pdfwrite differences, 99
differences with it enabled.
</pre>
<p>[base/gxfillts.h]</p>
</blockquote>
<p><strong><a name="2010-06-02T083707.985901Z"></a>
2010-06-02T08:37:07.985901Z Ken Sharp</strong></p>
<blockquote>
<pre>
Revision 11348 accidentally included a number of font definitions in an updated cidfmap,
This removes those definitions, which should not be present.
</pre>
<p>[Resource/Init/cidfmap]</p>
</blockquote>
<p><strong><a name="2010-06-02T082923.801870Z"></a>
2010-06-02T08:29:23.801870Z Ken Sharp</strong></p>
<blockquote>
<pre>
Documentation change
Updated the comments at the head of the file to make it plain that the entries in the
CSI array must be strings, not names. Although this is clearly documented in use.htm
we have recently had several reports in which users have been trying to set name values
in the array.
Also added a pointer to the documentation as a further hint.
</pre>
<p>[Resource/Init/cidfmap]</p>
</blockquote>
<p><strong><a name="2010-06-02T074657.542525Z"></a>
2010-06-02T07:46:57.542525Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix pdfwrite, faulty matrix transformations for Shading dictionaries
Bug #691352 "cairo pdf mis-distilled"
Patterns in PDF are unpleasantly complicated by the need to transform the pattern to
the 'default co-ordinate space'. Normally this means that we undo the resolution scaling
which is normally applied to the CTM.
For page streams this works well, but for forms the 'default co-ordinate space' is
the space of the parent. For one level of form there is therefore no difference between
the page and the form. When forms are nested however, the lower form's space becomes
that of the parent. This means that patterns inside forms, which are nested inside
another form, need to be transformed to the parent form co-ordinate space, not the
page space.
Since we don't currently emit forms from pdfwrite for anything except transparency
groups what this means in practice is that we don't undo the CTM transformation if
we are rendering a pattern inside a form, nested inside at least one other form.
</pre>
<p>[base/gdevpdfx.h base/gdevpdft.c base/gdevpdfv.c base/gdevpdfb.h]</p>
</blockquote>
<p><strong><a name="2010-06-01T174120.224359Z"></a>
2010-06-01T17:41:20.224359Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Rename of gsicccache.c/h to gsicc_cache.c/h and gsiccmanage.c/h to gsicc_manage.c/h to fall in line with the name space of the other files that came from the icc branch. Currently working on the documentation and it is clear that this is needed (and I wish I had done it earlier).</pre>
<p>[/trunk/ghostpdl/pxl/pxpthr.c /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/xps/ghostxps.h base/gsiccmanage.c base/gxshade1.c base/gsiccmanage.h base/gscsepr.c base/gxshade4.c base/gxshade6.c /trunk/ghostpdl/pxl/pxtop.c base/gxcmap.c ghostscript.vcproj base/gsistate.c /trunk/ghostpdl/pcl/pcl.mak base/gdevrinkj.c base/gdevwts.c base/gdevxcf.c base/gxicolor.c base/devs.mak base/gsicc.c base/gdevimdi.c base/gscdevn.c base/gxclread.c base/gdevpsd.c base/lib.mak base/gxiscale.c base/gsicc_manage.c psi/int.mak /trunk/ghostpdl/pxl/pxgstate.c /trunk/ghostpdl/pcl/pctop.c base/gsicc_manage.h psi/zicc.c psi/zdevice.c base/gdevp14.c base/gsstate.c base/gsicc_cache.c base/gsicc_create.c psi/zcie.c base/gsicccache.c base/gxclist.c base/gsicc_cache.h base/gsicccache.h base/gstrans.c base/gscms.h base/gxidata.c base/gdevpdfc.c base/gxblend.c base/gxshade.c psi/zusparam.c base/gdevpdfg.c base/gxp1fill.c base/gxclrast.c base/gsciemap.c]</p>
</blockquote>
<p><strong><a name="2010-05-31T144914.514014Z"></a>
2010-05-31T14:49:14.514014Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
for "ln -s base/unix-gcc.mak Makefile; make" builds, do not modularize X, nor build most of the modularzed linux modules, since they depend on the linux GNU linker</pre>
<p>[base/unix-gcc.mak]</p>
</blockquote>
<p><strong><a name="2010-05-31T144108.956692Z"></a>
2010-05-31T14:41:08.956692Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
another attempt to make "ln -s base/unix-gcc.mak Makefile; make" to work; libtiff really want configure so we hook it in</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-31T095814.532526Z"></a>
2010-05-31T09:58:14.532526Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
more icc branch merge related change to make "make -f base/unix-gcc.mak" and other targets work"</pre>
<p>[base/unix-gcc.mak base/unixansi.mak]</p>
</blockquote>
<p><strong><a name="2010-05-28T180708.826907Z"></a>
2010-05-28T18:07:08.826907Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fixes bug #690793. PJL Formlines was not set correctly if the paper
size changed. Also, refactors such that PXL and PJL get paper sizes
from the same source table.
</pre>
<p>[/trunk/ghostpdl/pl/pl.mak /trunk/ghostpdl/pxl/pxl.mak /trunk/ghostpdl/pl/pjparse.c /trunk/ghostpdl/pxl/pxsessio.c /trunk/ghostpdl/pxl/pxstate.h base/gdevpxen.h base/gdevpxut.c]</p>
</blockquote>
<p><strong><a name="2010-05-27T210221.460781Z"></a>
2010-05-27T21:02:21.460781Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix so that shading strokes that go through the clist transparency code communicate the transparency device so that the proper color information is used as opposed to the color information related to the final target device. This should fix the indeterminism with bug688807.pdf when going out to a monochrome device.</pre>
<p>[base/gdevp14.c base/gxshade.c]</p>
</blockquote>
<p><strong><a name="2010-05-27T153001.093150Z"></a>
2010-05-27T15:30:01.093150Z Henry Stiles</strong></p>
<blockquote>
<pre>
Forward declarations for statics functions were accidentally placed in
the header file instead of the c file.
</pre>
<p>[base/gdevp14.c base/gdevp14.h]</p>
</blockquote>
<p><strong><a name="2010-05-27T004457.701730Z"></a>
2010-05-27T00:44:57.701730Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for indeterminism when using psdcmyk device and interpolated images. For cases where the device profile has fewer components than the actual number of device colorants we need to use the slower interpolation code. Otherwise we end up encoding uninitialized memory. </pre>
<p>[base/gxiscale.c]</p>
</blockquote>
<p><strong><a name="2010-05-26T220150.106123Z"></a>
2010-05-26T22:01:50.106123Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for bug690218. For clist reader the pdf14 device was getting its color information set based upon the number of spot colorants in the page. The real number should be based upon the number of actual components the device is capable of handling. This occurs when using separation device with a limited set of colorants invoked via a command like -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black ]
/SeparationOrder [ /Cyan /Magenta /Yellow /Black ] >> setpagedevice"</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-05-26T181652.113331Z"></a>
2010-05-26T18:16:52.113331Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Improvements and fixes in icc search path description and bolder alert with respect to Windows delimiter \" interpretation . Thanks to Ray.</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-05-26T160836.881438Z"></a>
2010-05-26T16:08:36.881438Z Henry Stiles</strong></p>
<blockquote>
<pre>
The languages (pcl, xps, pclxl) debug builds were broken with the icc
branch merge, gs_abort() is not supported. The code has been changed
similarly to the old exit upon failed assertion code in gsalloc.c
where gs_abort() is replaced with return, fixes bug #691340.
</pre>
<p>[base/gsicc_profilecache.c]</p>
</blockquote>
<p><strong><a name="2010-05-26T030702.463936Z"></a>
2010-05-26T03:07:02.463936Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Addition of lcms and new icc files to Visual studio solution. Also did a little organizing of the files in the explorer window base folder.</pre>
<p>[ghostscript.vcproj]</p>
</blockquote>
<p><strong><a name="2010-05-25T204302.039929Z"></a>
2010-05-25T20:43:02.039929Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Update of documentation, clarifying the search methods used for finding the icc profiles.</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-05-25T193823.177347Z"></a>
2010-05-25T19:38:23.177347Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Removal of iccprofiles/ from default icc profile names and post-pend %rom% with iccprofiles/ . This is in preparation for having the ps init code initialize a default value for ICCProfilesDir (which will be ./iccprofiles/ ) so that code works with COMPILE_INITS=0 when not in the base directory and when -sICCProfilesDir is not specified on the command line.</pre>
<p>[base/gsiccmanage.c base/gsiccmanage.h]</p>
</blockquote>
<p><strong><a name="2010-05-25T171559.119523Z"></a>
2010-05-25T17:15:59.119523Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
make static some private functions to remove compiler warnings</pre>
<p>[contrib/gdevgdi.c base/gdevcairo.c contrib/gdevlx50.c]</p>
</blockquote>
<p><strong><a name="2010-05-25T171427.480893Z"></a>
2010-05-25T17:14:27.480893Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
make private functions static to silence some missing prototype warning</pre>
<p>[imdi/cgen.c imdi/imdi_k.c]</p>
</blockquote>
<p><strong><a name="2010-05-25T171318.238667Z"></a>
2010-05-25T17:13:18.238667Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
silent one compiler warning</pre>
<p>[base/gxstroke.c]</p>
</blockquote>
<p><strong><a name="2010-05-25T135021.339560Z"></a>
2010-05-25T13:50:21.339560Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix copy CIDFontType 2 properly
Bug #690930 "Unicode Output: DEVICE=pdfwrite"
When making a copy of a CIDFont with TrueType outlines (CIDFontType 2) for the
benefit of pdfwrite, do not simply copy the subst_CID_on_WMode structure member as
this will be restored away along with the font at end of page. Instead make a new
structure and store that in the copied font.
No differences expected, local cluster test shows a few but I think (hope) these are
related to the ICC branch merge.</pre>
<p>[base/gxfcopy.c]</p>
</blockquote>
<p><strong><a name="2010-05-25T102209.642632Z"></a>
2010-05-25T10:22:09.642632Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bug 691336: Resolve some confusion between the original global variable removal changes, and subsequent changes, that could result in warning emprintf calls using a memory pointer that could not exist at that stage.
</pre>
<p>[psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2010-05-25T083157.775100Z"></a>
2010-05-25T08:31:57.775100Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence a couple of gcc compiler warnings introduced with the ICC merge.
</pre>
<p>[base/gdevpdfk.c base/gdevpdfc.c]</p>
</blockquote>
<p><strong><a name="2010-05-24T230659.017275Z"></a>
2010-05-24T23:06:59.017275Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Another bunch of CRLF to LF's.
find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs -n 1 svn propset svn:eol-style native
find . -type f | grep -v 'svn-base' | xargs file | grep CRLF | grep -v -E '\.(dsp|dsw|sln|rc):' | grep -v -E '(cbuilder5|masm|dotzlib|vstudio|BorlandC_5.5|visualc6)' | cut -d ':' -f 1 | xargs dos2unix
</pre>
<p>[tiff/nmake.opt psi/zcolor.h toolbin/color/icc_creator/ICC_Creator/stdafx.h lib/cat.ps toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.cpp toolbin/color/icc_creator/example/cielab_values.txt toolbin/color/icc_creator/ICC_Creator/icc34.h contrib/lxm3200-tweaked/LICENSE toolbin/color/icc_creator/README.txt toolbin/color/icc_creator/ICC_Creator/ICC_Creator.cpp toolbin/color/named_color/named_color_table.txt zlib/contrib/testzlib/testzlib.txt lib/Fontmap.URW-136.T1 toolbin/color/icc_creator/example/tritone_names.txt zlib/contrib/testzlib/testzlib.c toolbin/color/icc_creator/ICC_Creator/CIELAB.h toolbin/color/icc_creator/ICC_Creator/icc_create.h base/gsicc_profilecache.c toolbin/color/icc_creator/ICC_Creator/stdafx.cpp toolbin/color/icc_creator/ICC_Creator/resource.h base/gsicc_profilecache.h toolbin/color/icc_creator/example/tritone_cielab.txt base/gsicc_create.c toolbin/color/icc_creator/ICC_Creator/targetver.h toolbin/color/icc_creator/ICC_Creator/ICC_CreatorDlg.h toolbin/color/icc_creator/ICC_Creator/res/ICC_Creator.rc2 psi/zcie.h psi/write_t2.c base/gsicc_create.h toolbin/color/icc_creator/example/color_names.txt base/gscms.h toolbin/color/icc_creator/ICC_Creator/icc_create.cpp toolbin/color/icc_creator/ICC_Creator/ICC_Creator.h psi/fapibstm.c lib/Fontmap.URW-136.TT]</p>
</blockquote>
<p><strong><a name="2010-05-24T223400.748368Z"></a>
2010-05-24T22:34:00.748368Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
remove some more CR's and more eol-style native.
find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 svn propset svn:eol-style native
find . -type f -exec file {} \; |grep 'CRLF' | grep -v '/Projects' | grep -v 'svn-base' | cut -f 1 -d ':' | xargs -n 1 dos2unix
</pre>
<p>[lcms/Delphi/delphidemo.dof lcms/src/makefile.simple lcms/Delphi/demo1.pas lcms/python/testbed/srgb2xyz.py lcms/Delphi/Samples/create.pas lcms/python/testbed/srgb2lab.py lcms/Delphi/delphidemo.dpr lcms/python/testbed/cam02.py lcms/makefile.simple lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/Delphi/delphidemo.cfg lcms/python/testbed/createmsh.py lcms/python/testbed/lab2adobe.py lcms/Delphi/Samples/testfrm.pas lcms/Delphi/Samples/testwp.pas lcms/src/lcms.def lcms/Delphi/Samples/getxyz.pas]</p>
</blockquote>
<p><strong><a name="2010-05-24T222637.131050Z"></a>
2010-05-24T22:26:37.131050Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
manually fixing the last few files which escaped fileutils' identification.
</pre>
<p>[lcms/python/lcms.py lcms/COPYING lcms/src/cmscam97.c lcms/aclocal.m4 lcms/ltmain.sh lcms/README.1ST lcms/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-05-24T222052.689626Z"></a>
2010-05-24T22:20:52.689626Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Changes c/c++/shell script/english text to native text and strip off CR.
find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs dos2unix
find . -type f -exec grep -l '\r\n' {} \; | grep -v 'svn-base' | grep -v '\.vcproj' | grep -v '/Projects' | xargs -n 1 file | grep -E '(ASCII C\+\+ program text|ISO\-8859 English text|ASCII C program text|shell script text executable)' | cut -f 1 -d ':' | xargs svn propset svn:eol-style native
</pre>
<p>[lcms/doc/TUTORIAL.TXT lcms/matlab/icctrans.c lcms/src/cmswtpnt.c lcms/tifficc/getopt.c lcms/src/cmsgamma.c lcms/src/cmsnamed.c lcms/samples/vprf.c lcms/src/cmserr.c lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/src/cmsxform.c.orig lcms/samples/icc2ps.c lcms/python/lcms_wrap.cxx lcms/tifficc/tiffdiff.c lcms/src/cmssamp.c lcms/samples/xgetopt.c lcms/Delphi/lcmsdll.pas lcms/include/icc34.h.in lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/jpegicc/jpegicc.c lcms/jpegicc/iccjpeg.c lcms/samples/icctrans.c lcms/testbed/testcms.c lcms/samples/mktiff8.c lcms/jpegicc/iccjpeg.h lcms/tifficc/tifficc.c lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/src/cmsio0.c lcms/src/cmsio1.c lcms/samples/mkgrayer.c lcms/filter.c lcms/python/lcms.i lcms/src/cmsxform.c lcms/src/cmsintrp.c lcms/src/cmscnvrt.c lcms/include/lcms.h lcms/doc/LCMSAPI.TXT lcms/src/cmscgats.c lcms/src/cmscam02.c lcms/include/icc34.h lcms/src/cmslut.c lcms/src/cmsps2.c lcms/samples/wtpt.c lcms/samples/itufax.c]</p>
</blockquote>
<p><strong><a name="2010-05-24T220741.207483Z"></a>
2010-05-24T22:07:41.207483Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
remove executable bits from files which don't need them.
find . -type f -executable -exec file {} \; \
| grep -v 'shell script text executable' \
| cut -f 1 -d ':' |xargs -n 1 svn propdel svn:executable
The last commit was created by:
find . -type f -executable -exec file {} \; \
| grep 'script text executable' \
| cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native
</pre>
<p>[lcms/Projects/VC6/lcms.rc lcms/Projects/VC7/lcms.rc lcms/bin/Bin.txt lcms/Delphi/Samples/create.pas lcms/samples/vprf.c lcms/configure.ac lcms/README.1ST lcms/lcms.pc.in lcms/Projects/VC2008/lcms.sln lcms/testbed/sRGBSpac.icm lcms/Projects/VC2008/lcms.vcproj lcms/python/testbed/lab2adobe.py lcms/Delphi/demo1.dfm lcms/samples/xgetopt.c lcms/Projects/VC2005/icclink.vcproj lcms/Projects/VC6/icclink.dsp lcms/Projects/VC7/lcms.vcproj lcms/src/cmscam97.c lcms/testbed/testcms.c lcms/Projects/VC6/icc2ps.dsp lcms/Projects/VC7/icctrans.vcproj lcms/python/testbed/srgb2lab.py lcms/Projects/VC7/tifficc.vcproj lcms/filter.c lcms/Projects/VC6/lcms.dsp lcms/Delphi/delphidemo.cfg lcms/Projects/VC7/icc2ps.vcproj lcms/Projects/VC6/lcms.dsw lcms/Delphi/Samples/testwp.pas lcms/Projects/VC7/lcms.sln lcms/Projects/VC2008/tifficc.vcproj lcms/Projects/VC2005/resource.h lcms/python/testbed/whtpnt.py lcms/doc/TUTORIAL.TXT lcms/src/cmswtpnt.c lcms/Projects/VC2005/Python.vcproj lcms/Projects/BorlandC_5.5/mklcmsdll.bat lcms/include/Makefile.am lcms/Projects/VC7/jpegicc.vcproj lcms/install.gcc lcms/samples/wtpt.1 lcms/Projects/BorlandC_5.5/lcmsdll.lk lcms/src/cmserr.c lcms/makefile.simple lcms/Projects/BorlandC_5.5/lcms.rc lcms/samples/mkcmy.c lcms/src/cmsmtrx.c lcms/Makefile.am lcms/python/testbed/sRGB Color Space Profile.icm lcms/Projects/VC2008/jpegicc.vcproj lcms/Projects/VC7/lcmsdll.vcproj lcms/AUTHORS lcms/samples/icc2ps.1 lcms/Projects/VC2008/resource.h lcms/src/makefile.simple lcms/samples/mktiff8.c lcms/python/testbed/virtprf.py lcms/python/testbed/clamp.py lcms/Projects/BorlandC_5.5/lcmsdll.lst lcms/src/cmsvirt.c lcms/src/cmspcs.c lcms/src/cmsio0.c lcms/python/testbed/cam02.py lcms/Projects/VC6/resource.h lcms/src/cmsxform.c lcms/python/lcms.i lcms/src/cmsintrp.c lcms/Projects/VC2008/lcmsdll.vcproj lcms/jpegicc/jpegicc.1 lcms/COPYING lcms/Projects/VC2005/lcms.rc lcms/samples/icctrans.1 lcms/Projects/VC7/tiffdiff.vcproj lcms/src/cmscgats.c lcms/Projects/VC2008/lcms.rc lcms/tifficc/tifficc.1 lcms/src/cmscam02.c lcms/matlab/icctrans.matlab.pdf lcms/python/testbed/createmsh.py lcms/src/cmslut.c lcms/tifficc/Makefile.am lcms/Lib/MS/MS.TXT lcms/samples/wtpt.c lcms/Projects/VC6/tifficc.dsp lcms/Projects/VC7/Testbed.vcproj lcms/python/testbed/gamma.py lcms/samples/itufax.c lcms/python/Makefile.am lcms/Delphi/demo1.pas lcms/src/cmsgamma.c lcms/Projects/VC6/Python.dsp lcms/Projects/VC2008/Python.vcproj lcms/src/cmsnamed.c lcms/src/cmsxform.c.orig lcms/Projects/VC6/lcmsdll.dsp lcms/Projects/VC2008/Testbed.vcproj lcms/Projects/VC2005/lcms.vcproj lcms/python/testbed/AdobeRGB1998.icc lcms/samples/icc2ps.c lcms/tifficc/tiffdiff.c lcms/samples/makefile.simple lcms/Delphi/Samples/TEST.PAS lcms/src/cmssamp.c lcms/NEWS lcms/samples/Makefile.am lcms/Projects/VC2005/icctrans.vcproj lcms/Projects/VC2005/tifficc.vcproj lcms/Delphi/lcmsdll.pas lcms/Projects/VC2008/icctrans.vcproj lcms/include/icc34.h.in lcms/Delphi/delphidemo.dof lcms/Projects/VC6/lcms.opt lcms/src/cmsmatsh.c lcms/src/cmspack.c lcms/Projects/VC6/Python.plg lcms/jpegicc/jpegicc.c lcms/samples/icctrans.c lcms/Delphi/Samples/MAKETEST.BAT lcms/Projects/VC2005/icc2ps.vcproj lcms/ltmain.sh lcms/Delphi/Samples/gamutchk.pas lcms/tifficc/tifficc.c lcms/Projects/VC2005/lcms.sln lcms/src/cmsio1.c lcms/Projects/VC6/Testbed.dsp lcms/INSTALL lcms/Projects/VC7/icclink.vcproj lcms/jpegicc/makefile.simple lcms/jpegicc/Makefile.am lcms/Projects/VC2005/jpegicc.vcproj lcms/samples/icclink.1 lcms/Delphi/Samples/testfrm.pas lcms/Projects/VC6/jpegicc.dsp lcms/Projects/VC6/icctrans.dsp lcms/src/lcms.def lcms/Delphi/demo1.dcu lcms/Delphi/Samples/getxyz.pas lcms/matlab/icctrans.c lcms/ChangeLog lcms/Projects/VC2008/icclink.vcproj lcms/tifficc/getopt.c lcms/Lib/BC/BC.txt lcms/testbed/makefile.simple lcms/Projects/VC6/Testbed.plg lcms/Delphi/delphidemo.dpr lcms/testbed/Makefile.am lcms/Projects/VC2005/lcmsdll.vcproj lcms/Projects/VC7/resource.h lcms/Projects/VC7/Python.vcproj lcms/Delphi/demo1.ddp lcms/python/testbed/cam97.py lcms/jpegicc/iccjpeg.c lcms/python/testbed/constant.py lcms/Projects/VC2005/tiffdiff.vcproj lcms/python/testbed/srgb2xyz.py lcms/python/testbed/info.py lcms/jpegicc/iccjpeg.h lcms/Projects/VC2008/tiffdiff.vcproj lcms/Projects/VC2008/icc2ps.vcproj lcms/src/Makefile.am lcms/samples/icclink.c lcms/src/cmsgmt.c lcms/Projects/VC2005/Testbed.vcproj lcms/samples/mkgrayer.c lcms/include/lcms.h lcms/Delphi/delphidemo.res lcms/src/cmscnvrt.c lcms/python/swig_lcms lcms/doc/LCMSAPI.TXT lcms/python/testbed/sRGB2adobe.py lcms/tifficc/makefile.simple lcms/include/icc34.h lcms/src/cmsps2.c]</p>
</blockquote>
<p><strong><a name="2010-05-24T220213.500457Z"></a>
2010-05-24T22:02:13.500457Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
make all shell scripts in the lcms directory eol-style native.
</pre>
<p>[lcms/depcomp lcms/compile lcms/missing lcms/config.guess lcms/config.sub lcms/install-sh lcms/mkinstalldirs lcms/configure]</p>
</blockquote>
<p><strong><a name="2010-05-24T183616.496917Z"></a>
2010-05-24T18:36:16.496917Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add missing EOL to the last line in one of the new ICC files
because MSVC 6 requires this.
</pre>
<p>[base/gsiccmanage.c]</p>
</blockquote>
<p><strong><a name="2010-05-24T163158.315172Z"></a>
2010-05-24T16:31:58.315172Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Merge of icc_work branch into trunk.
These changes make the color architecture of the graphics library ICC-based. All colors are now managed in terms of ICC profiles including PS CIE color spaces, for which equivalent ICC profiles are created. A big feature of this change is that it makes it very easy to interface a color management module (CMM) to ghostscript. The default CMM is now littleCMS and the interface to littleCMS is contained in gsicc_littlecms.c .
New member variables were added to the imager state including an ICC manager, which stores the default ICC profiles; a link cache, which reduces the cost of creating links between ICC profiles, and a profile cache which stores color spaces created from PS CIE, PDF CalRGB and PDF CalGray colors spaces.
A new directory named iccprofiles has been added. It contains the default ICC profiles used if none are specified in the command line. If COMPILE_INITS=1, these will be included in the ROM file system. The new command line options related to ICC profiles are described in the Use.htm documentation.
For c-list based rendering, all ICC profiles used in the rendering are stored in the c-list. During multi-threaded c-list reading, a link cache is associated with the primary reader device and is shared amongst the various threads.
Efficiency improvements were made in the handling of soft mask groups, shading smoothness calculations, and color image rendering.
For details on the branch, please see the commits that were made within the branch. There remain indeterminisms to fix. The files affected include Bug688807.pdf, Bug688845.eps, Bug690208.pdf, 09-34.PS, CATX0988.pdf, CATX1028.pdf, CATX1101.pdf, CATX5529.pdf.
Rendering issues to investigate include Bug689830.pdf, fts43xx.xps (page 3) (shopping cart image), Bug689880.pdf, Bug691002.pdf, Bug689968.pdf, Bug688584.ps (page 4), catx4949.pdf.
Note that the number of differences generated with the merge amounts to pretty much every file.
Thanks to everyone who helped and provided input in this work, especially Ray Johnston.
</pre>
<p>[base/gdevpdfk.c base/gxclimag.c doc/Use.htm base/gdevdflt.c psi/icie.h base/gxpcmap.c base/gxpcolor.h lcms base/gscsepr.c base/gxshade4.c base/gxclthrd.c base/gxcmap.c base/gscscie.c base/gdevwts.c base/gsistate.c base/msvclib.mak base/gxclpage.c base/gscolor2.c base/gsicc_profilecache.c base/gxistate.h base/gscolor2.h base/gsicc_profilecache.h iccprofiles base/gdevp14.c base/gsicc_create.c base/gdevp14.h base/gsicc_create.h psi/write_t2.c psi/zusparam.c base/gdevpbm.c psi/zcolor.c psi/ztrans.c base/gdevpdft.c base/gxshade1.c /trunk/gs base/gdevpsdi.c psi/ireclaim.c psi/os2.mak base/watclib.mak Resource/Init/gs_lev2.ps base/gdevpsdu.c base/gscie.c base/gxclutil.c base/gscolor3.c base/gdevpsd.c base/gscie.h base/gxiscale.c base/gxcldev.h Resource/Init/gs_res.ps base/gxifast.c base/gxdevcli.h base/openvms.mak base/watcw32.mak base/gscms.h psi/msvc32.mak base/gsalloc.c base/lcms.mak base/gxp1fill.c base/gximage.h base/gsciemap.c base/gdevpx.c psi/zcsdevn.c base/ugcclib.mak base/unix-gcc.mak base/gsovrc.c base/gxcie.h base/macos-mcp.mak base/gxshade6.c base/macosx.mak base/gsccolor.h base/gdevrinkj.c base/unixansi.mak base/devs.mak base/gsicc.c base/gxipixel.c base/lib.mak psi/zimage.c base/gsicc.h psi/dxmain.c psi/dxmainc.c Resource/Init/pdf_draw.ps base/gscolor.c Resource/Init/pdf_ops.ps psi/zdevice.c psi/zcie.c psi/zdpnext.c base/gxclist.c psi/zcie.h base/gximono.c base/gxidata.c base/gstrans.c psi/iimage.h base/gdevpdfb.c base/gxclist.h base/gxshade.c base/gstrans.h base/gxclrast.c psi/zncdummy.c base/gxshade.h toolbin/color base/gsiccmanage.c base/Makefile.in base/gdevpdfv.c base/gsiccmanage.h base/gsicc_littlecms.c base/gxclpath.c base/gsicc_littlecms.h psi/icontext.c base/gxclpath.h base/gsstruct.h base/gdevxcf.c base/gxicolor.c base/gscspace.c base/gdevimdi.c base/gscdevn.c base/gscolor1.c base/gxclread.c base/gscspace.h base/bcwin32.mak base/gsdparam.c base/gs.mak psi/zshade.c base/gdevbbox.c psi/int.mak base/gxcspace.h psi/zicc.c base/gsstate.c base/winlib.mak base/gsicccache.c psi/zicc.h psi/zimage3.c base/gsicccache.h base/gdevpdfc.c base/gstparam.h base/gxblend.c base/gdevpdfg.c base/gxblend.h]</p>
</blockquote>
<p><strong><a name="2010-05-24T020113.653152Z"></a>
2010-05-24T02:01:13.653152Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Recognize Corel tint transform function and replace it with an equivalent
calculator function. Bug 690986.
</pre>
<p>[psi/zfunc4.c]</p>
</blockquote>
<p><strong><a name="2010-05-23T001525.592930Z"></a>
2010-05-23T00:15:25.592930Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Decide whether load a CFF font as a simple font or a CIDFont based on the
/Subtype of the font object instead of the /Subtype of the font stream.
Acrobat appears to ignore the latter. Bug 691334.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-05-22T091730.088324Z"></a>
2010-05-22T09:17:30.088324Z Ken Sharp</strong></p>
<blockquote>
<pre>
Explicit pointer cast to silence a gcc compiler warning.
</pre>
<p>[base/gxp1fill.c]</p>
</blockquote>
<p><strong><a name="2010-05-21T151607.910956Z"></a>
2010-05-21T15:16:07.910956Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Following Acrobat implementation but contrary to TTF spec, consider cmap entry
that has endCode < startCode as an entry with endCode == startCode.
According to the spec, "to use these arrays, it is necessary to search for the
first endCode that is greater than or equal to the character code to be
mapped. If the corresponding startCode is less than or equal to the character
code ...". I.e. an entry with endCode < startCode should have no effect.
Thanks to Ken for the patch. Bug 691326.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-05-21T081456.354805Z"></a>
2010-05-21T08:14:56.354805Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix: device reference counting problem with patterns and clipping
Bug #690572 more details here. The problem was caused by installing a clip device while
drawing a pattern tile. This patch initialises the finalize member of the structure
where the clip device will be created to NULL. If a clip device is required, the member
will be initialised to a real routine. After drawing the pattern cell, if the finalize
routine is non-NULL we execute it.
This correctly dereferences the forwarded device if we create a clipping device.
</pre>
<p>[base/gxp1fill.c]</p>
</blockquote>
<p><strong><a name="2010-05-21T063511.431787Z"></a>
2010-05-21T06:35:11.431787Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding missing dependencies so that setupgs and uninstgs can be built ahead or independent of the main targets</pre>
<p>[psi/winint.mak psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-05-20T073106.101672Z"></a>
2010-05-20T07:31:06.101672Z regression</strong></p>
<blockquote>
<pre>
The clustermaster.pl code now checks the pid in the lock file to see if the
task is running. Also no longer test pdfwrite with the language switch build.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p>
</blockquote>
<p><strong><a name="2010-05-20T062443.585523Z"></a>
2010-05-20T06:24:43.585523Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Fix up the eol-style of the rest of the executable files by hand.
Remove executable bit from toolbin/bmpcmp.c
</pre>
<p>[toolbin/bmpcmp.c jbig2dec/ltmain.sh tiff/config/ltmain.sh libpng/contrib/pngminim/encoder/gather.sh libpng/contrib/pngminim/preader/gather.sh libpng/scripts/libpng-config-body.in libpng/contrib/pngminim/decoder/gather.sh toolbin/tests/gsvalidate.py]</p>
</blockquote>
<p><strong><a name="2010-05-20T061020.265063Z"></a>
2010-05-20T06:10:20.265063Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Set other type of shell script as native text.
find . -type f -executable -exec file {} \; | \
grep 'script text executable' | grep -v 'POSIX' | \
cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/tests/dump_checksum.py toolbin/tests/gscheck_testfiles.py toolbin/tests/dump_checksum_plus.py toolbin/localcluster/readlog.pl toolbin/search-svn-revs toolbin/localcluster/clustermonitor.cgi toolbin/localcluster/clusterpush.pl toolbin/tests/dump_checksum_raw.py toolbin/localcluster/compare.pl toolbin/localcluster/comparerevs.pl toolbin/tests/find_unique_file.py toolbin/localcluster/clustermaster.pl toolbin/localcluster/weekly.sh toolbin/localcluster/build.pl toolbin/tests/build_revision.py toolbin/htmldiff.pl toolbin/tests/compare_checksumdb.py toolbin/tests/update_baseline.py toolbin/tests/make_baselinedb.py toolbin/tests/validate.py toolbin/bugsByEngineer.pl toolbin/localcluster/clusterpull.sh toolbin/tests/regen_filelist.py toolbin/localcluster/pngs2html.pl toolbin/localcluster/nightly.pl freetype/builds/mac/ascii2mpw.py toolbin/tests/compare_checksums.py toolbin/tests/run_nightly.py toolbin/tests/regen_baseline.py toolbin/tests/myoptparse.py toolbin/tests/get_baselines.py toolbin/tests/run_regression.py toolbin/localcluster/setupcluster toolbin/localcluster/clustermonitor.pl toolbin/tests/testdiff.py toolbin/tests/updatelistpdf.py toolbin/tests/run_series.py toolbin/tests/updatelist.py toolbin/localcluster/run.pl toolbin/tests/get_baseline_log.py toolbin/performance.pl toolbin/localcluster/cachearchive.pl toolbin/tests/make_testdb.py toolbin/tests/collate.py]</p>
</blockquote>
<p><strong><a name="2010-05-20T060141.643170Z"></a>
2010-05-20T06:01:41.643170Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Set all identifiable shell script as native text
find . -type f -executable -exec file {} \; | \
grep 'POSIX shell script text executable' | \
cut -f 1 -d ':' |xargs -n 1 svn propset svn:eol-style native
</pre>
<p>[libpng/missing cups/pstoraster.in libpng/test-pngtest.sh cups/pstopxl.in libpng/install-sh jbig2dec/configure libpng/configure contrib/pcl3/ppd/catppd toolbin/clusterpush.sh libpng/depcomp jpeg/install-sh jbig2dec/config.guess contrib/pcl3/lib/if-pcl3 freetype/configure libpng/config.guess jasper/configure tiff/config/missing jbig2dec/config.sub jpeg/configure libpng/config.sub tiff/config/install-sh jpeg/config.guess zlib/configure jpeg/config.sub tiff/config/depcomp libpng/scripts/libpng-config-head.in tiff/config/compile libpng/scripts/libpng-config.in libpng/autogen.sh tiff/config/config.guess jbig2dec/mkinstalldirs jpeg/ltconfig tiff/config/config.sub libpng/mkinstalldirs contrib/epson740/ps-to-printer.fpi_rh5.2 jasper/acaux/missing jasper/acaux/install-sh tiff/autogen.sh freetype/builds/unix/install-sh freetype/builds/unix/mkinstalldirs tiff/configure jasper/acaux/depcomp jasper/acaux/compile tiff/config/mkinstalldirs jasper/acaux/config.guess contrib/pcl3/lib/cups-pcl3 jasper/acaux/config.sub]</p>
</blockquote>
<p><strong><a name="2010-05-20T055235.456761Z"></a>
2010-05-20T05:52:35.456761Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Avoid raw carriage returns in configure which confuses svn
This is a known bug apparently of autoconf 2.63 which was fixed. Here is the upstream log entry:
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb34ecf
2008-10-27 Eric Blake <ebb9@byu.net>
Avoid raw carriage return in scripts.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR
via tr, rather than with literal byte.
* THANKS: Update.
Reported by Steven R. Loomis; patch suggested by Thomas Dickey.
</pre>
<p>[jbig2dec/configure]</p>
</blockquote>
<p><strong><a name="2010-05-19T145138.835112Z"></a>
2010-05-19T14:51:38.835112Z Robin Watts</strong></p>
<blockquote>
<pre>
Some work towards (but not a complete cure for) bug 691030.
Previously XXX_slant_into_trapezoids would check for 2 'simple' cases,
and bale into the fully general fill_slant_adjust function otherwise.
The simple cases were where the top span was a subset of the bottom one, or
vice versa.
Unfortunately the way the code to test for these cases was originally written,
one of these special cases could be used for shaped with vertical sides, and
the other couldn't.
By rewriting the test slightly, both cases can be used with trapezoids that
have one vertical side.
For good measure we also extract the 'rectangle' case out separately.
Cluster testing shows no differences (barring a couple of indeterminisms).
This reduces the output from 5 shapes (2 rectangles, 3 traps) to 3 (2
rectangles, 1 trap). One of the rectangles is still a repeat, but it's
a step in the right direction.
</pre>
<p>[base/gxfillts.h]</p>
</blockquote>
<p><strong><a name="2010-05-19T100905.486708Z"></a>
2010-05-19T10:09:05.486708Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Bug 691291. Fix reading uninitialized memory.
The change I made in r10603 had a problem comparing with
uninitialized data when using Roman fonts.
The side effect was slowing down font rendering a little.
In this change I added extra initializer and made
intention of the 'if' condition more clear.
No difference on outputs expected nor observed by localcluster
tests.</pre>
<p>[base/gschar0.c]</p>
</blockquote>
<p><strong><a name="2010-05-19T074220.717044Z"></a>
2010-05-19T07:42:20.717044Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Follow-up to r11278. Removing jbig2dec/config.h.
r11278 enabled jbig2dec/configure to be run.
I agree with the change but jbig2dec/config.h was also under
subversion control. With r11278, after someone runs
'configure' or 'autogen.sh', jbig2dec/config.h become
modified status.
jbig2dec/config.h doesn't need to be here. Deleting.
Related bug: 691304 & 691312.</pre>
<p>[jbig2dec/config.h]</p>
</blockquote>
<p><strong><a name="2010-05-18T224039.023883Z"></a>
2010-05-18T22:40:39.023883Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
define -DHAVE_CONFIG_H and run jbig2dec/configure from top-level configure. The fixes some portability issues seen on opensolaris; further follow-up to bug 691304</pre>
<p>[base/Makefile.in base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-05-18T222947.346946Z"></a>
2010-05-18T22:29:47.346946Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
typo in one word. bug 691323</pre>
<p>[doc/Readme.htm]</p>
</blockquote>
<p><strong><a name="2010-05-18T222313.250745Z"></a>
2010-05-18T22:23:13.250745Z regression</strong></p>
<blockquote>
<pre>
Minor changes to cluster code:
support language switch build testing
recover from disk full errors
automatically create directories needed for new nodes in run.pl
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/clusterpull.sh toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-18T122248.908526Z"></a>
2010-05-18T12:22:48.908526Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Disabling compiler warnings for discarding 'const'.
</pre>
<p>[jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p>
</blockquote>
<p><strong><a name="2010-05-18T085518.202611Z"></a>
2010-05-18T08:55:18.202611Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bug 691313: remove the IBM Omni driver from the default build on Linux. Previously it could be excluded by giving configure "--without-omni", this revision reverses the logic, so Omni can be include by giving configure "--with-omni".</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-05-18T043225.607601Z"></a>
2010-05-18T04:32:25.607601Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Change the order in which jobs that take too long are killed on the cluster nodes to prevent leftover jobs when running bmpcmp.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-17T154838.534341Z"></a>
2010-05-17T15:48:38.534341Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix - type 1/CFF font interpreter.
The gs_type1_piece_codes routine interprets a type 1 or CFF glyph program to determine
whether the glyph is composed of two subglyphs (a SEAC).
There was a problem with the CFF opcode cntrmask which did not cater for the case where
it is called with a number of operands on the stack. In this case the operands are to
be interpreted as vstem hints. Because this was not done, the interpreter had the wrong
number of hints, and so did not interpret enough of the following bytes as mask data for
the cntrmask operation. This led to attempting to interpret data as operands, which
caused corrupted glyphs as well as potential crashes.
This does not appear to be tested by any of our current test files (according to a
cluster test), so no differences are expected.
</pre>
<p>[base/gxtype1.c]</p>
</blockquote>
<p><strong><a name="2010-05-17T082506.874101Z"></a>
2010-05-17T08:25:06.874101Z Ken Sharp</strong></p>
<blockquote>
<pre>
white space change only, committed to make a regression run as the test for the
previous revision was interrupted.</pre>
<p>[psi/write_t1.c]</p>
</blockquote>
<p><strong><a name="2010-05-17T075543.268496Z"></a>
2010-05-17T07:55:43.268496Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence some compiler and make warnings.
</pre>
<p>[psi/write_t1.c psi/int.mak psi/write_t1.h]</p>
</blockquote>
<p><strong><a name="2010-05-17T043957.140765Z"></a>
2010-05-17T04:39:57.140765Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding check for header stringprep.h; fix bug 691312</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-05-17T035931.965365Z"></a>
2010-05-17T03:59:31.965365Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Fixes portability issue properly with r11256 (which is identical with r11520),
first discovered by Ralph 6 months ago with r10520
which results in its being reverted in r10540 .
******************************
Revert c10520 which causes problems with the MSVC build.
$(CC_) enforces 'ansi' C under msvc32.mak, disabling any Microsoft
extensions. This often causes problems with 3rd party libraries
which try to take advantage of those extensions.
This means that the -fPIC flag is again not propagated in the GCC
build; this is just to unbreak the build until I can test a different
solution which works on both platforms.
******************************
As Ralph explained then, some of libtiff requires non-ansi extensions to work.
The main culpit is tif_win32.c (which includes <windows.h>) and some of the
file IO flags not being defined. So this commit fix the ansi issue properly.
</pre>
<p>[tiff/libtiff/tiffiop.h base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-17T034702.654413Z"></a>
2010-05-17T03:47:02.654413Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
fix windows build breakage in r11249
This change (defining TIFFCONFIG_SUFFIX) should have been part of
r11249 (create tif_config.h for non-autoconf build)
which in turn should have been part of
r11241 (hook up libtiff with non-autoconf build via
"make -f base/unix-gcc.mak" and "make -f base/unixansi.mak")
The explanation is that in r10317 where Lars originally hooked up libtiff,
tif_config.h is generated by libtiff/configure (which is driven by the
top-level configure), but special provision is provided for non-autoconf build
(win32 and VMS) by copying from a canned header file.
If one chooses to bypass the top-level configure, *on every platform*
(win32, VMS, and non-autoconf unix build), one must provide similiar special
provision as well.
Personally I'll prefer not to support non-autoconf unix build.
</pre>
<p>[base/unix-gcc.mak base/unixansi.mak base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-16T183240.253209Z"></a>
2010-05-16T18:32:40.253209Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Changes to the nightly regression testing system to support weekly testing.
</pre>
<p>[toolbin/localcluster/nightly.pl toolbin/localcluster/weekly.sh toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-15T105714.279373Z"></a>
2010-05-15T10:57:14.279373Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
rename PDEP to TIFFDEP to avoid clashing with PDEP from libpng.mak; bug 691299</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T105547.722308Z"></a>
2010-05-15T10:55:47.722308Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
comment out a later duplcate definition; bug 691299</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T095005.378608Z"></a>
2010-05-15T09:50:05.378608Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
latest version of these files from Adobe's web site: http://download.macromedia.com/pub/opensource/cmap/</pre>
<p>[Resource/CMap/UniGB-UTF8-H Resource/CMap/UniJIS2004-UTF32-H Resource/CMap/UniJIS2004-UTF16-H Resource/CMap/UniJIS2004-UTF8-H Resource/CMap/UniCNS-UTF32-H Resource/CMap/UniJISX0213-UTF32-H Resource/CMap/UniCNS-UTF16-H Resource/CMap/UniJIS-UTF32-H Resource/CMap/UniCNS-UTF8-H Resource/CMap/UniJIS-UTF16-H Resource/CMap/UniGB-UTF32-H Resource/CMap/UniJIS-UTF8-H Resource/CMap/UniJISX02132004-UTF32-H Resource/CMap/UniGB-UTF16-H]</p>
</blockquote>
<p><strong><a name="2010-05-15T094615.270585Z"></a>
2010-05-15T09:46:15.270585Z Ken Sharp</strong></p>
<blockquote>
<pre>
Add skeleton support for the Bitstream font engine. In its current form this only allows
for type 1 PostScritp fonts, CFF is trivial to add, as should be support for Bitstream's
own compressed format. Addition of type 42/TrueType fonts should be patterned after
FreeType, as there is support in Bitstream for a callback to provide TrueType
outlines. There is no such provision for PostScript fonts.
To build; define BITSTREAM_BRIDGE=1 and BITSTREAM_ROOT="", the root should point one
level above the 'core' directory. In the current code this would be :
"/bitstream/FontFusion 4.5a SDK"
</pre>
<p>[psi/zfapi.c psi/ifapi.h psi/write_t1.c psi/int.mak psi/msvc32.mak psi/fapibstm.c]</p>
</blockquote>
<p><strong><a name="2010-05-15T081759.395641Z"></a>
2010-05-15T08:17:59.395641Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
better way of defining SOC_LOADER when try ing to do "make -f base/unix-gcc.mak so"</pre>
<p>[base/unix-dll.mak base/unix-gcc.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T080646.613460Z"></a>
2010-05-15T08:06:46.613460Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
The final part of trying to "ln -s base/unix-gcc.mak Makefile ; make so" work.
There were some fundamental problems with the older version: The so target really
should be built in three distinct stages with three different FLAGS - the
utils (genarch, gechogs) executable part, the shared library part, and the two final
executable part. The library should be built with the shared-object flags, but neither
of the utils nor the final executables should be built with "-shared", since they are
executables and not libraries. Hope this is clear.
There is also a little problem from SOC_LOADER not being defined if this file
is not used from ./configure's Makefile.
</pre>
<p>[base/unix-dll.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T075816.778296Z"></a>
2010-05-15T07:58:16.778296Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
use CC_ instead of CC like everywhere else, to make the "so" target work</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T063020.380857Z"></a>
2010-05-15T06:30:20.380857Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
"-shared" is a linker flag and not a compiler (object code generation) flag; another piece of trying to make "make -f base/unix-gcc.mak" work</pre>
<p>[base/unix-gcc.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T062741.486639Z"></a>
2010-05-15T06:27:41.486639Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
try to make 'make -f base/unix-gcc.mak so' work
When not run through ./configure, HAVE_CONFIG_H isn't defined and
the jbig2 codes drop through to generic unknown unix platform - so we put some
generic unix values here.
</pre>
<p>[jbig2dec/os_types.h]</p>
</blockquote>
<p><strong><a name="2010-05-15T062335.840946Z"></a>
2010-05-15T06:23:35.840946Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
correct documentation on how make so should work - ./configure --enable-dynamic is required</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-05-15T033629.389869Z"></a>
2010-05-15T03:36:29.389869Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding new header dependencies from the recent remove-globals effort</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T031349.664716Z"></a>
2010-05-15T03:13:49.664716Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding a needed include to silent a compiler warning introduced by the recent remove-globals effort</pre>
<p>[base/gslibctx.c]</p>
</blockquote>
<p><strong><a name="2010-05-15T031231.280935Z"></a>
2010-05-15T03:12:31.280935Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
another fix to bug 691306
This was broken in r2746 (June 2002) which nobody has noticed for 8 years.
This code path is only used for 'make -f unixansi.mak' (very generic unix cc compiler).
</pre>
<p>[base/gp_unifs.c]</p>
</blockquote>
<p><strong><a name="2010-05-15T030909.671905Z"></a>
2010-05-15T03:09:09.671905Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
generate tif_config.h if it is not there. part of fixes to bug 691306</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T030653.120732Z"></a>
2010-05-15T03:06:53.120732Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding comments about the vga devices being Linux specific</pre>
<p>[base/unix-gcc.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T030554.250134Z"></a>
2010-05-15T03:05:54.250134Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
part of fix to bug 691306.
These two devices has been broken since r2925 (DeviceN, August 2002),
but not built by default at all. They were blindly enabled in
unix-gcc.mak amongst the ESP merge from Till, and it would appear that
nobody has noticed since the merge (8.57-8.60) until now.
</pre>
<p>[base/gdevl256.c base/gdevvglb.c]</p>
</blockquote>
<p><strong><a name="2010-05-15T025814.802157Z"></a>
2010-05-15T02:58:14.802157Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
freetype2 dependency in base/unixansi.mak to make "make -f base/unixansi.mak" work; another part for bug 691306</pre>
<p>[base/unixansi.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T025722.770443Z"></a>
2010-05-15T02:57:22.770443Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
freetype2 dependency in base/unix-gcc.mak to make "make -f base/unix-gcc.mak" work; bug 691306</pre>
<p>[base/unix-gcc.mak]</p>
</blockquote>
<p><strong><a name="2010-05-15T025530.474135Z"></a>
2010-05-15T02:55:30.474135Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
add documentation about the default internal resolution for pdfwrite is 720dpi</pre>
<p>[doc/Ps2pdf.htm]</p>
</blockquote>
<p><strong><a name="2010-05-15T025408.145913Z"></a>
2010-05-15T02:54:08.145913Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
add documentation about how to force-embedding the basic 14 fonts</pre>
<p>[doc/Ps2pdf.htm]</p>
</blockquote>
<p><strong><a name="2010-05-15T025247.037525Z"></a>
2010-05-15T02:52:47.037525Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
fix an obvious typo in the makefile</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-14T164605.198340Z"></a>
2010-05-14T16:46:05.198340Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added support to unix-gcc.mak and unixansi.mak to build/use libtiff
(also fixed some typos and made the device lists more similar).
Note because of the FreeType code these files do not work with
the current head (they work with ghostscript-8.71).
Fixes Bug 691301.
</pre>
<p>[base/unix-gcc.mak base/unixansi.mak]</p>
</blockquote>
<p><strong><a name="2010-05-14T042314.678757Z"></a>
2010-05-14T04:23:14.678757Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
remove one extra tab introduced in r10994; non-GNU Make on Tru64 and HP-UX is picky. Bug 688184 and bug 691299</pre>
<p>[psi/psromfs.mak]</p>
</blockquote>
<p><strong><a name="2010-05-14T042029.682174Z"></a>
2010-05-14T04:20:29.682174Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
HP compiler quirk - apparently the same workaround is needed for SUN Pro C and GCC 1.x (see a few lines before this change) ; bug 688184</pre>
<p>[contrib/opvp/opvp.h]</p>
</blockquote>
<p><strong><a name="2010-05-14T041842.997881Z"></a>
2010-05-14T04:18:42.997881Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
uint8_t type located in usual header on HP-UX needed for jbig2dec ; bug 688184</pre>
<p>[jbig2dec/os_types.h]</p>
</blockquote>
<p><strong><a name="2010-05-14T041654.357328Z"></a>
2010-05-14T04:16:54.357328Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
fix conflicting types against HP-UX system header in jasper; bug 688184</pre>
<p>[jasper/src/libjasper/include/jasper/jas_types.h]</p>
</blockquote>
<p><strong><a name="2010-05-13T200808.900471Z"></a>
2010-05-13T20:08:08.900471Z Robin Watts</strong></p>
<blockquote>
<pre>
Nudge the windows solution/makefiles closer to supporting 64 bit builds
by defining WIN64 and amending makefiles to pass the define on through
recursive calls.
</pre>
<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj ghostscript.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj psi/msvc32.mak /trunk/ghostpdl/main/pcl6_msvc.mak /trunk/ghostpdl/win32/language_switch.vcproj]</p>
</blockquote>
<p><strong><a name="2010-05-13T164947.848287Z"></a>
2010-05-13T16:49:47.848287Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding NULL check before closedevice - bug report 691296 and patch from Tim Waugh. Thanks.</pre>
<p>[base/gdevbbox.c]</p>
</blockquote>
<p><strong><a name="2010-05-13T085542.013750Z"></a>
2010-05-13T08:55:42.013750Z Ken Sharp</strong></p>
<blockquote>
<pre>
Changes only in white space, to provoke another regression test.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-05-13T083002.236776Z"></a>
2010-05-13T08:30:02.236776Z Ken Sharp</strong></p>
<blockquote>
<pre>
No changes, just an attempt to provoke some regression runs.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-05-13T080516.555333Z"></a>
2010-05-13T08:05:16.555333Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FAPI interface
There is code in the FAPI interface for replacing a font's /FontBBox entry, this
sometimes has to create a new array to insert into the dictionary, if the old array is
not suitable for storing real values.
The code to do this continued using ref_assign_old, as it had done for replacing the
values in an existing array. This appears to be incorrect, when created the refs in a
new array are uninitialised so attempting to use ref_assign_old tries to use
uninitialised data.
Modified to use ref_assign_new instead, as indicated by the comments in store.h
This *may* reduce some of the non-deterministic behaviour, possibly with files such
as ShadowText.eps
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-05-12T084416.052741Z"></a>
2010-05-12T08:44:16.052741Z Chris Liddell</strong></p>
<blockquote>
<pre>
Elimate an irksome compiler warning introduced in r11221</pre>
<p>[psi/zcolor.c]</p>
</blockquote>
<p><strong><a name="2010-05-12T014318.946640Z"></a>
2010-05-12T01:43:18.946640Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding documentation about the -dDisableFAPI=true switch in various places</pre>
<p>[doc/Use.htm doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-05-11T220522.389565Z"></a>
2010-05-11T22:05:22.389565Z regression</strong></p>
<blockquote>
<pre>
The local cluster now tests the language switch build (ls).
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p>
</blockquote>
<p><strong><a name="2010-05-11T212119.118628Z"></a>
2010-05-11T21:21:19.118628Z Robin Watts</strong></p>
<blockquote>
<pre>
Add x64 platform target to Visual Studio projects. I can't
test it myself due to not having a 64bit Windows setup,
but it at least starts building and then falls over when
it tries to run a 64bit exe as part of the build process.
</pre>
<p>[/trunk/ghostpdl/win32/xps.vcproj ghostscript-ufst.vcproj /trunk/ghostpdl/win32/pcl.vcproj /trunk/ghostpdl/win32/svg.vcproj /trunk/ghostpdl/win32/language_switch.vcproj]</p>
</blockquote>
<p><strong><a name="2010-05-11T210209.407086Z"></a>
2010-05-11T21:02:09.407086Z regression</strong></p>
<blockquote>
<pre>
Minor improvement to cluster node log collection code.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-11T204110.123188Z"></a>
2010-05-11T20:41:10.123188Z Robin Watts</strong></p>
<blockquote>
<pre>
bmpcmp was reporting the wrong page number for images, due to me forgetting
to increment the imagecount when images were loaded. Fixed here.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T172501.376580Z"></a>
2010-05-11T17:25:01.376580Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bugs 690356 and 690832: have the colour space object take a copy of string data associated with an indexed colour space lookup table. This prevents the colour space finalising code (gx_final_Indexed) freeing the contents of a Postscript object which may still be in use.</pre>
<p>[psi/zcolor.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T154421.967848Z"></a>
2010-05-11T15:44:21.967848Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (FAPI)
The PDF interpreter, when a font is missing, and it has the 'small caps' flag set,
creates a substitute by altering the CharStrings of the substitute font, replacing
the lower case glyph CharStrings with procedures which 'show' the upper case glyph at a
reduced size.
This ends up in the FAPI code as a t_mixedarray type which was being missed by the check
for a t_array, added previously to handle arbitrary procedures in a type 1 font. After
extending the check to include t_mixedarray it was clear that the SEAC processing was
also messing up the dictionary lookup, so it was necessary to restore a value which
had been overwritten in case a SEAC turned up.
zero-length-font.pdf should now work as it does without FAPI, no other differences
expected.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T143432.672494Z"></a>
2010-05-11T14:34:32.672494Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revise the UFST interface code for PCL/PXL and GS to work with the changes to eliminate global variables in the Artifex code base.
NOTE: the UFST_REENTRANT configuration was broken, and still is (it has been since the creation of gxfapiu.[ch] files. To be resolved in the future. At this time, therefore, no build integrating UFST can be thread safe.
</pre>
<p>[/trunk/ghostpdl/pl/plulfont.c psi/fapiufst.c base/gxfapiu.c base/gxfapiu.h]</p>
</blockquote>
<p><strong><a name="2010-05-11T132443.420456Z"></a>
2010-05-11T13:24:43.420456Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for bug 691249 - error caused by failing to initialise new member of
libctx that was previously a global.
We now memset the contents of libctx to 0 after mallocing it, and then
explicitly set the non-zero/NULL/false values. This is safer long term as
it protects us from making the same mistake in future.
</pre>
<p>[base/gslibctx.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T124144.704781Z"></a>
2010-05-11T12:41:44.704781Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
replace "/*" by "<slash><star>" to avoid compiler warning about comments inside comment </pre>
<p>[base/mkromfs.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T115510.416074Z"></a>
2010-05-11T11:55:10.416074Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Debug code for helping in debug of 689737. The pattern that is created is 1 bpp. With this code the pattern bit map is dumped for opening with photoshop as a raw 8bit image. The source of the problem appears to be incorrect creation of the pattern bit map when GraphicAlphaBits is set to greater than 1.</pre>
<p>[base/gxpcmap.c]</p>
</blockquote>
<p><strong><a name="2010-05-11T093516.657505Z"></a>
2010-05-11T09:35:16.657505Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (fonts)
Bug #691290 "new freetype code gives error /typecheck in definefont"
When creating a Decoding from an Encoding array, treat null objects the same as /.notdef
(ie not encoded).
No differences expected.
</pre>
<p>[Resource/Init/gs_fntem.ps]</p>
</blockquote>
<p><strong><a name="2010-05-10T151725.103327Z"></a>
2010-05-10T15:17:25.103327Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (FreeType) : illegal use of setcurrentpoint not handled as per Adobe.
Bug #691172, file type1-ce1_setcurrentpoint.ps
The PostScript file includes a font which illegally uses setcurrentpoint to establish an
absolute x/y position. The spec is quite clear that this operator is *only* meaningful
when processing the results of an OtherSubr, so this usage is definitely illegal.
Not only does it use setcurrentpoint but, unlike previous uses we have seen, it does not
simply establish 0,0 as the initial point, which can be safely ignored, it actually
uses it to displace the outline vertically.
FreeType normally just puts two uninitialised variables on the stack, ignores the
setcurrentpoint and pops the two dummy values. Instead, we now push the current x and
y co-ordinates when we get a '0 callothersubr'. In setcurrentpoint we then use the
top two values on the stack to set the current point. This now works for the illegal
usage seen here, the previous illegal usage, and does not break well-formed fonts
which actually use the OtherSubrs to set the point.
</pre>
<p>[freetype/src/psaux/t1decode.c]</p>
</blockquote>
<p><strong><a name="2010-05-10T122909.676516Z"></a>
2010-05-10T12:29:09.676516Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Retry of fix for Bug 69048 (this one actually builds...) Again this should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre>
<p>[base/lib.mak base/gxpcmap.c base/gxdevmem.h base/gdevabuf.c base/gspaint.c]</p>
</blockquote>
<p><strong><a name="2010-05-10T015742.574530Z"></a>
2010-05-10T01:57:42.574530Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Reversion to 11210 until I figure out what went wrong...</pre>
<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p>
</blockquote>
<p><strong><a name="2010-05-09T231059.799862Z"></a>
2010-05-09T23:10:59.799862Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 690487. This should only be a factor when using GraphicsAlphaBits. The fix was to make sure that when GraphicsAlphaBits is used we initialize the pattern bits buffer. Otherwise the get_bits operation used during the gx_default_copy_alpha grabs uninitialized memory. Since we do not test with GraphicsAlphabits in the regression testing I don't expect there to be any differences.</pre>
<p>[base/gsutil.h base/lib.mak base/gxpcmap.c base/gspaint.c base/gsutil.c]</p>
</blockquote>
<p><strong><a name="2010-05-08T223046.926748Z"></a>
2010-05-08T22:30:46.926748Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Update license headers of a few retaining files with AFPL header.
Bug 691285.
</pre>
<p>[Resource/Decoding/StandardEncoding Resource/Decoding/Latin1]</p>
</blockquote>
<p><strong><a name="2010-05-08T212213.614092Z"></a>
2010-05-08T21:22:13.614092Z regression</strong></p>
<blockquote>
<pre>
Whitespace changes only.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-08T211223.981766Z"></a>
2010-05-08T21:12:23.981766Z regression</strong></p>
<blockquote>
<pre>
Minor changes to cluster software:
Check svn commands for errors and retry.
Gather individual logs and md5sums after each job is completed
rather than at the end of all jobs.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-08T204725.658412Z"></a>
2010-05-08T20:47:25.658412Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Minor changes to the cluster software:
Added a lock file to the clusterpull.sh task
Updated the documentation to explain how to temporarily disable a node.
</pre>
<p>[toolbin/localcluster/clusterpull.sh toolbin/localcluster/readme]</p>
</blockquote>
<p><strong><a name="2010-05-08T155646.469253Z"></a>
2010-05-08T15:56:46.469253Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Detect and break an infinite loop when some of the image data source are
at EOF, some are not, and the image code doesn't take more data.
Bug 691285.
</pre>
<p>[psi/zimage.c]</p>
</blockquote>
<p><strong><a name="2010-05-08T095955.023824Z"></a>
2010-05-08T09:59:55.023824Z Ken Sharp</strong></p>
<blockquote>
<pre>
Initialise a structure to silence a Coverity warning.</pre>
<p>[base/gdevpdfj.c]</p>
</blockquote>
<p><strong><a name="2010-05-08T085757.923764Z"></a>
2010-05-08T08:57:57.923764Z Ken Sharp</strong></p>
<blockquote>
<pre>
Really, properly, silence the gcc compiler this time....</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-05-07T143008.276765Z"></a>
2010-05-07T14:30:08.276765Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix clist_band_height to use the macro defined in gxband.h as other code does to prevent future bitrot. Also use macros for the clist_ cfname, cfile, bfname, bfile.</pre>
<p>[base/gxclist.h]</p>
</blockquote>
<p><strong><a name="2010-05-07T142318.978837Z"></a>
2010-05-07T14:23:18.978837Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix number of elements in the BAND_PARAMS_INITIAL initializer macro to correspond to the size of gx_band_params_t (needed since rev 5751).</pre>
<p>[base/gxband.h]</p>
</blockquote>
<p><strong><a name="2010-05-07T121650.113521Z"></a>
2010-05-07T12:16:50.113521Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence some compiler warnings about not checking the return value from fread.</pre>
<p>[base/gdevpdf.c base/gdevpdfu.c]</p>
</blockquote>
<p><strong><a name="2010-05-07T121247.989467Z"></a>
2010-05-07T12:12:47.989467Z Ken Sharp</strong></p>
<blockquote>
<pre>
Initialise the members of a local structure to silence a (spurious) compiler and
Coverity warning.</pre>
<p>[base/gdevpdte.c]</p>
</blockquote>
<p><strong><a name="2010-05-07T081729.050795Z"></a>
2010-05-07T08:17:29.050795Z Ken Sharp</strong></p>
<blockquote>
<pre>
Silence a GCC compiler warning, no differences expected.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-05-06T160427.459137Z"></a>
2010-05-06T16:04:27.459137Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove gs_debug_out global variable as it is never used.
No differences expected or seen with local cluster testing.
</pre>
<p>[base/bench.c base/gsmisc.c]</p>
</blockquote>
<p><strong><a name="2010-05-06T160343.016324Z"></a>
2010-05-06T16:03:43.016324Z Robin Watts</strong></p>
<blockquote>
<pre>
Update overprint device to avoid writing back to 3 global variables
({generic,no,sep}_overptint_procs). We still have those global variables
but each instantiated device takes copies of them and does any writing back
into the copies. This is part of the work for bug 691207.
No differences expected or shown by local cluster testing.
</pre>
<p>[base/gsovrc.c]</p>
</blockquote>
<p><strong><a name="2010-05-06T160028.103268Z"></a>
2010-05-06T16:00:28.103268Z Robin Watts</strong></p>
<blockquote>
<pre>
Move gs_interp_reschedule_proc, gs_interp_time_slice_proc, and
gs_interp_time_slice_ticks into context to avoid global variables as
part of the work for bug 691207.
No differences expected or seen with local cluster testing.
</pre>
<p>[psi/icontext.c psi/zcontext.c psi/icstate.h psi/interp.c]</p>
</blockquote>
<p><strong><a name="2010-05-06T152510.815510Z"></a>
2010-05-06T15:25:10.815510Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (FAPI & FreeType)
Bug #691284 "Error: /unknownerror in --.FAPIBuildChar"
The issue is caused because the PostScript file adds to an existing type 1 font a
CharString entry which is not in type 1 CharString format. I would have thought this
to be illegal but other PostScript interpreters (specifically Distiller) are happy
with it.
Modifed the FAPI interface so that after retrieving a type 1, non-CID, CharString we
test to see if it is a procedure, if it is, then we return an error from the FAPI
code to the caller (in this case the FreeType interface).
Modified the FreeType interface so that if the CharString retrieval returns an error
we return a specific (otherwise unused) error to the caller, in this case the
FreeType engine. On return from FreeType to the interface we test for the specific
FreeType error (FT_ERR_Invalid_File_Format) and if this is detected then instead of
returning an error to FAPI, we add one to the character index (to ensure it isn't 0)
and return that to FAPI.
Finally, in the FAPI code, after 'rendering' the glyph, if we were returned a value
> 0 then we assume that 'something went wrong' with the CharString. As a last-ditch
effort we use the return value -1 to retrieve the CharString, and then 'exec' it.
NB if we fail to retrieve the CharString at this level, we return an invalidfont error.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h]</p>
</blockquote>
<p><strong><a name="2010-05-06T030441.737028Z"></a>
2010-05-06T03:04:41.737028Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix compilation errors on Visual C that wants "ui64" suffix instead of "ULL"
for "unsigned long long" numerals.
</pre>
<p>[base/sha2.c]</p>
</blockquote>
<p><strong><a name="2010-05-05T203019.371369Z"></a>
2010-05-05T20:30:19.371369Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove 2 unused globals. These should have been removed as part of 11146.
No differences expected.
</pre>
<p>[psi/iinit.c]</p>
</blockquote>
<p><strong><a name="2010-05-05T195805.790577Z"></a>
2010-05-05T19:58:05.790577Z regression</strong></p>
<blockquote>
<pre>
Minor changes to the local cluster:
Report md5sum differences even in files that generate an error during processing.
Archive the email and log files for all revisions, including those which had compile errors.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-05-05T181421.583279Z"></a>
2010-05-05T18:14:21.583279Z Robin Watts</strong></p>
<blockquote>
<pre>
More work towards bug 691207 (global variable removal).
There are 4 places is xps where we do eprintfs that access mem_err_print.
This resolves 1, the other 3 should never be called in files we support.
Resolve 4 const warnings from jasper.
Remove 2 calls to gs_lib_ctx_get_non_gc_memory_t from the cups driver. This
means the only places left calling this are devices in gs\contrib.
Convert calls to errprint_nomem to calls to errprint (in gdevx.c, gxttb.c,
gdevupd.c)
The only places using mem_err_print are therefore:
* calls to debug printing functions
* devices in gs/contrib calling gs_lib_gtx_get_non_gc_memory, errprint_nomem,
and eprintf.
* jasper calling eprintf.
* gdevsco.c (but that seems intrinsically single threaded to me as only one
thing can be using the console at a time, presumably)
* signal handlers in os2 and iwatc for catching numeric exceptions.
* Various devices in gs/base still call errprintf_nomem - some in DEBUG only
code, but some not.
* The gs_throw_imp function.
I think this may be as good as we can get at this point.
No differences expected, or shown by local cluster testing.
</pre>
<p>[/trunk/ghostpdl/xps/xpsfont.c base/gdevx.c base/gdevupd.c base/gxttfb.c cups/gdevcups.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/include/jasper/jas_image.h]</p>
</blockquote>
<p><strong><a name="2010-05-05T162549.238174Z"></a>
2010-05-05T16:25:49.238174Z Robin Watts</strong></p>
<blockquote>
<pre>
More work for bug 691207 (remove global vars). Change the gp_ interface and
all its implementations to pass a gs_memory_t in some cases to allow eprintf
calls to be made safely.
Also fix a 'const' warning in pxl/pxfont.c and pcl/pcsymbol.c
No differences expected, or shown by local cluster testing.
</pre>
<p>[base/gp_os2.c base/gdevos2p.c base/gsdevice.c psi/zfile.c base/gp_os2pr.c base/gp_vms.c base/gdevwprn.c base/gxclfile.c base/gp_iwatc.c base/gp_os2.h base/gp_os9.c base/gdevwpr2.c /trunk/ghostpdl/pcl/pcsymbol.c /trunk/ghostpdl/xps/xpstop.c base/gp_unix.c /trunk/ghostpdl/psi/psitop.c base/gp_unifs.c base/gp.h base/gp_macio.c base/bench.c base/gdevpdf.c base/gp_os2fs.c /trunk/ghostpdl/pxl/pxfont.c base/gp_mswin.c base/gp_dvx.c]</p>
</blockquote>
<p><strong><a name="2010-05-05T064720.379288Z"></a>
2010-05-05T06:47:20.379288Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
A fix for 691164 "PDF loads blank when not Administrator on Vista using GS 8.7".
The problem was in JasPer library. It tried to create temporary file in
current directory (HAVE_MKSTEMP), or root directory (Windows and others).
When those directories are read only, it failed to decode images.
This patch introduces searching of TMPDIR, TEMP and TMP environment varibales
and use them for temporary files.
Localcluster test reported no differences.
</pre>
<p>[jasper/src/libjasper/base/jas_stream.c jasper/src/libjasper/include/jasper/jas_stream.h]</p>
</blockquote>
<p><strong><a name="2010-05-05T030800.170436Z"></a>
2010-05-05T03:08:00.170436Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding --ldflags to cups.mak ; bug 690268</pre>
<p>[cups/cups.mak]</p>
</blockquote>
<p><strong><a name="2010-05-04T231146.700325Z"></a>
2010-05-04T23:11:46.700325Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Incoporate the reporter's suggested change to config.guess , bug 69020
It appears that the same change is already in automake-1.11 (and after 1.7),
so the change is correct. If we merge with upstream again, it is possible that
this might be overwritten. Hopefully when that happens, the config.guess from
newer upstream will have this change.
</pre>
<p>[jasper/acaux/config.guess]</p>
</blockquote>
<p><strong><a name="2010-05-04T225233.245666Z"></a>
2010-05-04T22:52:33.245666Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
minor wording and grammar corrections. Bug 690005</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-05-04T190537.567635Z"></a>
2010-05-04T19:05:37.567635Z Robin Watts</strong></p>
<blockquote>
<pre>
A couple of calls to eprintf missed from the previous commit.
No expected changes.
</pre>
<p>[base/gsfcid.c]</p>
</blockquote>
<p><strong><a name="2010-05-04T190451.514942Z"></a>
2010-05-04T19:04:51.514942Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Improved the localcluster readme instructions.
</pre>
<p>[toolbin/localcluster/readme]</p>
</blockquote>
<p><strong><a name="2010-05-04T184712.330141Z"></a>
2010-05-04T18:47:12.330141Z Robin Watts</strong></p>
<blockquote>
<pre>
As part of the work for bug 691207 (remove global variables) we introduce
a new set of macros, "emprintfX". These do the same as the "eprintfX"
macros, except they take an explicit memory reference rather than using
the mem_err_print global.
The plan is to move everything possible over to using emprintf, leaving
callers of eprintf as 'unsafe' in multithreaded builds.
This review changes all callers of eprintf in ghostscript except:
gdevsco.c, gp_iwatc.c, gp_macio.c, gp_mswin.c, gp_os2.c, gp_os2pr.c,
gp_unifs.c, gp_vms.c, gsfid.c, contrib\*, jasper\*.
1 instance in gzspotan.c remains unchanged, but it should never be used.
Local cluster testing shows no build problems.
</pre>
<p>[psi/fapi_ft.c base/gdevpdfj.c base/gsdevice.c base/gdevos2p.c psi/zfapi.c base/gdevijs.c base/gdevpdfm.c base/gdevpx.c base/gxclfile.c base/gdevpdtb.c base/gdevpdfp.c base/gdevpdtc.c psi/fapiufst.c base/gdevpdtf.c base/gdevpdfu.c base/gxblend1.c base/gspaint.c base/gdevxini.c base/gxcmap.c base/gxclthrd.c base/gdevpsdu.c base/gdevpdtt.c base/gstype42.c base/gdevpsft.c base/gsmisc.c base/gdevsgi.c base/gxclmem.c base/gxttfb.c base/std.h base/gslib.c base/gxtype1.c base/gzspotan.c psi/imainarg.c base/gdevpe.c base/gdevsun.c base/gdevxcmp.c psi/imain.c base/gsiorom.c base/gdevpdf.c base/gdevtsep.c contrib/japanese/gdevdmpr.c base/gxclrast.c base/gdevpdfi.c]</p>
</blockquote>
<p><strong><a name="2010-05-04T160329.077971Z"></a>
2010-05-04T16:03:29.077971Z regression</strong></p>
<blockquote>
<pre>
Changed casper3.ghostscript.com to casper.ghostscript.com (no reason to test this, how can it possibly fail?).
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-05-04T123427.748154Z"></a>
2010-05-04T12:34:27.748154Z Robin Watts</strong></p>
<blockquote>
<pre>
As part of the efforts towards bug 691207 (global variables must be removed)
this commit reduces the reliance on mem_err_print.
Currently all calls to errwrite and errflush get the stdin/out/err details
from a global mem_err_print. For multithreaded gs this will result in output
going to the wrong place if any of them are redirected. This review splits
errwrite into 2 variants, errwrite and errwrite_nomem. The first takes an
explicit mem pointer. The second continues to assume a global one.
The plan is to make everything possible use the first. Currently debugging
calls and some 'stubborn' devices continue to call errwrite_nomem.
Local cluster testing shows no differences.
</pre>
<p>[base/gdevos2p.c base/gdevsppr.c base/gdevpdfm.c base/gdevsunr.c base/gdevpx.c base/gdevupd.c base/gdevimgn.c base/gdevwpr2.c base/ttfmain.c base/ttfoutl.h base/gp_unifs.c /trunk/ghostpdl/psi/psitop.c base/gdev4693.c /trunk/ghostpdl/xps/xpsfont.c base/strmio.c /trunk/ghostpdl/pxl/pxtop.c contrib/pcl3/src/gdevpcl3.c base/gsmisc.c base/gdevwddb.c base/gsargs.c base/szlibd.c /trunk/ghostpdl/pl/plmain.c base/gxttfb.c base/std.h base/gdevifno.c /trunk/ghostpdl/xps/xpscff.c /trunk/ghostpdl/pcl/pctop.c contrib/pcl3/eprn/gdeveprn.c base/gdevcdj.c psi/ziodevsc.c base/gdevx.c base/gslibctx.c contrib/pcl3/eprn/eprnparm.c toolbin/localcluster/run.pl base/gdevhl7x.c]</p>
</blockquote>
<p><strong><a name="2010-05-03T165735.641421Z"></a>
2010-05-03T16:57:35.641421Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fix compiler warning (return from incompatible pointer type)
introduced with making the font cache part of the library context,
revision 11165.
</pre>
<p>[psi/isave.c]</p>
</blockquote>
<p><strong><a name="2010-05-03T164816.934577Z"></a>
2010-05-03T16:48:16.934577Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Applied Michael Constant's patch to support reading 256-bit AES encrypted PDFs
(bug #690702).
Minor modifications were made to the original patch to make it work with the
current trunk.
Aaron Gifford's SHA-2 implementation is included (BSD licensed).
Libidn is added as an optional dependency to support unicode passwords. If it
is not installed, only ASCII passwords are supported.
</pre>
<p>[base/errno_.h psi/zfaes.c psi/gs.c base/saes.c base/lib.mak base/sha2.c doc/Use.htm base/saes.h base/Makefile.in psi/int.mak psi/zutf8.c base/sha2.h base/locale_.h psi/zpdfops.c psi/zfsha2.c psi/zwinutf8.c psi/winint.mak base/ssha2.c base/configure.ac Resource/Init/pdf_sec.ps psi/msvc32.mak base/ssha2.h]</p>
</blockquote>
<p><strong><a name="2010-05-03T132552.802113Z"></a>
2010-05-03T13:25:52.802113Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) incorrect ToUnicode CMap.
Bug #691274 "Missing or incorrect ToUnicode when using Identity ordering"
pdfwrite emits ToUnicode CMaps in PDF files which always use 2 bytes for the key
length. That is 0x21 is represented as <0021>, since these are hex strings there should
in fact be no difference between <21> and <0021>. It is clear from the ToUnicode
Mapping file tutorial that this is correct for mapping files.
However, a PDF file is not a CMap file. It appears that Acrobat does not like
beginbfrange data which is padded with zeros (it seems happy with codespacerange and
destination codes which are 0 padded though).
This patch outputs ToUnicode CMaps which are not padded with 0, ie 0x21 is emitted as
<0021>, for the srcCodeLo and SrcCodeHi parameters in a beginbfrange operation. The
destination codes remain zero-padded.
Technically this would be incorrect for a real CMap file, but we don't write those
out so this should not be an issue. The change is limited to ToUnicode CMaps and does
not affect any other kind of CMap.
I believe the change will affect the data emitted for the beginbfrange,
beginbfchar, begincidchar, beginnotdefchar, beginnotdefrange and begincidrange
operators. It does *not* affect the begincodespacerange operator; although Acrobat
Distiller writes this without zero padding tests show that Acrobat is happy reading
zero-padded code space ranges.
ToUnicode information is not used in rendering PDF files, so regression testing should
show no differences. Local testing of a limited number of files doesn't reveal any
problems, but this change has not been well tested.
</pre>
<p>[base/gsfcmap.c]</p>
</blockquote>
<p><strong><a name="2010-05-03T041330.766321Z"></a>
2010-05-03T04:13:30.766321Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Fix unix so build regression; fixes regression from r9948 which was committed for bug 690695</pre>
<p>[base/unix-dll.mak]</p>
</blockquote>
<p><strong><a name="2010-05-03T035903.969165Z"></a>
2010-05-03T03:59:03.969165Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
fixes multiple jpeg devices listed in gs -h (bug 691176)</pre>
<p>[base/libtiff.mak]</p>
</blockquote>
<p><strong><a name="2010-05-03T031434.052929Z"></a>
2010-05-03T03:14:34.052929Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Rewording build instructions for unix systems, and adding more warnings about
instructions for legacy old systems being deprecated; bug 691264.
</pre>
<p>[doc/Make.htm]</p>
</blockquote>
<p><strong><a name="2010-05-02T001952.718987Z"></a>
2010-05-02T00:19:52.718987Z Robin Watts</strong></p>
<blockquote>
<pre>
Script to generate an html page that graphically show the differences
between local cluster regression run results between arbitrary revisions.
Usage information given in file. Must be run on the cluster master machine
(i.e. casper).
</pre>
<p>[toolbin/localcluster/comparerevs.pl]</p>
</blockquote>
<p><strong><a name="2010-05-01T232233.008186Z"></a>
2010-05-01T23:22:33.008186Z Henry Stiles</strong></p>
<blockquote>
<pre>
Continue work to remove globals (691207). The font cache is no longer
global but part of the library context.
</pre>
<p>[psi/isave.h psi/bfont.h base/gslibctx.c psi/zfcid0.c psi/zfcid1.c psi/zfont.c psi/zfont0.c psi/zfont1.c psi/zbfont.c psi/zusparam.c base/gslibctx.h psi/zfont32.c psi/zfont42.c psi/isave.c]</p>
</blockquote>
<p><strong><a name="2010-05-01T092324.281883Z"></a>
2010-05-01T09:23:24.281883Z Ken Sharp</strong></p>
<blockquote>
<pre>
Modify the 'C' defaults of the pdfwrite device
Bug #691259 "HPGL graphic followed by raster graphic results in incorrect pdf"
The pdfwrite device is initialised in 'C', and then partly overridden by PostScript
initialisation. The problem is that non-PostScript input does not (cannot) execute the
PostScript initialisation, and so the defaults are left as those done in 'C'.
Not only do these defaults not match the documented defaults in ps2pdf.htm, they are
not particularly well selected. In this case the problem was caused by sending image
data at 150 dpi, but only a single scan line at a time. The default setting for
pdfwrite was to downsample image data to 72 dpi, this caused us to subsample (the
default downsampling) by a factor of more than 2, which led to our single scan line
becoming less than half a scan line, and so disappearing altogether.
This patch addresses this issue by altering a number of the defaults to more sensible
values. In particular we disable downsampling and enable image compression for gray
and colour images. This has the fortunate result of making most PDF output files
smaller than before, even though we are now storing more image data.
</pre>
<p>[base/gdevpsdf.h]</p>
</blockquote>
<p><strong><a name="2010-05-01T015946.738263Z"></a>
2010-05-01T01:59:46.738263Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Check all PDF files for transparency features because some files have
incorrect version number but Acrobat renders them just fine. Bug 691273.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2010-04-30T155408.117709Z"></a>
2010-04-30T15:54:08.117709Z Ken Sharp</strong></p>
<blockquote>
<pre>
Testing a white space change for cluster regression tests, this will be overwritten later.</pre>
<p>[base/gdevpsdf.h]</p>
</blockquote>
<p><strong><a name="2010-04-29T215134.733741Z"></a>
2010-04-29T21:51:34.733741Z Till Kamppeter</strong></p>
<blockquote>
<pre>
rev 11149 for fixing bug 691014 had still some compiler warnings. This rev fixes them.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-04-29T183244.398974Z"></a>
2010-04-29T18:32:44.398974Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove the 'parent' parameter from gs_malloc_init calls. It only serves to
allow libctx's to be shared between instances, and we'll never want to do
that. It's unused at the moment anyway, so this doesn't impact anything.
No expected differences.
</pre>
<p>[psi/gs.c base/gsinit.c base/gslib.c base/gsmalloc.c /trunk/ghostpdl/pl/plalloc.c psi/iapi.c base/gsmalloc.h]</p>
</blockquote>
<p><strong><a name="2010-04-29T041915.713592Z"></a>
2010-04-29T04:19:15.713592Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
Doubling the arbitrary 0x100000 alloc size limit; the alloc_size_is_ok() check is
complied out and replaced with DO_NOTHING in release build so this has effect only
on debug builds. Fixes Bug 691271 .
</pre>
<p>[base/gsalloc.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T231901.308642Z"></a>
2010-04-28T23:19:01.308642Z Robin Watts</strong></p>
<blockquote>
<pre>
Eliminate some warnings in gxcht.c (keep shifts < size of uint).
No local cluster differences reported, or expected.
</pre>
<p>[base/gxcht.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T223701.089543Z"></a>
2010-04-28T22:37:01.089543Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fixed segfaults caused by setting and changing the page geometry parameters incorrectly (bug #691014).
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T215729.180527Z"></a>
2010-04-28T21:57:29.180527Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Associate cached font instance with PDF font resource dictionary instead of
font descriptor. The latter may be shared by font resource dictionaries with
different encodings causing incorrect rendering. Bug 690714.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-04-28T202441.808400Z"></a>
2010-04-28T20:24:41.808400Z Robin Watts</strong></p>
<blockquote>
<pre>
Move op_array_table_global and op_array_table_local away from being
globals and into i_ctx_p. This requires various knock on changes
throughout the code to enable them to be recovered from the context
(which may itself need to be recovered from a memory pointer).
Also, the garbage collection is altered slightly; rather than the
op_arrays being special cased (as special objects that have to have
their component parts registered as roots for the garbage collection) we
move them inline into i_ctx_t and amend the gc routines for that
structure. Thanks to Alex for his help with this.
No differences expected, or shown with local cluster testing.
</pre>
<p>[psi/iinit.c psi/icontext.c psi/imain.c psi/idebug.c psi/icstate.h psi/interp.c psi/igc.c psi/opdef.h psi/zmisc.c psi/iutil.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T201940.848310Z"></a>
2010-04-28T20:19:40.848310Z Robin Watts</strong></p>
<blockquote>
<pre>
Simple fix to remove dict_default_pack from being a global bool.
(Make it an enum instead).
No changes expected or shown by local cluster testing.
</pre>
<p>[psi/idict.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T171852.709002Z"></a>
2010-04-28T17:18:52.709002Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure that multiplication gets applied prior to type casting.</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T144102.575217Z"></a>
2010-04-28T14:41:02.575217Z Robin Watts</strong></p>
<blockquote>
<pre>
Add missing cast to fapi_ft.c to quiet a warning. This was missed out of
yesterdays commit of such fixes.
No expected diffs.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-28T114024.316225Z"></a>
2010-04-28T11:40:24.316225Z Robin Watts</strong></p>
<blockquote>
<pre>
Small tweaks to Ghostscript initialisation to check for malloc failures etc.
This would very rarely have been a problem in current code, but would be
more of an issue in multithreaded operation as running out of memory
while forking a new instance is more likely.
No expected differences, but the local cluster code seems to be claiming
differences for an unchanged tree at the moment, so if 3 or so non-pdfwrite
errors and 1800ish pdfwrite errors show up, it's not because of this.
</pre>
<p>[psi/gs.c psi/imain.c base/gsmalloc.c psi/iapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-27T160605.631664Z"></a>
2010-04-27T16:06:05.631664Z Chris Liddell</strong></p>
<blockquote>
<pre>
Add back in a call removed in (a merging) error in my previous commit (11137).</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-27T145314.939131Z"></a>
2010-04-27T14:53:14.939131Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bug 691260: make the FAPI and Freetype related warning messages debug only, and depend on -Zm for the FAPI warnings or -Z1 for the Freetype warnings. Also address compiler warnings in fapi_ft.c.</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-27T142708.849186Z"></a>
2010-04-27T14:27:08.849186Z Robin Watts</strong></p>
<blockquote>
<pre>
Silence some warnings, either by including new headers or by introducing
explicit casts.
No differences shown by local cluster testing (of pcl and gs only as xps is
currently broken).
</pre>
<p>[base/gxdcconv.c base/gsptype1.c base/gdevpx.c base/gstrans.c base/gdevrinkj.c base/gxfill.c base/gxstroke.c psi/zmisc.c]</p>
</blockquote>
<p><strong><a name="2010-04-27T095626.779813Z"></a>
2010-04-27T09:56:26.779813Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Made the CUPS Raster output device working in a multi-threaded mode, removing all global variables. Thanks to James Cloos for the patch. Fixes bug #691241.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-04-26T152928.937213Z"></a>
2010-04-26T15:29:28.937213Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Remember the allocator in the dynamically allocated scanner_state to ensure
proper deallocation. Current allocation may be reset when a PS error occurs.
Bug 691167.
</pre>
<p>[psi/ztoken.c psi/iscan.c psi/iscan.h]</p>
</blockquote>
<p><strong><a name="2010-04-26T090435.569612Z"></a>
2010-04-26T09:04:35.569612Z Chris Liddell</strong></p>
<blockquote>
<pre>
Ensure that the BuildChar object is not the null object before trying access its contents.
</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-26T055846.519692Z"></a>
2010-04-26T05:58:46.519692Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Change so that when a graphic state is restored, the overprint compositor action only occurs if there is a change from the current overprint state. This fixes a problem in one of the files associated with bug 691014. In the particular file, overprint compositor actions were getting placed into a pattern clist. The file in fact had no overprint settings. Ran regression test, no differences expected.</pre>
<p>[base/gsstate.c]</p>
</blockquote>
<p><strong><a name="2010-04-25T234756.048527Z"></a>
2010-04-25T23:47:56.048527Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add ANSI/ASME Y14.1 A - F paper sizes named ANSI_A - ANSI_F for completeness.
Bug 691217.
</pre>
<p>[Resource/Init/gs_statd.ps]</p>
</blockquote>
<p><strong><a name="2010-04-25T224548.099475Z"></a>
2010-04-25T22:45:48.099475Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Minor clean-ups: Added some parantheses to casts and initialized allocated memory.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-04-25T223209.854994Z"></a>
2010-04-25T22:32:09.854994Z Michael Vrhel</strong></p>
<blockquote>
<pre>
(empty)</pre>
<p>[base/gximono.c]</p>
</blockquote>
<p><strong><a name="2010-04-25T215242.447453Z"></a>
2010-04-25T21:52:42.447453Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Introduced a real get_color_comp_index() method, to fix bug #690338 correctly.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-04-25T184728.775496Z"></a>
2010-04-25T18:47:28.775496Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add -dNONATIVEFONTMAP option to disable the use of font map and corresponding
fonts installed on underlying platform. This may be needed to ensure consistent
rendering on the platforms with different fonts, for instance,
during regression testing. Bug 691240.
</pre>
<p>[doc/Use.htm Resource/Init/gs_fonts.ps]</p>
</blockquote>
<p><strong><a name="2010-04-25T004140.540207Z"></a>
2010-04-25T00:41:40.540207Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix for Bug 691014. Problem was caused by the fact that we had a soft mask present and a pattern with no transparency. This means the PDF14 device is installed and more importantly that transparency state pushes and pops occur to keep the softmask in sync with the graphic state. This particular files pattern is installed as a clist, which happens to not have any transparency. The transparency state pushes and pops were getting placed into the pattern clist when the Q and q operations occurred in the pattern, which was causing problems since the pattern clist device had no pdf14 device installed to handle such commands.
The solution is to check, when a transparency compositor action is to occur, if the current device is a pattern accumulator or a pattern-clist device. If it is, then the pattern instance is checked to see if it has transparency. If it does not, then the transparency state chance is ignored. This all occurs on the clist writing phase in the gs_trans functions.
In addition, a fix was made so that the pdf14custom device sets up it's color information correctly. For subtractive devices that do not have cmyk process colorants the custompdf14 device is installed. This pdf14 device was obtaining its color_info from the target device. The pdf14 device must be continuous tone even if the target device is not.
Ran a regression test and saw no differences.</pre>
<p>[base/gdevp14.c base/lib.mak base/gstrans.c]</p>
</blockquote>
<p><strong><a name="2010-04-24T222126.893815Z"></a>
2010-04-24T22:21:26.893815Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Remove rudimentary code that maps out-of-range character codes to 0 causing
dictionary overflow in some cases. Unlike earlier array, dictionary
representation of 'cmap' table doesn't need this. Bug 691253, customer 780.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-04-23T125600.372874Z"></a>
2010-04-23T12:56:00.372874Z Chris Liddell</strong></p>
<blockquote>
<pre>
Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build.
</pre>
<p>[/trunk/ghostpdl/common/msvc_top.mak /trunk/ghostpdl/language_switch/pspcl6_msvc.mak /trunk/ghostpdl/psi/psitop.c psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-04-23T041050.732099Z"></a>
2010-04-23T04:10:50.732099Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Fix of minor memory leak found by Ray. maskbuf entry of transparency ctx object was not getting freed. The large mask buffer, which is a member variable of maskbuf was getting freed but not this 12 byte structure. No expected differences.</pre>
<p>[base/gdevp14.c]</p>
</blockquote>
<p><strong><a name="2010-04-23T032533.581070Z"></a>
2010-04-23T03:25:33.581070Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Always load CFF font as a CIDFont when it is used as a descendant font of a
composite font in PDF file. Bug 691253.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-04-22T122816.186930Z"></a>
2010-04-22T12:28:16.186930Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Trap errors that happen in the font reader, issue a warning, and proceed as
if the font was not embedded. Bug 691242.
</pre>
<p>[Resource/Init/pdf_font.ps]</p>
</blockquote>
<p><strong><a name="2010-04-22T042000.389442Z"></a>
2010-04-22T04:20:00.389442Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't use precompiled headers on MSVC 6 and 7 because it causes compilation
error C2006 in freetype, which uses #include MACRO .
</pre>
<p>[base/msvccmd.mak]</p>
</blockquote>
<p><strong><a name="2010-04-21T195107.227636Z"></a>
2010-04-21T19:51:07.227636Z Robin Watts</strong></p>
<blockquote>
<pre>
Add missing header file from revision 11097.
</pre>
<p>[base/gdevpdtd.h]</p>
</blockquote>
<p><strong><a name="2010-04-21T192613.171574Z"></a>
2010-04-21T19:26:13.171574Z Robin Watts</strong></p>
<blockquote>
<pre>
Revert macro magic from gserror.h introduced in r11097, due to it being
broken when used as an expression. Sorry.
</pre>
<p>[base/gserror.h]</p>
</blockquote>
<p><strong><a name="2010-04-21T181256.928835Z"></a>
2010-04-21T18:12:56.928835Z Robin Watts</strong></p>
<blockquote>
<pre>
Another set of very simple tweaks to a range of source files to remove
warnings. Nothing contentious in here I hope!
base/gdevpdf.c: Make the fact we're ignoring the return value of fread
explicit by casting to void.
base/gdevsj48.c: Remove unused var.
base/gdevtknk.c: Avoid gcc warning by not needlessly assigning within
expression.
base/gdevimgn.c: Fix type declaration, make function static.
base/gxdcolor.c: Remove unused var.
base/gdevwts.c: Comment out unused function, cast unused return value from
fread to void, remove unused vars.
base/gdevo182.c: Be more explicit in type definition to stop warning.
base/gdevlp8k.c: Remove unused var.
base/gdevpdfu.c: Cast unused return value from fread to void.
base/gdevlbp8.c: Cast unused return value from fread to void.
base/gdevokii.c: Explicit cast to int to shut up stupid compiler.
base/gdevpdtd.c: Add const to arg to avoid warning.
base/gserror.h: Do some macro magic to ensure that the macro always evaluates
it's arg strictly once, insists on being followed by a semicolon, and behaves
well with surrounding if/else structures etc.
base/gxp1fill.c: Remove unused var.
</pre>
<p>[base/gdevlbp8.c base/gdevtknk.c base/gdevsj48.c base/gdevo182.c base/gdevpdf.c base/gdevimgn.c base/gdevokii.c base/gdevpdtd.c base/gxdcolor.c base/gdevwts.c base/gdevlp8k.c base/gdevpdfu.c base/gxp1fill.c base/gserror.h]</p>
</blockquote>
<p><strong><a name="2010-04-21T175508.584502Z"></a>
2010-04-21T17:55:08.584502Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for a problem in the rinkj driver for Epson Stylus Photo 2200.
The code was accessing indexes 4,5,6 in plane_offsets[6] and hence was
running off the end of the array. This was causing a warning at compile time
but never caused a segv as it was merely corrupting the next entry in the
structure which was reset to 0 shortly afterwards.
Presumably the offset for one of the planes would be wrong though causing
a loss of quality.
</pre>
<p>[base/rinkj/rinkj-epson870.c]</p>
</blockquote>
<p><strong><a name="2010-04-21T172331.243056Z"></a>
2010-04-21T17:23:31.243056Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove several occurrences of calls to gs_lib_ctx_get_non_gc_memory_t().
The only code that now needs this is gp_macpoll.c and gp_mspol.c for when
CHECK_INTERRUPTS is defined. This reduces the need for mem_err_print.
The only other code that uses mem_err_print is errflush() and errwrite().
Potentially these could be nobbled for a multithreaded build.
The changes here rely on the memory pointers being set up correctly. While
local cluster testing gives this a clean bill of health, it's possible that
problems will appear with files in the wider world - we'll just have to fix
these as they are reported.
</pre>
<p>[base/gdevjpeg.c base/sjpx_luratech.c base/strmio.c base/gxttfb.c psi/zfdctd.c base/sdctc.c psi/zfdcte.c psi/zfjpx.c base/sjpx.c]</p>
</blockquote>
<p><strong><a name="2010-04-21T150847.471495Z"></a>
2010-04-21T15:08:47.471495Z Robin Watts</strong></p>
<blockquote>
<pre>
Move CPSI_mode from being a global to living in the libctx, as part of the
efforts for bug 691207 (remove global variables).
I originally tried moving CPSI_mode into the imager state, which would have
been slightly nicer, but had to abandon this due to problems interacting
with the command list code. My first thought to make this work was to
push the value of CPSI_mode into the clist at initial clist creation time.
As the setting of CPSI_mode isn't vectored through the device, we can't
detect changes in its setting, but then changing CPSI_mode during the
lifespan of a clist would give unpredictable results anyway in many cases.
Sadly this was doomed to failure as if a page device is started up that
uses the clist code to do banding, then the command list is created before
CPSI_mode is enabled, and we'd operate with the incorrect value.
Moving CPSI_mode into libctx means we keep exactly the same behaviour as
we have now. This has required various functions throughout the code to
pass a gs_memory_t * around.
Localcluster testing reveals no problems.
</pre>
<p>[psi/zfunc3.c psi/zupath.c base/gsdps1.c base/gdevdevn.c base/gxblend1.c base/gspaint.c base/gxstroke.c psi/zmisc.c base/gdevperm.c base/gxdcconv.c base/gdevpsds.c base/gxcmap.c base/gxdcconv.h psi/zfont.c base/gdevrinkj.c base/gdevbit.c base/gsmisc.c base/gxfill.c base/gdevxcf.c base/gxicolor.c base/gdevpsd.c psi/zimage.c base/gsfont.c contrib/opvp/gdevopvp.c base/gsfont.h base/gsstate.c base/gslibctx.c base/gsstate.h psi/zcharx.c psi/zusparam.c base/gslibctx.h base/gsequivc.c psi/zchar.c]</p>
</blockquote>
<p><strong><a name="2010-04-21T072014.808042Z"></a>
2010-04-21T07:20:14.808042Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
A fix for a regression introduced by r11074 (bug 690094).
As I changed image number to be incremented when 'exflag' is false,
the problem of 'exrunlength' when SDHUFF == 1 was unveiled.
This fixes it.
JBIG2 images with SDHUFF == 1 should have been having trouble
between r11074 and this revision. No other difference expected.
</pre>
<p>[jbig2dec/jbig2_symbol_dict.c]</p>
</blockquote>
<p><strong><a name="2010-04-20T185236.186732Z"></a>
2010-04-20T18:52:36.186732Z Robin Watts</strong></p>
<blockquote>
<pre>
A series of tiny changes to various files to stop compiler warnings.
Nothing contentious in here, so I hope component owners don't object.
psi/zpdfops.c: Make zpdfinkpath function static.
psi/zcie.c: cie_cache_finish1 is an unused function; #if 0 it with a note.
psi/zicc.c: Remove 2 unused variables from a function.
psi/zcolor.c: Add a 'default' case to a switch to stop a 'variable RGB
might be used uninitialised' warning. Remove out of date comment and make
zswapcolors static.
psi/zfcid1.c: Convert some unused variables to comments.
base/gp_unix_cache.c: Make the fact we are ignoring the return value from
fread explicit by casting to void.
base/gstype42.c: Move an unused var into a #if 0 section, comment out an
unused function.
base/gstrans.c: Use 'any_abs' rather than 'abs' (to avoid abs being used
without definition).
base/gxshade6.c: Remove unused function
base/gxclfile.c: Make the fact we are ignoring the return value to freopen
explicit by casting to void.
</pre>
<p>[base/gxshade6.c psi/zcolor.c psi/zicc.c psi/zcie.c base/gp_unix_cache.c base/gxclfile.c base/gstrans.c base/gstype42.c psi/zfcid1.c psi/zpdfops.c base/echogs.c]</p>
</blockquote>
<p><strong><a name="2010-04-19T161513.462842Z"></a>
2010-04-19T16:15:13.462842Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Made oog_encode in tif_luv.c reentrant by precalculating oog_tables.
oog_tables was calculated on-demand when writing TIFF files in LogLuv Encoding.
Since it didn't depend on anything dynamic, I replaced this code with a static
const array. The array only consisted of 100 ints - the net library size
actually went down a few bytes after this change.
This is part of bug #691207 (global variables must be removed).
</pre>
<p>[tiff/libtiff/oog_table.h tiff/libtiff/tif_luv.c]</p>
</blockquote>
<p><strong><a name="2010-04-19T115627.260655Z"></a>
2010-04-19T11:56:27.260655Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Removed global variables in libtiff's tif_pixarlog.c.
This is part of #691207 (global variables must be removed).
</pre>
<p>[tiff/libtiff/tif_pixarlog.c]</p>
</blockquote>
<p><strong><a name="2010-04-19T094714.697946Z"></a>
2010-04-19T09:47:14.697946Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Removed TIFFReassignTagToIgnore in the local libtiff copy.
It wasn't reentrant due to static variables and has been deprecated for a while
now. GhostScript does not use it at all. Libtiff HEAD also has this function
removed, it was only kept in 3.x for backwards compatibility.
</pre>
<p>[tiff/libtiff/tif_dir.c]</p>
</blockquote>
<p><strong><a name="2010-04-15T185800.960218Z"></a>
2010-04-15T18:58:00.960218Z Robin Watts</strong></p>
<blockquote>
<pre>
New Visual Stdio project file for building ufst version of ghostscript.
Currently assumes that the ufst code will be found in C:\ufst, but this can
be edited in the nmake invocation lines within the Project settings.
</pre>
<p>[ghostscript-ufst.vcproj]</p>
</blockquote>
<p><strong><a name="2010-04-15T184131.569934Z"></a>
2010-04-15T18:41:31.569934Z Robin Watts</strong></p>
<blockquote>
<pre>
Update msvc32.mak with various ufst make targets. This allows a
ghostscript-ufst Visual Studio project to be constructed.
No differences to existing builds.
</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-04-15T171330.072845Z"></a>
2010-04-15T17:13:30.072845Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove invalid_file_stream and invalid_file_entry global variables,
as part of the effort for bug 691207 (remove global variables).
We move invalid_file_stream to be a non-gc chunk allocated to be in
i_ctx_t, and invalid_file_entry can then be replaced by
i_ctx_p->invalid_file_stream. The only tricky bits are a) the need to ensure
that i_ctx_p is available everywhere where it is needed, and b) making sure
that invalid_file_stream doesn't move when i_ctx_p is relocated.
No changes shown by localcluster testing (though a previous version of the
patch did fail during gc, so the relavent code is getting tested).
</pre>
<p>[psi/zfile.c psi/ztoken.c psi/zcontrol.c psi/zshade.c psi/zcontext.c psi/zfcid0.c psi/zfcid1.c psi/zicc.c psi/zfrsd.c psi/icontext.c psi/zvmem.c psi/ziodev.c psi/zfileio.c psi/interp.c psi/icstate.h psi/files.h]</p>
</blockquote>
<p><strong><a name="2010-04-15T161310.848189Z"></a>
2010-04-15T16:13:10.848189Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Backported and applied libtiff patches from libtiff bugs #2125 and #2125.
These get rid of some of the global variables in libtiff (in particular
rgb_refblackwhite and whitepoint in tif_aux.c).
This is part of the multi-threaded gs effort (bug #691207).
</pre>
<p>[tiff/libtiff/tif_dirinfo.c tiff/libtiff/tif_aux.c tiff/libtiff/tif_dir.c tiff/man/TIFFGetField.3tiff tiff/libtiff/tif_dir.h tiff/libtiff/tif_ojpeg.c tiff/libtiff/tif_jpeg.c]</p>
</blockquote>
<p><strong><a name="2010-04-15T144836.373936Z"></a>
2010-04-15T14:48:36.373936Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for bug 691244, reported/patch supplied by Norbert Janssen. In
revision 11045, I'd moved some globals into the libctx, which is
accessed via the gs_memory_t pointer. This has required certain
functions to now take a gs_memory_t pointer as an extra arg. In
this particular case the gs_memory_t pointer in question could be
NULL. The fix is to use one obtained from gs_lib_ctx_get_non_gc_memory_t,
a call to which happens conveniently to be on the previous line.
gs_lib_ctx_get_non_gs_memory_t is going to be painful to remove later on,
but at least this fix gets us up and running again now.
No expected differences.
</pre>
<p>[base/strmio.c]</p>
</blockquote>
<p><strong><a name="2010-04-15T095333.313864Z"></a>
2010-04-15T09:53:33.313864Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
A fix for 690094, "missing letters replaced by little vertical lines".
This problem was in jbig2dec function jbig2_decode_symbol_dict().
The image number was not incremented correctly when it built
symbol dictionary.
No difference expected, other than JBIG2 pdf files suffered by
this problem.
</pre>
<p>[jbig2dec/jbig2_symbol_dict.c]</p>
</blockquote>
<p><strong><a name="2010-04-15T083048.171463Z"></a>
2010-04-15T08:30:48.171463Z Chris Liddell</strong></p>
<blockquote>
<pre>
Resolve a Freetype build problem on Mac - solution suggested by Tor and Henry.
</pre>
<p>[base/freetype.mak]</p>
</blockquote>
<p><strong><a name="2010-04-14T192956.362613Z"></a>
2010-04-14T19:29:56.362613Z Robin Watts</strong></p>
<blockquote>
<pre>
Update the clist band list compressor code to work without using global
variables as part of the workd for bug 691207 (remove global variables).
The old code used to call a function to read an initialise global structure,
then based on that allocate storage and copy the structure into it. The new
code essentially does 2 calls; one that serves to get the size, and another
that serves to initialise the newly allocated structure.
To facilitate testing, this introduces a new TEST_BAND_LIST_COMPRESSION
define. If built with this as a define, the code sets the compression
threshold to 1K, thus forcing the use of compression. A local cluster
push with this in reveals just one problem, and that seems to be in the
existing code whereby inflateEnd can be incorectly called on a NULL derived
pointer. A fix for that is included too.
No expected differences.
</pre>
<p>[base/gxcllzw.c base/gxclmem.c base/lib.mak base/gxclzlib.c base/gxclmem.h base/szlibd.c]</p>
</blockquote>
<p><strong><a name="2010-04-14T162511.391305Z"></a>
2010-04-14T16:25:11.391305Z Chris Liddell</strong></p>
<blockquote>
<pre>
Reverse the previous build options for Freetype integration: now --disable-freetype for configure on Unix type systems or pass FT_BRIDGE=0 to nmake on Windows if you do not want to integrate Freetype.
</pre>
<p>[base/configure.ac psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-04-14T160329.953276Z"></a>
2010-04-14T16:03:29.953276Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType FAPI
No bug for this (probably should be). Noticed while testing that using a TrueType to
replace a missing CIDFont (ie entry in cidfmap) was rendering the wrong glyphs, and
applying a vertical advance.
The incorrect glyph seems to be because we were incorrectly stating that the character
index was not a glyph ID, which it is in this case.
The second problem was more difficult. FreeType manufactures vertical advance metrics
for all TrueType glyphs, we override those in the incremental interface callback, but
when the TT is a CIDFont on disk, we don't use the incremental interface and so have
no opportunity to override the metric.
Addressed this by checking in load_glyph to see if the current font is not type 1
(ie its TT), *is* a CIDFont, and is not a vertical font (WMode is 0). In this case
we simply override the vertical advance and maek it 0.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-14T141119.891045Z"></a>
2010-04-14T14:11:19.891045Z Robin Watts</strong></p>
<blockquote>
<pre>
Move real_time_0 from being a static variable in zmisc.c to being an entry
int libctx. Instead of initialisation happening in zmisc it now happens in
gslibctx.c. Part of the effort for bug 691027 (remove global vars).
This variable isn't strictly speaking necessary, but apparently some FTS
tests behave better if realtime starts from 0, and it isn't a big problem.
No differences shown in localcluster testing.
</pre>
<p>[base/gslibctx.c base/gslibctx.h psi/zmisc.c]</p>
</blockquote>
<p><strong><a name="2010-04-14T100331.189133Z"></a>
2010-04-14T10:03:31.189133Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
a few more comments about some microsoft CJK fonts</pre>
<p>[lib/mkcidfm.ps]</p>
</blockquote>
<p><strong><a name="2010-04-14T023158.209185Z"></a>
2010-04-14T02:31:58.209185Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Fixed jbig2dec command getopt() parameter for -v option. Not used by ghostscript itself but worth for standalone debugging.</pre>
<p>[jbig2dec/jbig2dec.c]</p>
</blockquote>
<p><strong><a name="2010-04-14T022616.603254Z"></a>
2010-04-14T02:26:16.603254Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Fixed an indent. No influence on code.</pre>
<p>[jbig2dec/jbig2_symbol_dict.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T145216.370358Z"></a>
2010-04-13T14:52:16.370358Z Henry Stiles</strong></p>
<blockquote>
<pre>
Gets rid us of 2 global variables in jasper (jas_image_numfmts and
jas_image_fmtinfos). In so doing we take the liberty of simplifiying
jasper's startup. The configured codecs (we only use 2: jpc and jp2)
were set at compile time anyway so the the methods to "add formats"
and "clear formats" have been replaced with a static table.
</pre>
<p>[jasper/src/appl/imgcmp.c jasper/src/appl/jasper.c jasper/src/appl/imginfo.c jasper/src/libjasper/base/jas_image.c jasper/src/libjasper/base/jas_init.c jasper/src/libjasper/include/jasper/jas_image.h]</p>
</blockquote>
<p><strong><a name="2010-04-13T142959.699580Z"></a>
2010-04-13T14:29:59.699580Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove BITTAG global variable by moving it into the libctx, as part of
efforts towards bug 691207 (multithreaded gs). This has required several
accessor functions to gain gs_memory_t * arguments.
No differences expected, or shown by localcluster testing.
</pre>
<p>[base/gsnamecl.c base/gsutil.h base/gslibctx.c base/gdevbit.c base/gslibctx.h base/gsutil.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T130654.792469Z"></a>
2010-04-13T13:06:54.792469Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType
A prior update which re-initialised a glyph index to prevent old Metrics override
values persisting after a glyph was discarded did not check the ft_inc_int member of
the 'FF_face' structure before dereferncing it, leading to a potential crash if the
font was not incrementally loaded.
The code now checks the value before attempting to dereference the pointer.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T125040.024266Z"></a>
2010-04-13T12:50:40.024266Z Ken Sharp</strong></p>
<blockquote>
<pre>
Modify FAPI support files
Moved FAPIConfig, FAPIcidfmap and FAPIfontmap from the 'lib' directory to the
'Resource/Init' directory, so that they get built in when COMPILE_INITS=1.
Also modified gs_fapi.ps to contain default values for the contents of FAPIConfig which
map all fonts to the FAPI engine (FreeType for now). Modified FAPIConfig so that the
usual contents are commented out. This should allow the possibility of overriding the
default values by putting new values in FAPIConfig.
</pre>
<p>[lib/FAPIcidfmap lib/FAPIfontmap lib/FAPIconfig Resource/Init/FAPIcidfmap Resource/Init/FAPIfontmap Resource/Init/FAPIconfig Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-04-13T121542.067350Z"></a>
2010-04-13T12:15:42.067350Z Robin Watts</strong></p>
<blockquote>
<pre>
Move global variables from gshtscr.c (screen_accurate_screens,
screen_min_screen_levels, screen_use_wts) into libctx. This has
meant updating the functions to read/write these to take a
gs_memory_t pointer too. Part of the efforts for bug 691207.
No differences shown by localcluster testing.
</pre>
<p>[base/gshtscr.c base/gxht.h psi/zusparam.c base/gslibctx.h base/gsht.c base/gsht1.c psi/zht.c psi/zht2.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T095008.611008Z"></a>
2010-04-13T09:50:08.611008Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
A fix for 691081, 691206, and part of 690094.
From r9769, jbig2dec wasn't capable of decoding some JBIG2 files and throwing a error "jbig2dec FATAL ERROR runlength too large in export symbol table (XXX > XX - XX) (segment 0xXX)".
This was caused by accidentaly bound checking export symbol table size with number of non-export symbol. This fixes it.
No differences expected, other than JBIG2 files suffered from this problem.
</pre>
<p>[jbig2dec/jbig2_symbol_dict.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T093822.017180Z"></a>
2010-04-13T09:38:22.017180Z Chris Liddell</strong></p>
<blockquote>
<pre>
Minor revision to FAPI code to better ensure GS errors in callbacks survive through the font renderer library.</pre>
<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2010-04-13T032558.022387Z"></a>
2010-04-13T03:25:58.022387Z Henry Stiles</strong></p>
<blockquote>
<pre>
Make the CIESpaces array and its elements constant so it is not
confused with global modifiable data.
</pre>
<p>[psi/zcolor.c]</p>
</blockquote>
<p><strong><a name="2010-04-12T104443.428786Z"></a>
2010-04-12T10:44:43.428786Z Chris Liddell</strong></p>
<blockquote>
<pre>
Remove the hardcoded identity matrix in the Type 1 serialization code in favour of the new FAPI call allowing the interface code to dictate the matrix to be used.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-10T093554.039788Z"></a>
2010-04-10T09:35:54.039788Z Ken Sharp</strong></p>
<blockquote>
<pre>
Remove extraneous debug statement in revision 11050.</pre>
<p>[Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-04-10T092850.393011Z"></a>
2010-04-10T09:28:50.393011Z Ken Sharp</strong></p>
<blockquote>
<pre>
FAPI Enhancement
We need a way in the initial release where we set FreeType as the default font scaler to
switch it off and revert back to the Ghostscript internal font scaler, in case there
are significant problems. Bug #691237
This allows the user to either send PostScript or set a command line value to create
a key called DisableFAPI, if the value is true then FAPI will no longer be active, and
so the GS font scaler will be used.
Can also be set with -dDisableFAPI=true at the command line.
</pre>
<p>[Resource/Init/gs_fapi.ps]</p>
</blockquote>
<p><strong><a name="2010-04-09T182238.657773Z"></a>
2010-04-09T18:22:38.657773Z regression</strong></p>
<blockquote>
<pre>
Fixed a recently introduced bug in the cluster that caused gs head to
be used when compiling GhostPCL/GhostXPS even if a previous revision
should have been used (as is the case when two or more commits occur
while the cluster is busy).
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-04-09T174920.410599Z"></a>
2010-04-09T17:49:20.410599Z regression</strong></p>
<blockquote>
<pre>
Minor tweaks/improvements to the cluster code:
Fixed bug which occasionally left jobs running on macpro.
Clusterpush.pl when run with user==Michael Vrhel now compares to icc_work branch.
Report all icc_work branch errors (not just new ones).
Collect time to run information.
No longer cache mupdf results.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-04-09T145126.314389Z"></a>
2010-04-09T14:51:26.314389Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix UFST and enhance FAPI
Define a new API call for FAPI to allow font engines to replace a FontMatrix. This is
to allow FreeType to replace the FotnMatrix with the identity as it makes the 2-step
scaling performed by FreeType simpler.
Modified compute_em_scale so that it uses the new API call instead of blindly replacing
the FontMatrix.
Restored the calculation in FAPI_do_char which unwinds the FontMatrix from the CTM
when calculating the scale factor. Use the new API call to retrieve the desired
FontMatrix rather than pulling it directly from the font as before.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c psi/ifapi.h psi/fapiufst.c]</p>
</blockquote>
<p><strong><a name="2010-04-09T081356.362732Z"></a>
2010-04-09T08:13:56.362732Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix Bug #691180
This alters the described 'odd behaviour' of the font substitution code whereby fonts
whose name does not contain either 'Serif' or 'Sans' are substituted with Helvetica,
but those which contain 'Italic' are substituted with Times. Italic fonts are now
treated the same as Oblique fonts, and substituted with Helvetica, unless the font
is identified as a serif font.
This may cause some substitution differences with regression files.</pre>
<p>[Resource/Init/gs_fonts.ps]</p>
</blockquote>
<p><strong><a name="2010-04-08T214254.260278Z"></a>
2010-04-08T21:42:54.260278Z Robin Watts</strong></p>
<blockquote>
<pre>
Move io_device_table from being a global static in gsiodev.c into
the library context. In order to retrieve it we need to update
lots of functions to take a gs_memory_t * as well.
Localcluster testing shows no expected differences.
</pre>
<p>[base/gsdevice.c psi/zfile.c base/gdevupd.c base/gsiodev.c base/gxdevice.h psi/ziodev2.c base/gdevprn.c psi/ziodevsc.c base/sfxcommon.c psi/zfrsd.c base/gxiodev.h base/strmio.c base/gslibctx.c base/gsfname.c psi/ziodev.c base/gdevtsep.c psi/zcrd.c base/gslibctx.h base/gsfname.h base/gdevps.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T160550.601517Z"></a>
2010-04-08T16:05:50.601517Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix TrueType interpreter Bug #691227
Another nasty hack for another broken TrueType font. In this case the font tries to
execute a DeltaP instruction with an argument greater than the number of points in the
glyph, which is an error.
FreeType's interpreter has this comment
/* XXX: Because some popular fonts contain some invalid DeltaP */
/* instructions, we simply ignore them when the stacked */
/* point reference is off limit, rather than returning an */
/* error. As a delta instruction doesn't change a glyph */
/* in great ways, this shouldn't be a problem. */
This patch more or less mimics this in our code.
</pre>
<p>[base/ttinterp.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T155431.828558Z"></a>
2010-04-08T15:54:31.828558Z Ralph Giles</strong></p>
<blockquote>
<pre>
Remove the commented out invocations of autoheader and aclocal/automake
in the autotools bootstrap script.
The various autotools modules must be invoked in a specific order, and
usually with non-default options. We only use autoconf in our build,
not any of the other tools which layer on top of it, but I had left
their invocations in the script, but commented out, so make it easier
to add them at a later date.
It's been some years since autogen.sh was added, and we still have no
plans to adopt automake. Also, the script didn't include support for
libtoolize (which is glibtoolize of MacOS X) nor for detecting the
appropriate automake version, so it seems simpler to just remove the
commented out lines to avoid confusion.
</pre>
<p>[autogen.sh]</p>
</blockquote>
<p><strong><a name="2010-04-08T153926.443280Z"></a>
2010-04-08T15:39:26.443280Z Robin Watts</strong></p>
<blockquote>
<pre>
Stop a function scope static from being static as nothing was gained by it,
and this removes it from the list of global variables as part of the efforts
for bug 691207 (multithreaded safety).
No expected differences.
</pre>
<p>[base/gdevupd.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T152926.540666Z"></a>
2010-04-08T15:29:26.540666Z Robin Watts</strong></p>
<blockquote>
<pre>
Change a static (that happens to be const) to be a static const to remove
it from the global variable list for bug 691207.
No expected differences.
</pre>
<p>[base/gdevifno.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T152228.719732Z"></a>
2010-04-08T15:22:28.719732Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove globals from gdevmgr.c as part of efforts on bug 691207 (multithreaded
safety).
Move 5 tables from being file level statics to living in the device structure.
Checked by doing back to back builds and verifying that the same output is
given for tiger.eps in both cases.
No expected differences.
</pre>
<p>[base/gdevmgr.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T151651.654028Z"></a>
2010-04-08T15:16:51.654028Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove the function scope static variables from gdevcdj.c as part of the
efforts for bug 691207 (multithreaded safety). These only affect the
ESC/P driver.
There are 4 variables in play here. real_rows doesn't actually need to be
static at all as it is always set before being used. The other 3 (ln_idx,
vskip1 and vskip2) all go into the 'ep_globals' structure.
There is a subtle change in behaviour here; previously these variables were
initialised to zero on execution start (and again on every flush). Now they
are initialised to zero at the start of every page (and again on every flush).
This means that leftover vskips are no longer carried forwards from page to
page. This seems like a good thing to me.
</pre>
<p>[base/gdevcdj.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T143041.679319Z"></a>
2010-04-08T14:30:41.679319Z Robin Watts</strong></p>
<blockquote>
<pre>
Make a table of 4 zeros be static const, and update the cast where they are
used to also be static const. This should remove them from the global variable
list in bug 691207.
</pre>
<p>[contrib/japanese/gdev10v.c]</p>
</blockquote>
<p><strong><a name="2010-04-08T115629.059369Z"></a>
2010-04-08T11:56:29.059369Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove global variables in gdevcdj.c as part of the effort for bug 691207.
The ESC/P based printing code in gdevcdj.c uses various global variables; we
gather them into a struct here, and pass the struct between the 2 functions
concerned.
This device isn't used in the default build, so no point in testing with the
localcluster. Enabling it locally and doing before/after tests shows that
identical results are given for rendering tiger.eps.
A side effect of this commit is to remove the nasty shadowing of the img_rows
variable (doubly nasty because of it's use within a macro). This meant that I
had the code wrong for a while, so I know the test is actually testing the
right thing.
</pre>
<p>[base/gdevcdj.c]</p>
</blockquote>
<p><strong><a name="2010-04-07T171846.406090Z"></a>
2010-04-07T17:18:46.406090Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove global variable lbp8_end from gdevlbp8.c - it was permanently NULL
so removing it isn't hard, or risky. This will help towards the "No global
variables" goal (bug 691207).
No expected differences.
</pre>
<p>[base/gdevlbp8.c]</p>
</blockquote>
<p><strong><a name="2010-04-07T132337.938542Z"></a>
2010-04-07T13:23:37.938542Z Chris Liddell</strong></p>
<blockquote>
<pre>
Revise the interface code and the use of FT so that both use GS managed memory, rather than the stdlib memory routines (malloc/free and co.).</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-07T131357.741241Z"></a>
2010-04-07T13:13:57.741241Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for bug 691228, problems with wide strokes with round caps/joins with
antialiasing enabled.
2 small problems in the same code. In the antialiased case, we stroke by
forming 2 paths (one up either side of the line) and then reverse one and
concatenate it. This should happen whenever we meet a closepath, but due to
a misplaced return, was being missed out in some round join cases.
Also, when using a round join in the case where 2 lines meet 'in-line' we
would inadvertently leave the point on the wrong side of the line.
No changes in localcluster testing as this only affects antialiased results
and that's not tested currently.
</pre>
<p>[base/gxstroke.c]</p>
</blockquote>
<p><strong><a name="2010-04-06T192640.921375Z"></a>
2010-04-06T19:26:40.921375Z Robin Watts</strong></p>
<blockquote>
<pre>
Another attempt to fix Bug 691115. This corrects the clipping of a trapezoid
to a rectangle within the shading code. My previous attempt had failed to
allow for one case.
This causes 116 non-pdfwrite diffs, and 23 pdfwrite ones, all checked using
bmpcmp and found to be acceptable.
</pre>
<p>[base/gxshade6.c]</p>
</blockquote>
<p><strong><a name="2010-04-06T171554.520182Z"></a>
2010-04-06T17:15:54.520182Z Michael Vrhel</strong></p>
<blockquote>
<pre>
Update of fuzzy to report average and max color errors. This is useful for continuous tone images only. If the max error reaches the largest possible, the calculations for these values are not performed.</pre>
<p>[toolbin/tests/fuzzy.c]</p>
</blockquote>
<p><strong><a name="2010-04-06T141443.252652Z"></a>
2010-04-06T14:14:43.252652Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FAPI and FreeType interface.
The Metrics override was broken, the code to retrieve the /Metrics entries (1 to 4
values) stored the results in an array in a different order to the code which read the
values back.
In addition the FreeType code did not reset the 'glyph_metrics_index' if a glyph had no
metrics override, which could lead to us using the metrics overrides from a prior glyph
if we had already encountered one using an override.
</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-06T100831.160988Z"></a>
2010-04-06T10:08:31.160988Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType.
The revision 11012 fixed a problem with an invalid font but accidentally introduced a
regression because an 'else' clause was missed.
</pre>
<p>[freetype/src/psaux/psobjs.c]</p>
</blockquote>
<p><strong><a name="2010-04-06T081444.802475Z"></a>
2010-04-06T08:14:44.802475Z Chris Liddell</strong></p>
<blockquote>
<pre>
Resolve two compiler warnings - no behaviour change expected</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-05T235000.539571Z"></a>
2010-04-05T23:50:00.539571Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding comments about using globs not expandable by shell; bug 691229</pre>
<p>[base/mkromfs.c]</p>
</blockquote>
<p><strong><a name="2010-04-05T172412.188391Z"></a>
2010-04-05T17:24:12.188391Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219</pre>
<p>[lib/pdf2ps lib/eps2eps lib/pfbtopfa lib/ps2epsi lib/ps2pdfwr lib/ps2ps lib/dumphint lib/ps2ps2 lib/dvipdf lib/pdfopt]</p>
</blockquote>
<p><strong><a name="2010-04-05T172210.077618Z"></a>
2010-04-05T17:22:10.077618Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding escaped quotes around $0 in "dirname $0" ; bug 691219</pre>
<p>[lib/printafm lib/eps2eps lib/pdf2dsc lib/gsbj lib/ps2epsi lib/gsdj lib/dumphint lib/gsnd lib/font2c lib/pdfopt lib/pdf2ps lib/ps2pdf lib/gslj lib/pfbtopfa lib/bdftops lib/ps2pdf12 lib/ps2pdf13 lib/ps2pdf14 lib/gslp lib/wftopfa lib/ps2pdfwr lib/ps2ps lib/pphs lib/pf2afm lib/gsdj500]</p>
</blockquote>
<p><strong><a name="2010-04-05T171334.259627Z"></a>
2010-04-05T17:13:34.259627Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
adding reference to msmin04, msgoth04 and ngulim,nbantang; fixes the remaining issues in bug 689456</pre>
<p>[lib/mkcidfm.ps]</p>
</blockquote>
<p><strong><a name="2010-04-05T154847.768122Z"></a>
2010-04-05T15:48:47.768122Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix line endings. The previous commit (11012) accidentally used DOS line endings which
made it appear every line in the file was different.
</pre>
<p>[freetype/src/psaux/psobjs.c]</p>
</blockquote>
<p><strong><a name="2010-04-05T153111.441559Z"></a>
2010-04-05T15:31:11.441559Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType
When using bitmaps from a TrueType/Type42 font FreeType uses a heuristic approach to
synthesize vertical metrics for the glyphs, including a horizontal advance. As in the
past, this works well as long as the client knows whether the advance direction is
horizontal or vertical and uses the correct advance.
However we don't know that, so we don't want the vertical advance.
Its easiest jut to have FreeType ignore embedded bitmaps and use the outlines, in which
case we don't get the invented vertical advance. Not only that but the rendered bitmap
is a better match for the cases where we don't have a pre-built bitmap, so consistency
is improved with this patch as well.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-05T152725.365922Z"></a>
2010-04-05T15:27:25.365922Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType
The test file objlune_font2_mine.ps contains a Type 1 font which has a technically
invalid glyph. The glyph executes a 'lineto' class operation before a 'moveto' class
operation.
Although illegal it seems that all other PostScript RIPs ignore this requirement, this
patch removes the error check in FreeType to conform with other interpreters.
</pre>
<p>[freetype/src/psaux/psobjs.c]</p>
</blockquote>
<p><strong><a name="2010-04-05T113332.361294Z"></a>
2010-04-05T11:33:32.361294Z Chris Liddell</strong></p>
<blockquote>
<pre>
Update the to latest FT code from the FT git repository.</pre>
<p>[freetype/src/pshinter/pshglob.c freetype/src/base/ftpfr.c freetype/src/pshinter/pshglob.h freetype/src/type1/t1objs.c freetype/docs/DEBUG freetype/src/type1/t1objs.h freetype/docs/INSTALL.CROSS freetype/src/truetype/ttgload.c freetype/src/truetype/ttgload.h freetype/src/tools/ftrandom/ftrandom.c freetype/devel/ft2build.h freetype/src/tools/docmaker/formatter.py freetype/src/autofit/Jamfile freetype/src/bdf/module.mk freetype/include/freetype/config/ftheader.h freetype/src/cff/Jamfile freetype/src/cff/cffparse.c freetype/src/raster/ftraster.c freetype/src/cff/cffparse.h freetype/src/cff/cffcmap.c freetype/src/raster/ftraster.h freetype/src/cff/cffcmap.h freetype/src/raster/ftrend1.c freetype/include/freetype/internal/services/svttglyf.h freetype/src/raster/ftrend1.h freetype/builds/wince/vc2005-ce/freetype.vcproj freetype/docs/INSTALL.ANY freetype/src/psnames/module.mk freetype/src/base/ftutil.c freetype/src/autofit/afglobal.c freetype/src/cache/ftcsbits.c freetype/src/autofit/afglobal.h freetype/src/pcf/rules.mk freetype/src/base/ftsystem.c freetype/src/cache/ftcsbits.h freetype/src/psaux/psaux.c freetype/src/cff/module.mk freetype/src/pshinter/rules.mk freetype/src/pcf/pcfread.c freetype/src/bdf/bdflib.c freetype/src/pcf/pcfread.h freetype/include/freetype/ftcache.h freetype/src/raster/Jamfile freetype/src/gzip/rules.mk freetype/src/pshinter/pshalgo.c freetype/include/freetype/ftincrem.h freetype/include/freetype/internal/services/svcid.h freetype/src/pshinter/pshalgo.h freetype/src/psnames/psnamerr.h freetype/src/tools/test_afm.c freetype/src/cache/ftccache.c freetype/src/cache/ftcmru.c freetype/include/freetype/config/ftstdlib.h freetype/src/cid/cidtoken.h freetype/include/freetype/freetype.h freetype/vms_make.com freetype/src/cache/ftccache.h freetype/src/cache/ftcmru.h freetype/docs/INSTALL.UNIX freetype/src/tools/cordic.py freetype/src/pfr/Jamfile freetype/src/pfr/pfr.c freetype/src/pfr/pfrload.c freetype/src/pfr/pfrload.h freetype/include/freetype/fterrdef.h freetype/src/type1/t1gload.c freetype/src/base/ftbbox.c freetype/src/otvalid/otvgdef.c freetype/src/type1/t1gload.h freetype/include/freetype/ftsystem.h freetype/src/bdf/bdferror.h freetype/src/gxvalid/rules.mk freetype/src/pcf/pcf.c freetype/src/bdf/Jamfile freetype/src/gxvalid/gxvbsln.c freetype/include/freetype/internal/services/svotval.h freetype/src/otvalid/rules.mk freetype/src/pfr/pfrdrivr.c freetype/src/pcf/pcf.h freetype/src/type1/Jamfile freetype/src/pfr/pfrdrivr.h freetype/src/pcf/pcferror.h freetype/src/sfnt/ttsbit0.c freetype/src/base/ftmac.c freetype/src/base/ftgloadr.c freetype/src/base/ftbase.c freetype/builds/win32/vc2005/freetype.vcproj freetype/src/base/ftbase.h freetype/src/gxvalid/gxvmort0.c freetype/src/bdf/bdf.c freetype/src/bdf/bdf.h freetype/src/gxvalid/gxvalid.c freetype/src/cff/cff.c freetype/include/freetype/internal/psaux.h freetype/src/gxvalid/gxvalid.h freetype/autogen.sh freetype/src/base/fttype1.c freetype/src/autofit/afmodule.c freetype/src/autofit/afmodule.h freetype/src/pfr/pfrcmap.c freetype/src/pfr/pfrcmap.h freetype/src/psaux/Jamfile freetype/src/cff/cffpic.c freetype/src/base/ftdebug.c freetype/src/gzip/inflate.c freetype/src/cff/cffpic.h freetype/src/type1/t1driver.c freetype/src/otvalid/otvbase.c freetype/include/freetype/ftmoderr.h freetype/src/gxvalid/gxvopbd.c freetype/src/type1/t1driver.h freetype/src/base/basepic.c freetype/src/type1/t1parse.c freetype/src/otvalid/otvmath.c freetype/src/gxvalid/gxvmort1.c freetype/src/base/basepic.h freetype/src/psnames/rules.mk freetype/src/type1/t1parse.h freetype/src/pcf/Jamfile freetype/src/gzip/Jamfile freetype/src/base/ftbdf.c freetype/src/type1/t1afm.c freetype/src/raster/module.mk freetype/src/cid/cidobjs.c freetype/include/ft2build.h freetype/include/freetype/internal/services/svgxval.h freetype/include/freetype/internal/ftrfork.h freetype/src/type1/t1tokens.h freetype/src/type1/t1afm.h freetype/src/pshinter/pshrec.c freetype/src/cid/cidobjs.h freetype/src/pshinter/pshrec.h freetype/src/truetype/ttobjs.c freetype/src/autofit/autofit.c freetype/include/freetype/ftchapters.h freetype/src/type1/t1errors.h freetype/include/freetype/ftlzw.h freetype/src/truetype/ttobjs.h freetype/src/otvalid/otvgsub.c freetype/src/tools/apinames.c freetype/src/winfonts/fnterrs.h freetype/src/cache/ftcache.c freetype/include/freetype/ftglyph.h freetype/builds/win32/vc2005/index.html freetype/src/raster/rasterrs.h freetype/src/autofit/aflatin2.c freetype/src/type42/Jamfile freetype/src/base/ftpic.c freetype/src/autofit/aflatin2.h freetype/include/freetype/fttypes.h freetype/src/cache/ftcglyph.c freetype/src/gxvalid/gxvmort2.c freetype/src/pshinter/pshinter.c freetype/src/cache/ftcglyph.h freetype/src/tools/test_bbox.c freetype/src/cache/Jamfile freetype/src/type42/t42types.h freetype/include/freetype/internal/services/svpsinfo.h freetype/src/gxvalid/gxvmort.c freetype/src/raster/rastpic.c freetype/builds/win32/vc2008/index.html freetype/src/gxvalid/gxvmort.h freetype/src/gxvalid/README freetype/src/tools/docmaker/docbeauty.py freetype/src/raster/rastpic.h freetype/src/gzip/ftgzip.c freetype/include/freetype/ftcid.h freetype/include/freetype/internal/services/svpfr.h freetype/src/sfnt/module.mk freetype/src/type1/t1load.c freetype/docs/INSTALL freetype/src/gzip/inftrees.c freetype/docs/INSTALL.VMS freetype/src/type1/t1load.h freetype/src/gzip/inftrees.h freetype/src/pfr/pfrsbit.c freetype/src/cff/cfftoken.h freetype/src/gxvalid/gxvfeat.c freetype/include/freetype/internal/ftgloadr.h freetype/docs/PROBLEMS freetype/src/pfr/pfrsbit.h freetype/src/gxvalid/gxvfeat.h freetype/src/truetype/Jamfile freetype/src/gxvalid/gxvkern.c freetype/docs/INSTALL.MAC freetype/src/cid/Jamfile freetype/src/base/ftglyph.c freetype/include/freetype/ftmm.h freetype/src/otvalid/otverror.h freetype/docs/UPGRADE.UNIX freetype/src/autofit/afcjk.c freetype/src/autofit/aftypes.h freetype/src/psaux/afmparse.c freetype/src/sfnt/sfdriver.c freetype/src/autofit/afcjk.h freetype/src/sfnt/sfobjs.c freetype/src/base/ftobjs.c freetype/src/psaux/afmparse.h freetype/src/sfnt/sfdriver.h freetype/src/sfnt/sfobjs.h freetype/src/pfr/rules.mk freetype/src/psaux/module.mk freetype/src/base/ftstroke.c freetype/src/base/ftfstype.c freetype/docs/GPL.TXT freetype/src/base/ftbitmap.c freetype/src/pshinter/pshpic.c freetype/src/pshinter/pshpic.h freetype/src/psnames/pstables.h freetype/src/sfnt/rules.mk freetype/builds/wince/vc2005-ce/index.html freetype/src/autofit/afpic.c freetype/docs/PATENTS freetype/docs/raster.txt freetype/src/autofit/afpic.h freetype/src/cff/cffdrivr.c freetype/src/otvalid/otvgpos.c freetype/src/cid/cidriver.c freetype/src/cff/cffdrivr.h freetype/include/freetype/ftgasp.h freetype/src/autofit/afindic.c freetype/src/otvalid/otvgpos.h freetype/src/cid/cidriver.h freetype/src/autofit/afindic.h freetype/docs/INSTALL.GNU freetype/src/winfonts/module.mk freetype/src/sfnt/ttkern.c freetype/src/gzip/infutil.c freetype/src/sfnt/sferrors.h freetype/src/psaux/t1cmap.c freetype/src/sfnt/ttkern.h freetype/src/gxvalid/gxvmort4.c freetype/src/gzip/infutil.h freetype/include/freetype/ttnameid.h freetype/src/psaux/t1cmap.h freetype/src/gzip/zconf.h freetype/src/base/ftpatent.c freetype/src/truetype/rules.mk freetype/src/base/ftadvanc.c freetype/src/tools/docmaker/tohtml.py freetype/src/otvalid/otvalid.c freetype/src/otvalid/otvcommn.c freetype/include/freetype/config/ftmodule.h freetype/include/freetype/ftxf86.h freetype/src/otvalid/otvalid.h freetype/src/otvalid/otvcommn.h freetype/include/freetype/internal/ftserv.h freetype/Jamrules freetype/src/type1/module.mk freetype/src/base/ftapi.c freetype/docs/VERSION.DLL freetype/docs/LICENSE.TXT freetype/include/freetype/ftstroke.h freetype/include/freetype/ftlist.h freetype/include/freetype/ftbitmap.h freetype/src/type42/t42parse.c freetype/src/bdf/bdfdrivr.c freetype/modules.cfg freetype/builds/win32/visualce/freetype.dsp freetype/src/cid/ciderrs.h freetype/ChangeLog.20 freetype/ChangeLog.21 freetype/src/type42/t42parse.h freetype/ChangeLog.22 freetype/src/bdf/bdfdrivr.h freetype/include/freetype/tttables.h freetype/src/cid/module.mk freetype/src/autofit/afdummy.c freetype/src/tools/chktrcmp.py freetype/include/freetype/internal/services/svxf86nm.h freetype/src/autofit/afdummy.h freetype/include/freetype/internal/ftobjs.h freetype/src/pcf/pcfdrivr.c freetype/src/gxvalid/gxvmort5.c freetype/src/pcf/pcfdrivr.h freetype/src/psnames/Jamfile freetype/docs/MAKEPP freetype/Jamfile freetype/builds/win32/visualce/index.html freetype/include/freetype/ftotval.h freetype/src/tools/test_trig.c freetype/src/tools/docmaker/content.py freetype/include/freetype/ftadvanc.h freetype/include/freetype/internal/services/svpostnm.h freetype/src/cff/rules.mk freetype/src/gzip/zlib.h freetype/src/type42/t42error.h freetype/src/smooth/module.mk freetype/src/sfnt/sfnt.c freetype/src/autofit/afloader.c freetype/src/otvalid/Jamfile freetype/include/freetype/internal/services/svkern.h freetype/src/autofit/afloader.h freetype/src/cache/ftcerror.h freetype/src/psaux/psobjs.c freetype/src/sfnt/Jamfile freetype/src/gzip/infcodes.c freetype/src/truetype/ttpic.c freetype/src/psaux/psobjs.h freetype/src/base/ftcalc.c freetype/src/pshinter/pshnterr.h freetype/src/gzip/infcodes.h freetype/src/truetype/ttpic.h freetype/src/bdf/rules.mk freetype/include/freetype/internal/tttypes.h freetype/src/gxvalid/gxvmorx0.c freetype/include/freetype/internal/ftvalid.h freetype/include/freetype/fterrors.h freetype/builds/win32/visualc/freetype.dsp freetype/src/gzip/infblock.c freetype/src/base/ftlcdfil.c freetype/include/freetype/internal/ftmemory.h freetype/src/type1/type1.c freetype/include/freetype/ftpfr.h freetype/src/gzip/infblock.h freetype/src/pshinter/module.mk freetype/src/tools/ftrandom/Makefile freetype/src/type42/rules.mk freetype/src/gxvalid/gxvmorx.c freetype/docs/formats.txt freetype/src/cff/cffobjs.c freetype/src/smooth/ftsmooth.c freetype/src/gxvalid/gxvmorx.h freetype/src/cff/cffobjs.h freetype/include/freetype/ftoutln.h freetype/src/smooth/ftsmooth.h freetype/include/freetype/ftsynth.h freetype/src/tools/ftrandom/README freetype/src/winfonts/rules.mk freetype/docs/CHANGES freetype/src/base/ftotval.c freetype/include/freetype/tttags.h freetype/src/truetype/module.mk freetype/include/freetype/internal/autohint.h freetype/src/tools/glnames.py freetype/src/sfnt/ttload.c freetype/src/gxvalid/gxvfgen.c freetype/src/sfnt/ttload.h freetype/src/pfr/pfrtypes.h freetype/src/gxvalid/gxvtrak.c freetype/src/pcf/README freetype/include/freetype/internal/ftdriver.h freetype/include/freetype/ftgzip.h freetype/src/base/ftrfork.c freetype/include/freetype/internal/services/svbdf.h freetype/src/smooth/rules.mk freetype/src/gxvalid/gxvmorx1.c freetype/src/base/rules.mk freetype/src/autofit/afwarp.c freetype/src/cid/cidload.c freetype/include/freetype/ftgxval.h freetype/src/autofit/afwarp.h freetype/include/freetype/internal/services/svgldict.h freetype/src/cid/cidload.h freetype/src/gxvalid/gxvprop.c freetype/include/freetype/ftlcdfil.h freetype/src/tools/docmaker/sources.py freetype/src/type42/type42.c freetype/src/raster/rules.mk freetype/src/truetype/ttgxvar.c freetype/src/pshinter/Jamfile freetype/src/truetype/ttdriver.c freetype/src/gxvalid/Jamfile freetype/src/truetype/ttgxvar.h freetype/src/pfr/pfrgload.c freetype/src/Jamfile freetype/src/pshinter/pshmod.c freetype/src/truetype/ttdriver.h freetype/src/autofit/aflatin.c freetype/src/pfr/pfrgload.h freetype/src/base/ftsnames.c freetype/src/pshinter/pshmod.h freetype/include/freetype/internal/ftcalc.h freetype/include/freetype/ftrender.h freetype/src/base/ftgasp.c freetype/src/autofit/aflatin.h freetype/src/base/ftdbgmem.c freetype/docs/TRUETYPE freetype/src/smooth/ftspic.c freetype/include/freetype/t1tables.h freetype/src/cid/cidgload.c freetype/src/base/ftoutln.c freetype/src/smooth/ftspic.h freetype/src/base/ftsynth.c freetype/src/base/ftwinfnt.c freetype/src/cid/cidgload.h freetype/include/freetype/internal/internal.h freetype/src/sfnt/ttbdf.c freetype/src/sfnt/ttbdf.h freetype/src/lzw/ftlzw.c freetype/builds/win32/vc2008/freetype.vcproj freetype/src/truetype/ttpload.c freetype/src/gxvalid/gxvmorx2.c freetype/src/truetype/ttinterp.c freetype/src/lzw/rules.mk freetype/src/truetype/ttpload.h freetype/src/truetype/ttinterp.h freetype/src/base/ftxf86.c freetype/src/base/ftstream.c freetype/src/sfnt/ttcmap.c freetype/include/freetype/internal/services/svmm.h freetype/src/sfnt/ttcmap.h freetype/src/gxvalid/module.mk freetype/src/gxvalid/gxvjust.c freetype/src/truetype/tterrors.h freetype/src/pcf/pcfutil.c freetype/src/cid/type1cid.c freetype/src/pcf/pcfutil.h freetype/src/base/ftgxval.c freetype/include/freetype/internal/pshints.h freetype/src/sfnt/ttmtx.c freetype/src/psnames/psmodule.c freetype/src/sfnt/ttmtx.h freetype/src/psaux/psauxmod.c freetype/builds/wince/vc2008-ce/index.html freetype/src/pfr/module.mk freetype/src/psnames/psmodule.h freetype/src/base/ftcid.c freetype/include/freetype/ftsnames.h freetype/src/psaux/psauxmod.h freetype/README.git freetype/configure freetype/src/sfnt/ttcmapc.h freetype/src/gzip/inffixed.h freetype/include/freetype/ftwinfnt.h freetype/src/pfr/pfrobjs.c freetype/src/base/Jamfile freetype/include/freetype/ftimage.h freetype/docs/release freetype/src/pfr/pfrobjs.h freetype/src/lzw/ftzopen.c freetype/src/truetype/truetype.c freetype/src/lzw/Jamfile freetype/Makefile freetype/src/lzw/ftzopen.h freetype/src/base/fttrigon.c freetype/src/autofit/afhints.c freetype/src/autofit/afhints.h freetype/builds/win32/visualce/freetype.vcproj freetype/include/freetype/ftmac.h freetype/src/psaux/rules.mk freetype/src/type1/rules.mk freetype/src/cache/ftcimage.c freetype/src/psnames/pspic.c freetype/src/cache/ftcimage.h freetype/include/freetype/config/ftconfig.h freetype/src/cid/cidparse.c freetype/src/psnames/pspic.h freetype/src/cff/cfferrs.h freetype/src/cid/cidparse.h freetype/src/smooth/Jamfile freetype/src/gzip/adler32.c freetype/include/freetype/internal/sfnt.h freetype/docs/reference/README freetype/src/winfonts/winfnt.c freetype/devel/ftoption.h freetype/src/sfnt/sfntpic.c freetype/src/gzip/zutil.c freetype/src/winfonts/winfnt.h freetype/src/smooth/smooth.c freetype/src/sfnt/sfntpic.h freetype/src/gzip/zutil.h freetype/src/smooth/ftgrays.c freetype/src/raster/ftmisc.h freetype/src/gxvalid/gxvmorx4.c freetype/src/winfonts/Jamfile freetype/include/freetype/internal/pcftypes.h freetype/src/smooth/ftgrays.h freetype/src/pfr/pfrerror.h freetype/src/raster/raster.c freetype/include/freetype/internal/services/svwinfnt.h freetype/docs/CUSTOMIZE freetype/builds/unix/configure.raw freetype/include/freetype/internal/t1types.h freetype/builds/wince/vc2008-ce/freetype.vcproj freetype/src/otvalid/module.mk freetype/ChangeLog freetype/include/freetype/internal/services/svpscmap.h freetype/include/freetype/fttrigon.h freetype/docs/FTL.TXT freetype/src/cache/ftcmanag.c freetype/src/sfnt/ttsbit.c freetype/README freetype/src/cache/ftcmanag.h freetype/src/sfnt/ttsbit.h freetype/src/type42/t42drivr.c freetype/src/psaux/psconv.c freetype/include/freetype/ftbdf.h freetype/include/freetype/ftsizes.h freetype/src/type42/t42drivr.h freetype/src/psaux/psconv.h freetype/include/freetype/internal/services/svtteng.h freetype/include/freetype/internal/ftdebug.h freetype/src/tools/docmaker/docmaker.py freetype/src/gxvalid/gxverror.h freetype/src/autofit/module.mk freetype/include/freetype/internal/ftstream.h freetype/src/cff/cfftypes.h freetype/src/gxvalid/gxvmorx5.c freetype/src/gxvalid/gxvmod.c freetype/include/freetype/internal/ftpic.h freetype/src/gxvalid/gxvmod.h freetype/include/freetype/ftbbox.h freetype/src/otvalid/otvmod.c freetype/src/psnames/psnames.c freetype/src/cid/rules.mk freetype/src/psaux/psauxerr.h freetype/src/type42/t42objs.c freetype/src/otvalid/otvmod.h freetype/src/cache/ftccmap.c freetype/src/cache/ftcbasic.c freetype/src/type42/t42objs.h freetype/src/smooth/ftsmerrs.h freetype/include/freetype/internal/services/svttcmap.h freetype/version.sed freetype/src/psaux/t1decode.c freetype/src/autofit/rules.mk freetype/src/tools/docmaker/utils.py freetype/builds/win32/visualc/index.html freetype/src/psaux/t1decode.h freetype/src/type42/module.mk freetype/src/otvalid/otvjstf.c freetype/src/autofit/aferrors.h freetype/src/cff/cffgload.c freetype/src/gxvalid/gxvlcar.c freetype/include/freetype/internal/services/svsfnt.h freetype/src/base/ftinit.c freetype/src/bdf/README freetype/src/cache/ftccback.h freetype/src/cff/cffgload.h freetype/src/base/ftmm.c freetype/src/pcf/module.mk freetype/docs/TODO freetype/src/tools/Jamfile freetype/src/autofit/afangles.c freetype/include/freetype/config/ftoption.h freetype/src/cff/cffload.c freetype/src/gxvalid/gxvcommn.c freetype/src/autofit/afangles.h freetype/src/cff/cffload.h freetype/src/gxvalid/gxvcommn.h freetype/src/sfnt/ttpost.c freetype/src/sfnt/ttpost.h freetype/src/cache/rules.mk freetype/include/freetype/ttunpat.h freetype/include/freetype/ftmodapi.h freetype/include/freetype/internal/fttrace.h]</p>
</blockquote>
<p><strong><a name="2010-04-05T100359.155794Z"></a>
2010-04-05T10:03:59.155794Z Chris Liddell</strong></p>
<blockquote>
<pre>
Fix the FAPI implementation of finding the appropriate bytes for a given character code from an array of strings representing a CMap.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-04-02T123123.439338Z"></a>
2010-04-02T12:31:23.439338Z Ken Sharp</strong></p>
<blockquote>
<pre>
'Fix' FAPI with FreeType.
FreeType's hinting is worse than useless for type 1 fonts, its actually harmful. It
distorts the glyph shape because it hints an unscaled outline. While it would be best
to fix FreeType's hinting this is a large project. For now this patch disables FreeType
hinting when handling type 1 fonts.
This resolves many spacing issues as well as fixing the stroke/fill mismatch with
ia3z3519.pdf and the incorrectly scaled outline in womanface.pdf.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-02T091923.286738Z"></a>
2010-04-02T09:19:23.286738Z Chris Liddell</strong></p>
<blockquote>
<pre>
Extend Ken's change to avoid using FT's "synthetic" vertical metrics for Type42 fonts to cover all fonts using TTF outlines (so CIDType 2 fonts, as well).</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-04-02T090653.941441Z"></a>
2010-04-02T09:06:53.941441Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix a bug in the FreeType scan conversion.
A multiply and divide to calculate the slope of a line did not account for the
possibility of overflow during multiplication. Using the supplied SMulDiv routine fixes
the problem.
The patch has been supplied upstream to the FreeType development team.
</pre>
<p>[freetype/src/raster/ftraster.c]</p>
</blockquote>
<p><strong><a name="2010-04-01T133252.153614Z"></a>
2010-04-01T13:32:52.153614Z Robin Watts</strong></p>
<blockquote>
<pre>
Slight tidy up to gs_2_colors code: Given that the cie_joint_caches_alt is
now kept in the imager state rather than the graphics state, move the
reference counting/initialisation for the same into the imager state
too. No difference in operation, but just a bit tidier.
No expected differences, though the cluster may show 2colCIEtest.pdf as
failing if it hasn't propogated around the nodes yet.
</pre>
<p>[base/gsstate.c base/gsistate.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T154306.179195Z"></a>
2010-03-31T15:43:06.179195Z Chris Liddell</strong></p>
<blockquote>
<pre>
Bounds check the correct object when looking up a CID map</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T144031.704728Z"></a>
2010-03-31T14:40:31.704728Z Chris Liddell</strong></p>
<blockquote>
<pre>
Correct a logical error/typo in the fallback to non-hinted condition.</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T132201.442343Z"></a>
2010-03-31T13:22:01.442343Z Chris Liddell</strong></p>
<blockquote>
<pre>
Prevent applying the nominalWidthX for T2 fonts, when FT already applies it for us. Previously, the code was actually erroneously adding the defaultWidthX. Since this use of nominalWidthX *may* be renderer dependent, it is now controlled by the can_replace_metrics() call.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T131641.790764Z"></a>
2010-03-31T13:16:41.790764Z Chris Liddell</strong></p>
<blockquote>
<pre>
In the even a glyph name is not found in the CharStrings dictionary, fall back to using the .notdef (instead of returning an error).</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T130744.152960Z"></a>
2010-03-31T13:07:44.152960Z Chris Liddell</strong></p>
<blockquote>
<pre>
For certain errors from FT, retry interpretting the glyph without hinting - this more closely matches the existing behaviour.</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T113210.299125Z"></a>
2010-03-31T11:32:10.299125Z Robin Watts</strong></p>
<blockquote>
<pre>
Remove unused variable. No expected differences.
</pre>
<p>[base/gsstate.c]</p>
</blockquote>
<p><strong><a name="2010-03-31T012018.778513Z"></a>
2010-03-31T01:20:18.778513Z Ray Johnston</strong></p>
<blockquote>
<pre>
Temporary reversion of previous mkromfs commit to remove -g until it works
correctly (fooled by a GS_LIB environment variable during testing)
</pre>
<p>[psi/psromfs.mak]</p>
</blockquote>
<p><strong><a name="2010-03-30T225953.311321Z"></a>
2010-03-30T22:59:53.311321Z Ray Johnston</strong></p>
<blockquote>
<pre>
Implement '-g' option in mkromfs to fold in some of the older 'genint'
functions (collect all init files into a single gs_init.ps, strip
whitespace and comments). Also change mkromfs so that wildcard expansion
must be specified using '*' on the command line which also means that
single explicit files can now be put into the %rom% file system.
Add many missed dependencies to the list for the 'gsromfs.c' %rom% file
system (CMap, ColorSpace, Decoding, Encoding, Font, IdiomSet, ProcSet,
SubstCID) and separate out miscellenaeous files.
Remove old geninit references from makefiles: psi/int.mak psi/os2.mak,
base/bcwin32.mak, base/msvctail.mak, base/winlib.mak, base/macos-mcp.mak,
base/openvms.mak, base/lib.mak, base/unix-aux.mak base/watcw32.mak,
base/wctail.mak
</pre>
<p>[base/wctail.mak psi/os2.mak base/lib.mak base/bcwin32.mak base/openvms.mak base/mkromfs.c base/gs.mak base/watcw32.mak psi/psromfs.mak psi/int.mak base/unix-aux.mak base/macos-mcp.mak base/msvctail.mak]</p>
</blockquote>
<p><strong><a name="2010-03-30T184034.337393Z"></a>
2010-03-30T18:40:34.337393Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bug 691132 by ensuring that whenever we set a line width, we set
it to the absolute value of the line width. This seems consistent with
PDF, and cures the clipping problem in PCL referred to by the bug.
No expected differences.
</pre>
<p>[base/gxline.h]</p>
</blockquote>
<p><strong><a name="2010-03-30T144656.884951Z"></a>
2010-03-30T14:46:56.884951Z Robin Watts</strong></p>
<blockquote>
<pre>
In the gs_2_colors branch I had made 2 copies of the color state and swapped
between them. I had included dev_ht as part of this 'split' state, which
was a significant contributor to the slowdown due to it forcing repeated
writing of the halftone data to the clist. Also, it required significant
extra work on every setscreen or setcolorscreen operation.
Discussions with Henry/Ray/Kens et al lead to the realisation this wasn't
required. This patch therefore backs out the dev_ht split, and the changes
to zsetscreen and zsetcolorscreen. Additional code is however required to
clear the 'alternative' dev_color when a halftone is installed to stop the
'swapped out' color pointing to an illegal halftone cache.
This runs through local testing with no diffs showing (though some
strangeness was observed with an earlier version of this patch in
regression testing - Marcos has captured this with bug 691223).
This seems to have helped with the largest slowdowns, but there are still
significant differences in some cases. Very preliminary investigations seem
to show more time being spent in the interpreter/gc mechanism. Continuing
to investigate.
</pre>
<p>[base/gsstate.c base/gxistate.h base/gsht.c base/gxdcolor.h base/gzstate.h psi/zht.c psi/zht1.c]</p>
</blockquote>
<p><strong><a name="2010-03-30T101657.091024Z"></a>
2010-03-30T10:16:57.091024Z Ken Sharp</strong></p>
<blockquote>
<pre>
New Fontmap files for the URW fonts, both type 1 and TrueType formats.
The file Fontmap.URW-136.T1 contains definitions for the type 1 fonts (the URW PFB
fonts must be in the search path).
The file Fontmap.URW-136.TT contains definitions for the TrueType fonts (the URW TTF
fonts must be in the search path).
Currently neither of these work 100% because of problems with the URW font sets
(several incorrectly named fonts, and in one case an illegal type 1 font)
</pre>
<p>[lib/Fontmap.URW-136.T1 lib/Fontmap.URW-136.TT]</p>
</blockquote>
<p><strong><a name="2010-03-29T191049.447074Z"></a>
2010-03-29T19:10:49.447074Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Drop 'loca' entries that point beyond 'glyf' table during re-spliting
sfnts glyfs strings. Bug 691221.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-03-29T075249.284823Z"></a>
2010-03-29T07:52:49.284823Z Chris Liddell</strong></p>
<blockquote>
<pre>
Change the FT interface code so we always use metrics retrieved from Freetype, rather than attempting to "fabricate" metrics (which have already been handled correctly by FT).</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-27T015955.922560Z"></a>
2010-03-27T01:59:55.922560Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix compilation error in pngs2html.pl (forgot to define variable).
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-26T102856.873949Z"></a>
2010-03-26T10:28:56.873949Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
A leftover from r10603 (Makefile change).</pre>
<p>[base/lib.mak]</p>
</blockquote>
<p><strong><a name="2010-03-26T002016.302228Z"></a>
2010-03-26T00:20:16.302228Z Robin Watts</strong></p>
<blockquote>
<pre>
Updated localcluster bmpcmp html generation script. Bitmaps produced are now
zoomable.
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-24T124759.902550Z"></a>
2010-03-24T12:47:59.902550Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix for bug 691115.
In some circumstances, the shading code can get all the way to the point of
marking the screen/page without ever clipping to the relavent region. This
produces cases where we "draw outside the lines". Often this is masked by
the fact that we only ever draw as far out of the lines as would be covered
by an area of constant color (typically a small area).
The fix for this is to spot the unclipped case when we come to render
trapezoids to the screen, and to clip the trapezoid into (at most) 3
smaller trapezoids.
This causes 104 non-pdfwrite differences, and 24 pdfwrite ones. Examination
using localcuster bmpcmp shows them all to be acceptable.
</pre>
<p>[base/gxshade6.c]</p>
</blockquote>
<p><strong><a name="2010-03-24T120547.469905Z"></a>
2010-03-24T12:05:47.469905Z Robin Watts</strong></p>
<blockquote>
<pre>
Tweak to bmpcmp: Darken the third image (the diff image) to make changes
stand out better.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-24T001027.875727Z"></a>
2010-03-24T00:10:27.875727Z Robin Watts</strong></p>
<blockquote>
<pre>
Correct DOS line endings in bmpcmp.c.
Fix bug whereby areas with no changes in were still be saved out.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-23T191432.177681Z"></a>
2010-03-23T19:14:32.177681Z Robin Watts</strong></p>
<blockquote>
<pre>
Correct problem with bmpcmp whereby certain sizes of changed areas within
images could cause overlapping output bitmaps. This causes problems with
the output of bitmaps now due to the new 'in-place' generation of the diff
bitmap. Fixed by choosing sizes more smartly.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-23T090216.120692Z"></a>
2010-03-23T09:02:16.120692Z Till Kamppeter</strong></p>
<blockquote>
<pre>
CUPS Raster output device: Error out correctly with the return_error() macro and not with "gs_exit(); exit()", force banding mode as there are files which do not render otherwise (Bug #691170).
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-03-23T000659.853037Z"></a>
2010-03-23T00:06:59.853037Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Code clean-ups in the "cups" output device to fix the segfaults in bug #691170 and bug #691014 (but does not fix the bugs yet).
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-03-22T141842.718453Z"></a>
2010-03-22T14:18:42.718453Z Chris Liddell</strong></p>
<blockquote>
<pre>
Handle CID fonts whose GDBytes != 2 - previously GDBytes was hardcoded as 2.</pre>
<p>[psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-03-22T064308.806820Z"></a>
2010-03-22T06:43:08.806820Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added the ability to specify bmpcmp options when running clusterpush.pl, e.g.:
clusterpush.pl bmpcmp -w 9 -t 10
No validation is done on the options; bad options will result in no bmpcmp output being generated.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-03-21T050150.135122Z"></a>
2010-03-21T05:01:50.135122Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Fixed maxdiffs argument in bmpcmp.c (was acting as maxpage).
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-21T032353.245152Z"></a>
2010-03-21T03:23:53.245152Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Fixed a couple of compiler warnings in bmpcmp.c
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-19T183004.447497Z"></a>
2010-03-19T18:30:04.447497Z Ralph Giles</strong></p>
<blockquote>
<pre>
Compute AES cypher tables at compile time instead of run time.
The aes implementation needs some tables of data to perform its
calculations. In a thread-safety review, Henry spotted that the
tables were global variables with no mutex isolation.
I believe this is actually ok. There is a static flag marking whether
the tables are initialized. If they are not, a call to aes_setkey_*
will invoke aes_gen_tables to initialize them, then set the flag.
However, aes_gen_tables operates deterministically, always writing
the same data sequence to the globals. So while there is a race
where two threads could be executing aes_gen_tables at the same time,
or while another thread is accessing the same tables, there is no
read-modify-write step which could create inconsistent data.
Nevertheless, the tables are small relative to our application, and
there is a compile time option XYSSL_AES_ROM_TABLES which generates
the data at compile time and stores it static const. This commit
turns on that option, allowing the compiler to put the data in a
non-writable segment and making the careful thread safety analysis
above unnecessary.
There should be no difference in behaviour, and Henry has verified
that the two code paths result in identical table data.</pre>
<p>[base/aes.c]</p>
</blockquote>
<p><strong><a name="2010-03-18T113938.599047Z"></a>
2010-03-18T11:39:38.599047Z Ken Sharp</strong></p>
<blockquote>
<pre>
Update the list of face substitutions in .substitutefaces to include all the fonts we
define in Fontmap.GS (if not already defined).
Bug #691180, if we have a font defined in the Fontmap then we don't use the additional
information in a PDF file FontDescriptor. Instead we stick with whatever font the PS
substitution comes up with (if the font is not present). If a member of the family is
not defined we do use the FontDescriptor. This can lead to different choices for the
substitute font. By defining the font in the substitutefaces array we can attempt to get
a consistent result.
This *will* lead to differences in the regression suite as we are now substituting
different fonts for some missing faces. Apparently only with the test file for this
bug though.</pre>
<p>[Resource/Init/gs_fonts.ps]</p>
</blockquote>
<p><strong><a name="2010-03-18T005710.529905Z"></a>
2010-03-18T00:57:10.529905Z Robin Watts</strong></p>
<blockquote>
<pre>
Merge gs_2_colors branch down to trunk.
This adds a new set of color state information to the graphics/imager
state, along with a new non-standard postscript operator .swapcolors to
toggle between them.
The Postscript interpreter is updated to use one set of color information
for stroking, and the other for all non-stroking colors.
This produces differences in just 2 pdfwrite tests, due to rounding errors
due to changes in the way pdf with non-zero rendering modes is emitted now.
</pre>
<p>[psi/zcolor.c base/gsdps1.c base/gdevpdft.c base/gxccache.c /trunk/gs base/gspaint.c base/gscsepr.c base/gsimage.c base/gxchar.c base/gsptype1.c base/gxcmap.c psi/interp.c base/gzstate.h psi/dmmain.c base/gscspace.c base/gscolor1.c base/gscdevn.c base/gscolor2.c base/gscie.c base/gxistate.h psi/psromfs.mak psi/dxmain.c base/gxcspace.h base/gxhldevc.c psi/dxmainc.c psi/dmmain.r Resource/Init/pdf_draw.ps psi/zht1.c base/gscolor.c psi/zicc.c psi/zchar1.c base/gxpaint.c base/gsstate.c Resource/Init/pdf_ops.ps psi/zcie.c base/gstext.c Resource/Init/pdf_font.ps base/gstrans.c psi/zht.c base/gsequivc.c base/gxdcolor.h psi/igstate.h base/gspcolor.c]</p>
</blockquote>
<p><strong><a name="2010-03-17T214113.190501Z"></a>
2010-03-17T21:41:13.190501Z Robin Watts</strong></p>
<blockquote>
<pre>
bmpcmp tweak to allow maximum/minimum bitmap sizes to be set from the
command line.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-17T201225.972208Z"></a>
2010-03-17T20:12:25.972208Z Robin Watts</strong></p>
<blockquote>
<pre>
MSVC whinges when asked to shift by 32 or more bits at once. Simple tweaks
to fool the compiler and eliminate warnings.
No expected differences.
</pre>
<p>[base/gdevm64.c base/gdevm56.c base/gdevm48.c base/gdevm40.c base/gxclrast.c]</p>
</blockquote>
<p><strong><a name="2010-03-17T185412.480084Z"></a>
2010-03-17T18:54:12.480084Z Robin Watts</strong></p>
<blockquote>
<pre>
Tweak to gxcmap.c to remove warnings about shifting by more than 32 bits on
MSVC builds.
No expected differences.
</pre>
<p>[base/gxcmap.c]</p>
</blockquote>
<p><strong><a name="2010-03-17T173027.541399Z"></a>
2010-03-17T17:30:27.541399Z Robin Watts</strong></p>
<blockquote>
<pre>
Revised bmpcmp.
* Redone command line handling
* Ability to read PAMs (so we can read CMYK stuff now)
* "Fuzzy" behaviour (both compatible and exhaustive modes)
* New behaviour using map bitmap to avoid rediffing multiple times.
* CMYK -> RGB conversion as last step before PNG/BMP writing.
Still to do:
* Output number of fuzzy matches etc to the meta file.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-15T191855.825828Z"></a>
2010-03-15T19:18:55.825828Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Change default TIFF strip size to one megabyte.
Many fax readers have problems reading TIFF images which are chunked into
strips, and one megabyte is larger than the biggest expected fax page. Hence,
ghostscript's default TIFF output will be accepted by those readers.
</pre>
<p>[base/gdevtifs.h]</p>
</blockquote>
<p><strong><a name="2010-03-15T190043.589302Z"></a>
2010-03-15T19:00:43.589302Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Write TIFF directories before the page data. This might help bug #691172 and
probably some other non-conforming TIFF readers.
</pre>
<p>[base/gdevtifs.c base/gdevtsep.c base/gdevtfnx.c]</p>
</blockquote>
<p><strong><a name="2010-03-15T152155.436137Z"></a>
2010-03-15T15:21:55.436137Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Don't throw an error when a filter returns 0 bytes and a normal return code.
This often happens with eexecDecode filter, which has to return the control
to the interpreter after every space character since Adobe no longer adds
zeros at the end of the encoded block. Document new return code 2 used by
eexecDecode filter. Bug 690909.
</pre>
<p>[base/sstring.c base/seexec.c psi/iscan.c]</p>
</blockquote>
<p><strong><a name="2010-03-15T145615.278449Z"></a>
2010-03-15T14:56:15.278449Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Partial fix for bug #691172: The tiff resolution tags are floating point values
and need to be passed as such to TIFFSetField.
</pre>
<p>[base/gdevtifs.c]</p>
</blockquote>
<p><strong><a name="2010-03-15T074438.447170Z"></a>
2010-03-15T07:44:38.447170Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Applied Tim Waugh's patch from bug #691171: A NULL check for the argument of
TIFFCleanup was missing, which caused a segfault when opening the output device
failed for any of the devices in gdevtfax.c.
</pre>
<p>[base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-03-15T063434.317078Z"></a>
2010-03-15T06:34:34.317078Z regression</strong></p>
<blockquote>
<pre>
Added support for mupdf testing in local regression suite.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-03-15T063125.268888Z"></a>
2010-03-15T06:31:25.268888Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Changes to the local cluster code:
added bmpcmp documentation to clusterpush.txt
new file, runNightly.pl, for nightly regression testing
readlog.pl, build.pl, and run.pl changes for nightly regression use
</pre>
<p>[toolbin/localcluster/readlog.pl toolbin/localcluster/build.pl toolbin/localcluster/runNightly.pl toolbin/localcluster/run.pl toolbin/localcluster/clusterpush.txt]</p>
</blockquote>
<p><strong><a name="2010-03-11T173630.596061Z"></a>
2010-03-11T17:36:30.596061Z Chris Liddell</strong></p>
<blockquote>
<pre>
Apply a change submitted to FT and accepted - see FT bug #27442</pre>
<p>[freetype/src/raster/ftraster.c]</p>
</blockquote>
<p><strong><a name="2010-03-11T050122.057384Z"></a>
2010-03-11T05:01:22.057384Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Run svn update on the ghostscript source even for clusterpush runs to make sure that bmpcmp.c is current.
</pre>
<p>[toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-03-10T174109.765460Z"></a>
2010-03-10T17:41:09.765460Z regression</strong></p>
<blockquote>
<pre>
Minor cleanup of the local cluster code.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/pngs2html.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-03-10T164226.014885Z"></a>
2010-03-10T16:42:26.014885Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix bug in bmpcmp.c: When reading images from multi-image sets, we stop
the comparison process as soon as we fail to find any differences in the
current image. With this fix we correctly keep searching to the end.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-10T150557.116970Z"></a>
2010-03-10T15:05:57.116970Z Chris Liddell</strong></p>
<blockquote>
<pre>
Change how we derive the glyph metrics from FT: we now interpret the glyph description only once, scaled and hinted, and then calculate the metrics from that. It's more accurate, accounts for hints that extend the glyph outline, and should be a worthwhile speed improvement.</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-10T125150.027959Z"></a>
2010-03-10T12:51:50.027959Z Robin Watts</strong></p>
<blockquote>
<pre>
Change the condition under which we update the overprint device when restoring
a graphics state to be more relaxed; rather than updating if the overprint
state has changed we now update if it was enabled, or it if it is enabled.
The logic behind this is that it will still fire in all the same conditions
it did before, but will also fire when we restore from a state that had it
enabled to another state that had it enabled. This should be entirely
harmless, but will allow the state to be updated in the case where a
colorspace has been updated.
This causes 2 differences in the tests, that only show up in psd files.
All indications seem to be that these files really are identical. But if
they aren't, I believe they should be progressions, rather than regressions.
This moves the trunk more into line with the output of the gs_2_colors branch.
</pre>
<p>[base/gsstate.c]</p>
</blockquote>
<p><strong><a name="2010-03-10T061323.278865Z"></a>
2010-03-10T06:13:23.278865Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added local modes to build.pl and run.pl in preparation for use as part of the nightly regression.
</pre>
<p>[toolbin/localcluster/build.pl toolbin/localcluster/run.pl]</p>
</blockquote>
<p><strong><a name="2010-03-10T051959.535554Z"></a>
2010-03-10T05:19:59.535554Z Ray Johnston</strong></p>
<blockquote>
<pre>
Fix for SEGV with the psdcmyk device on 258-01.ps. This was a fundamental memory
problem with any device that used the compressed_color_list functions in gdevdevn.c
since a 'restore' could free structures which were still needed by the device.
Use stable_memory to avoid this. Bug 691150.
</pre>
<p>[base/gdevdevn.c]</p>
</blockquote>
<p><strong><a name="2010-03-09T172707.400171Z"></a>
2010-03-09T17:27:07.400171Z Robin Watts</strong></p>
<blockquote>
<pre>
Another tweak to the local cluster bmpcmp html page generation. I managed to
miss renaming the images in the second column.
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T172239.470336Z"></a>
2010-03-09T17:22:39.470336Z Robin Watts</strong></p>
<blockquote>
<pre>
Another tweak to the localcluster bmpcmp html page generation javascript;
quote the string to avoid it being converted to an int.
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T172235.452303Z"></a>
2010-03-09T17:22:35.452303Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Let pdftoraster not exit before the Ghostscript sub-process finishes. Thanks to Tim Waugh from Red Hat for the patch.
</pre>
<p>[cups/pdftoraster.c]</p>
</blockquote>
<p><strong><a name="2010-03-09T171522.155871Z"></a>
2010-03-09T17:15:22.155871Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix pngs2html.pl to number images according to both directory and image
number (needed now as images restart from 0 within each directory). This
really should fix the bmpcmp html output.
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T170842.132281Z"></a>
2010-03-09T17:08:42.132281Z Robin Watts</strong></p>
<blockquote>
<pre>
More fixes for the bmpcmp html page generations javascript.
Change code to pass numbers to swap() rather than strings as javascripts
conversion of strings to ints is... unhelpful.
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T165048.278966Z"></a>
2010-03-09T16:50:48.278966Z Robin Watts</strong></p>
<blockquote>
<pre>
Misplaced bracket in the javascript meant that only the first images would
swap on mouseover properly. Fixed here.
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T163921.328229Z"></a>
2010-03-09T16:39:21.328229Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix javascript problems in bmpcmp output page generation. What sort of
stupid broken language depends on whitespace?
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T163506.527087Z"></a>
2010-03-09T16:35:06.527087Z Till Kamppeter</strong></p>
<blockquote>
<pre>
Fixes on CUPS Raster output device:
- Fixed memory reallocation on bitmap size change. Reallocation is not only
needed when dimendions and margins change, but also when the color depth
changes. Fixes bugs #691029 and #691108.
- Fixed arrayoption() macro in cups_put_params() function. Array values did
not get actually set in cups.header data structure. Bug only showed via
a compiler warning.
- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero.
</pre>
<p>[cups/gdevcups.c]</p>
</blockquote>
<p><strong><a name="2010-03-09T162931.666786Z"></a>
2010-03-09T16:29:31.666786Z Robin Watts</strong></p>
<blockquote>
<pre>
Attempted fix for bmpcmp output javascript problems with the coordinate
tracking.
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T161159.669918Z"></a>
2010-03-09T16:11:59.669918Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix typos in the javascript code for pngs2html.pl and bmps2html.pl; this should
get at least some of it working, but the coord stuff still baffles me.
Also fix a typo that was causing the wrong "third image" to appear.
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-09T014606.865448Z"></a>
2010-03-09T01:46:06.865448Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Fixed longstanding bug fuzzy.c that caused pbm files to be misread.
</pre>
<p>[toolbin/tests/fuzzy.c]</p>
</blockquote>
<p><strong><a name="2010-03-08T215705.576067Z"></a>
2010-03-08T21:57:05.576067Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
updating documentation to mention how to run mkcidfm.ps manually; bug 688437</pre>
<p>[doc/Use.htm]</p>
</blockquote>
<p><strong><a name="2010-03-08T215437.005008Z"></a>
2010-03-08T21:54:37.005008Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
convert font file name to lowser case before matching; make it possible for upper case ARIALUNI.TTF to match; bug 688437</pre>
<p>[lib/mkcidfm.ps]</p>
</blockquote>
<p><strong><a name="2010-03-08T214956.216990Z"></a>
2010-03-08T21:49:56.216990Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
updating windows CJK font substitution list for more commonly found MS CJK fonts; bug 688437</pre>
<p>[lib/mkcidfm.ps]</p>
</blockquote>
<p><strong><a name="2010-03-08T214715.240330Z"></a>
2010-03-08T21:47:15.240330Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
revert to r8185 version of the korean example - it was removed in r8190 and a corrupted version r9325 was subsequently checked in; found during fixing bug 688437 (incompete font substitution list)</pre>
<p>[examples/cjk/gscjk_ak.ps]</p>
</blockquote>
<p><strong><a name="2010-03-08T162053.842289Z"></a>
2010-03-08T16:20:53.842289Z Ken Sharp</strong></p>
<blockquote>
<pre>
Ongoing bug fixes for #690448.
The FreeType code will synthesize vertical metrics for TrueType (Type 42) fonts which do
not contain a vmtx table. This includes the vertical advance, which will be returned
to the FAPI code, and used even if there were originally no vertical metrics and the
font should not have any vertical advance.
Modified the metrics override callback, called by FT, so that if the font is a TT font,
and this is a vertical metrics call, we set the advance to 0. This prevents the
synthesized metrics from incorrectly advancing the glyph vertically.
This may eventually be a problem if we find a CIDFont with Type42 outlines which relies
on the vmtx table in the font rather than the Metrics2 or CDevProc overrides to position
the glyphs. Since this facility was only added in CPSI 3011 it is unlikely we will ever
encounter such a font. THis has not been done at present, as the information (WMode=1)
is not currently available to the code called from FreeType to override the metrics,
and would need to be added.
Also, fixed an issue where the 'advance_v' member of the metrics structure was left
uninitialised if a horizontal override took place. This could cause glyphs to be
mis-positioned vertically.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-08T154120.817468Z"></a>
2010-03-08T15:41:20.817468Z Ken Sharp</strong></p>
<blockquote>
<pre>
revert revision 10871, we will tackle this problem in the FAPI FreeType interface code
instead of in FreeType itself.
</pre>
<p>[psi/fapi_ft.c]</p>
</blockquote>
<p><strong><a name="2010-03-08T152257.356559Z"></a>
2010-03-08T15:22:57.356559Z Ken Sharp</strong></p>
<blockquote>
<pre>
revert revision 10871, we will address the matter of FreeType creating synthetic vertical
metrics when none exist by overriding the synthetic metrics in the FAPI FreeType interface
code instead.
</pre>
<p>[freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p>
</blockquote>
<p><strong><a name="2010-03-08T092849.484133Z"></a>
2010-03-08T09:28:49.484133Z Chris Liddell</strong></p>
<blockquote>
<pre>
Latest improvements to the FAPI/FT bridge code. This code resolves the issues with font matrices which do more than just scale. It is not yet "finished", but is too big a step forward to risk losing.</pre>
<p>[psi/fapi_ft.c psi/zfapi.c]</p>
</blockquote>
<p><strong><a name="2010-03-05T210134.974121Z"></a>
2010-03-05T21:01:34.974121Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added bmpcmp option to clusterpush.pl.
</pre>
<p>[toolbin/localcluster/clusterpush.pl]</p>
</blockquote>
<p><strong><a name="2010-03-05T192534.812546Z"></a>
2010-03-05T19:25:34.812546Z regression</strong></p>
<blockquote>
<pre>
Export results of local cluster bmpcmp command to web.
</pre>
<p>[toolbin/localcluster/clustermaster.pl]</p>
</blockquote>
<p><strong><a name="2010-03-05T165000.654216Z"></a>
2010-03-05T16:50:00.654216Z regression</strong></p>
<blockquote>
<pre>
Update the local cluster code to use the new pbm->png mode of bmpcmp.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-03-05T164710.049203Z"></a>
2010-03-05T16:47:10.049203Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Minor changes due to bugzilla update.
</pre>
<p>[toolbin/bugsByEngineer.pl]</p>
</blockquote>
<p><strong><a name="2010-03-05T132434.158774Z"></a>
2010-03-05T13:24:34.158774Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix FreeType
Ongoing fixes for bug #690448. In this case FreeType generates vertical metrics for
TrueType (in our case Type 42) fonts which lack vhea/vmtx tables, which is generally
the case.
These metrics are useful to a 'normal' TrueType consumer which has a notion of the
orientation of the writing direction. However in PostScript we don;t know that, so we
apply both the horizontal and vertical advance widths.
If the vertical advance should be 0 (because its not specified) then creating one causes
the glyphs to be misplaced.
This code adds a new load flag to FreeType 'FT_LOAD_NO_SYNTHETIC_METRICS', and sets
this flag in the FAPI FreeType interface code, which prevents FreeType from manufacturing a bogus vertical advance.
</pre>
<p>[psi/fapi_ft.c freetype/src/truetype/ttgload.c freetype/include/freetype/freetype.h]</p>
</blockquote>
<p><strong><a name="2010-03-05T092347.698736Z"></a>
2010-03-05T09:23:47.698736Z Lars Uebernickel</strong></p>
<blockquote>
<pre>
Open tiffsep and tiffsep1 output files as seekable.
All files written by libtiff have to be seekable when writing multiple pages,
because libtiff tries to access previously written page dictionaries. This
fixes bug 691160.
</pre>
<p>[base/gdevtsep.c]</p>
</blockquote>
<p><strong><a name="2010-03-05T070113.637667Z"></a>
2010-03-05T07:01:13.637667Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Fix pbm reading and png writing in bmpcmp.c.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-05T053224.962092Z"></a>
2010-03-05T05:32:24.962092Z regression</strong></p>
<blockquote>
<pre>
Added pngs2html.pl to repository: take a directory full of png files
generated by the increasingly poorly named bmpcmp.c and generate web pages
(like bmps2html.pl but without the bmp->png conversion).
</pre>
<p>[toolbin/localcluster/pngs2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-03T212107.833457Z"></a>
2010-03-03T21:21:07.833457Z Ralph Giles</strong></p>
<blockquote>
<pre>
Flip images from RGB to BGR pixel format when reading ppm files,
and flip them back to RGB when writing png files.
This adapts all the current routines to assume the BGRx storage
format used by the bmp image format for the internal representation,
as is already done with the row order.</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-03T212104.624166Z"></a>
2010-03-03T21:21:04.624166Z Ralph Giles</strong></p>
<blockquote>
<pre>
Also save the difference image as a png when bmpcmp is compiled with HAVE_LIBPNG.</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-03T203001.695369Z"></a>
2010-03-03T20:30:01.695369Z Robin Watts</strong></p>
<blockquote>
<pre>
Fix stupid memory overwrite bug on bmp load.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-03T200329.767395Z"></a>
2010-03-03T20:03:29.767395Z Robin Watts</strong></p>
<blockquote>
<pre>
bmpcmp.c tweaks: Add (largely untested) code to allow "plain" (ascii) ppm,
pgm, pbm files. Also fix some compile warnings on 64bit platforms. Now
compiles cleanly with -Wall.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-03T190712.236947Z"></a>
2010-03-03T19:07:12.236947Z Ralph Giles</strong></p>
<blockquote>
<pre>
Add optional support for png output to the bmpcmp utility.
When compiled with the HAVE_LIBPNG preprocessor symbol defined, and
linking with libpng, the utility will save its output focus images
in RGB png format. Currently, only 32 bit RGBx pixel data is supported.</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-02T224902.357333Z"></a>
2010-03-02T22:49:02.357333Z Robin Watts</strong></p>
<blockquote>
<pre>
Attempt to fix the javascript in the created files. The change to use
numeric filenames padded to 5 chars had broken the javascript. This
might fix it.
</pre>
<p>[toolbin/localcluster/bmps2html.pl]</p>
</blockquote>
<p><strong><a name="2010-03-02T212636.100914Z"></a>
2010-03-02T21:26:36.100914Z regression</strong></p>
<blockquote>
<pre>
More changes towards having a bmpcmp running on the local cluster.
</pre>
<p>[toolbin/localcluster/bmps2html.pl toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl]</p>
</blockquote>
<p><strong><a name="2010-03-02T211259.888859Z"></a>
2010-03-02T21:12:59.888859Z Robin Watts</strong></p>
<blockquote>
<pre>
Updated bmpcmp to avoid inverting pnms on reading.
Also improve reading of non 32bpp bitmaps - still not quite right.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-03-02T001558.939654Z"></a>
2010-03-02T00:15:58.939654Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Added partial support for "clusterpush.pl bmpcmp" (which will allow
users to generate bitmap comparisons of their most recent clusterpush
job and trunk).
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/clusterpush.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-03-01T174440.662743Z"></a>
2010-03-01T17:44:40.662743Z Ralph Giles</strong></p>
<blockquote>
<pre>
Add support to the autoconf and msvc builds to compile in a copy of
the FreeType2 library from local source.
Previously, the FAPI bridge for freetype required that the library
be compiled externally and include and link flags passed through
the FT_CFLAGS and FT_LIBS makefile variables. We now include a copy
of the freetype source in the tree, to make it easier to find a
compatible version of the source and to simplify building for
platforms that don't provide a system freetype.
Now, to enable both freetype and the FAPI bridge, pass --enable-freetype
to the configure script. This will set FT_BRIDGE=1 and the other required
variables. The configure script will prefer local source in gs/freetype2
to the copy in gs/freetype to simplify testing against upstream.
To enable freetype in the msvc build, pass FT_BRIDGE=1 on the nmake command
line.
Note that the fallback is now FT_BRIDGE=0, not FT_BRIDGE undefined; this
will require changes in any custom top-level makefiles.
</pre>
<p>[base/winlib.mak doc/Make.htm base/gs.mak base/Makefile.in psi/int.mak base/configure.ac psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-03-01T153456.724940Z"></a>
2010-03-01T15:34:56.724940Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fixes bug #691154 and the regressions associated with revision 10823.
Unfortunately, performance-wise, the wtsimdi device must always use a
contone buffer until we've had a chance to see which raster operations
can be eliminated correctly.
</pre>
<p>[base/gdevwts.c]</p>
</blockquote>
<p><strong><a name="2010-02-28T225702.883228Z"></a>
2010-02-28T22:57:02.883228Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
First half of patch from John Wehle for bug 691149 - vac C compiler on AIX 5.2 does
not like function with a void prototype returning a void function e.g.
------------------
void func1();
void funct2() {
return funct1();
}
------------------
The 2nd half of the submitted patch was committed as part of r10826 .
</pre>
<p>[base/gdevpx.c]</p>
</blockquote>
<p><strong><a name="2010-02-28T172609.949555Z"></a>
2010-02-28T17:26:09.949555Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fixes part of 691149 - void function returning value, thanks to John
Wehle for the fix. Also, there were several compiler warnings in this
file related to the casting of the gs memory type pointer which have
been cleaned up as well.
</pre>
<p>[base/gsnogc.c]</p>
</blockquote>
<p><strong><a name="2010-02-28T145200.838160Z"></a>
2010-02-28T14:52:00.838160Z Hin-Tak Leung</strong></p>
<blockquote>
<pre>
The distclean make target should call pgclean to clean up profile build also.</pre>
<p>[base/Makefile.in]</p>
</blockquote>
<p><strong><a name="2010-02-28T011926.994088Z"></a>
2010-02-28T01:19:26.994088Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Following PDF reference, version 1.7, section 10.10, crop /TrimBox and /CropBox
by the /MediaBox. Bug 691145.
</pre>
<p>[Resource/Init/pdf_main.ps]</p>
</blockquote>
<p><strong><a name="2010-02-27T232931.437722Z"></a>
2010-02-27T23:29:31.437722Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fixes bug #691147 customer 861, the optimization to strength reduce
the raster operation here is wrong, it is premised on the assumption
the colors are opaque. If either texture or source is transparent the
strength reduction which effectively ignores the source or pattern is
wrong and it will subsequently cause opaque painting. We've simply
removed the optimization instead of conditionalizing on opaque cases,
because tests indicate the reduction not that significant. The
example in the bug report was reduced from a file in the XL ATS 305
test suite. The following customer reported bugs in that test suite
are fixed by this change:
FH905UJ1.BIN pp 1,2,3,4
FH906UJ1.BIN pp 1-6
MA2K7UJ2.BIN pp 1-10
PW2K6UJ1.BIN pp 2
PWTTDUJ3.BIN pp 1
</pre>
<p>[base/gxipixel.c]</p>
</blockquote>
<p><strong><a name="2010-02-27T202413.417473Z"></a>
2010-02-27T20:24:13.417473Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Upgrade Adobe Glyph List to v. 2.0. AGL is used for character mapping in
non-symbolic TrueType fonts in PDF files. Bug 691116.
</pre>
<p>[Resource/Init/gs_agl.ps]</p>
</blockquote>
<p><strong><a name="2010-02-27T165647.050522Z"></a>
2010-02-27T16:56:47.050522Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add missing newline in a TTF debug message.
</pre>
<p>[Resource/Init/gs_ttf.ps]</p>
</blockquote>
<p><strong><a name="2010-02-26T171128.684024Z"></a>
2010-02-26T17:11:28.684024Z Ralph Giles</strong></p>
<blockquote>
<pre>
Correct a typo in the freetype makefile which prevented the inclusion
of ftlzw.c.
</pre>
<p>[base/freetype.mak]</p>
</blockquote>
<p><strong><a name="2010-02-26T064131.056673Z"></a>
2010-02-26T06:41:31.056673Z Ralph Giles</strong></p>
<blockquote>
<pre>
Fixes to our makefile for the third-party freetype library.
I'd missed a number of "optional" files in the original commit, but
didn't notice because other dependencies, which themselves link to
the system freetype library on linux were providing definitions of
the missing symbols. These are now included in our build.
We now generate freetype.dev by copying freetype_$(SHARE_FT) within
freetype.mak, the same was this option is handled in the other third-
party makefiles.
We set native line endings and Id keyword substitution for this file
in the Subversion repository.
</pre>
<p>[base/freetype.mak]</p>
</blockquote>
<p><strong><a name="2010-02-25T110459.765077Z"></a>
2010-02-25T11:04:59.765077Z Chris Liddell</strong></p>
<blockquote>
<pre>
add quotes around the expansion of DEVSTUDIO variable when it's used for the recursive nmake call for debug targets - in case it has white space in it.</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-02-25T082146.259499Z"></a>
2010-02-25T08:21:46.259499Z Masaki Ushizaka</strong></p>
<blockquote>
<pre>
Fix for bug 691103. The pdfwrite device now considers FDArray fonts' FontMatrix and writes correct W/W2/DW/DW2 widths for CIDFont with unusual FontMatrix. This also fixes a problem gs_font::orig_FontMatrix not being initialized for CIDFont.
Bug687832.pdf and Bug690834.ps will show differences which are improvements.
</pre>
<p>[Resource/Init/gs_cidfn.ps base/gdevpdtt.c]</p>
</blockquote>
<p><strong><a name="2010-02-24T202657.347460Z"></a>
2010-02-24T20:26:57.347460Z Ralph Giles</strong></p>
<blockquote>
<pre>
Add a generic makefile for compiling the freetype library
as part of the Ghostscript monolithic build.
Including makefiles should define FTSRCDIR, FTGENDIR and FTOBJDIR,
similar to other third party libraries.
</pre>
<p>[base/freetype.mak]</p>
</blockquote>
<p><strong><a name="2010-02-24T195905.197182Z"></a>
2010-02-24T19:59:05.197182Z Ralph Giles</strong></p>
<blockquote>
<pre>
Copy our local branch of the freetype library source into the gs tree.
This was the intended result of commit 10804, but an ommitted path element
placed it in the repository root instead.
</pre>
<p>[freetype]</p>
</blockquote>
<p><strong><a name="2010-02-24T193811.435012Z"></a>
2010-02-24T19:38:11.435012Z Ralph Giles</strong></p>
<blockquote>
<pre>
Correct a typo in a dependency specification for wrfont.c.
The typo (stdio_h for stdio__h) prevented the dependency on arch.h
from being declared, generating a temporary error in a sufficiently
parallel make invocation.
</pre>
<p>[psi/int.mak]</p>
</blockquote>
<p><strong><a name="2010-02-24T192711.525322Z"></a>
2010-02-24T19:27:11.525322Z regression</strong></p>
<blockquote>
<pre>
Changed naming scheme for regressions from 00000-00000 to 00000 (i.e. no longer treat Ghostscript and GhostPDL revisions independently).
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p>
</blockquote>
<p><strong><a name="2010-02-24T182235.905364Z"></a>
2010-02-24T18:22:35.905364Z Ralph Giles</strong></p>
<blockquote>
<pre>
Move the fontconfig check into the libraries section of the configure script.
</pre>
<p>[base/configure.ac]</p>
</blockquote>
<p><strong><a name="2010-02-24T181645.225914Z"></a>
2010-02-24T18:16:45.225914Z Chris Liddell</strong></p>
<blockquote>
<pre>
ensure the DEVSTUDIO value is propagated when we recursively nmake for the debug targets.</pre>
<p>[psi/msvc32.mak]</p>
</blockquote>
<p><strong><a name="2010-02-24T172823.116518Z"></a>
2010-02-24T17:28:23.116518Z Ralph Giles</strong></p>
<blockquote>
<pre>
Remove a spurious circular symlink accidentally included in the libpng-1.2.42
source import.
</pre>
<p>[libpng/libpng]</p>
</blockquote>
<p><strong><a name="2010-02-24T095802.654907Z"></a>
2010-02-24T09:58:02.654907Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix, ignore a class of broken TrueType font.
Bug #691121 "gs stops in interpreting tt instructions". The font executes an MDRP
instruction with point number 28, the glyph only contains 28 points numbered 0 to 27 so
the interpreter (correctly) flags an error.
Windows and FT both appear to silently ignore the error and the instruction (definitely
the case for FreeType). Modified Ins_MDRP to simply return if the indicated point is
outside the number of points in this case.
</pre>
<p>[base/ttinterp.c]</p>
</blockquote>
<p><strong><a name="2010-02-23T222918.142249Z"></a>
2010-02-23T22:29:18.142249Z Henry Stiles</strong></p>
<blockquote>
<pre>
Fixes bug 690967, a diagnostic problem with dumping memory the debug
-ZA option. See the comment in the code for details, the change has
no effect on production builds.
</pre>
<p>[base/gsalloc.c]</p>
</blockquote>
<p><strong><a name="2010-02-23T215815.181686Z"></a>
2010-02-23T21:58:15.181686Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Fix obviously wrong code in .fixsethalftonescreen procedure that is used by
the setscreen (and setcolorscreen) procedure and caused a PS error if the
third 'proc' argument to setscreen is a read-only Halftone type 1 dictionary.
Thanks to Jonathan Dagresta for the patch. Bug 691130, customer 1130.
</pre>
<p>[Resource/Init/gs_dps2.ps]</p>
</blockquote>
<p><strong><a name="2010-02-23T205621.262529Z"></a>
2010-02-23T20:56:21.262529Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Simplify sed script that extracts libTiff version number for compatibility
with AIX sed. Include our portable header before tiff.h to make sure that
all stdint types are found. Bug 691102.
</pre>
<p>[base/gdevtifs.c base/gdevtsep.c base/configure.ac base/gdevtfnx.c base/devs.mak base/gdevtfax.c]</p>
</blockquote>
<p><strong><a name="2010-02-23T100154.545437Z"></a>
2010-02-23T10:01:54.545437Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite)
Bug #691133. If producing PDF/A output. and a DOCINFO pdfmark string was UTF_16BE
encoded *and* contained a numeric character, then decode_escape incorrectly consumed
any numeric characters following the first octal byte of the UTF16 code.
This was caused by decode_escape assuming that octal sequences are terminated by
non-numeric characters which is clearly wrong. The octal escape decoding loop is now
terminated when :
1) 3 numeric characters are read from the string
2) No more data is available in the string
3) A non-numeric character is encountered in the string.
</pre>
<p>[base/gdevpdfe.c]</p>
</blockquote>
<p><strong><a name="2010-02-22T114533.943563Z"></a>
2010-02-22T11:45:33.943563Z Chris Liddell</strong></p>
<blockquote>
<pre>
resolve inappropriate variable type (signed vs unsigned) and comparisons with the wrong variable when writing the local subrs info to the serialized T2 Private dictionary.</pre>
<p>[psi/write_t2.c]</p>
</blockquote>
<p><strong><a name="2010-02-21T175724.841443Z"></a>
2010-02-21T17:57:24.841443Z regression</strong></p>
<blockquote>
<pre>
Added regression testing of the icc_work branch to the local cluster.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/run.pl toolbin/localcluster/cachearchive.pl]</p>
</blockquote>
<p><strong><a name="2010-02-21T035726.068286Z"></a>
2010-02-21T03:57:26.068286Z Marcos H. Woehrmann</strong></p>
<blockquote>
<pre>
Add cast to bmpcmp.c to quiet useless compiler warning.
</pre>
<p>[toolbin/bmpcmp.c]</p>
</blockquote>
<p><strong><a name="2010-02-21T035151.891247Z"></a>
2010-02-21T03:51:51.891247Z regression</strong></p>
<blockquote>
<pre>
Several minor changes to local cluster code to improve reliability and increase performance.
</pre>
<p>[toolbin/localcluster/clustermaster.pl toolbin/localcluster/build.pl toolbin/localcluster/run.pl toolbin/localcluster/compare.pl]</p>
</blockquote>
<p><strong><a name="2010-02-21T033829.059238Z"></a>
2010-02-21T03:38:29.059238Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Update pdf2dsc.ps to match the changes in pdf_main.ps introduced by
the rev. 10341. Thanks to William Bader for the patch. Bug 691124.
</pre>
<p>[lib/pdf2dsc.ps]</p>
</blockquote>
<p><strong><a name="2010-02-21T025705.611462Z"></a>
2010-02-21T02:57:05.611462Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Include stat_.h before estack.h, which defines esp macro.
Prevent a spurious macro substitution in Cygwin version of signal.h.
Bug 691123, customers 661.
</pre>
<p>[psi/zfapi.c psi/int.mak]</p>
</blockquote>
<p><strong><a name="2010-02-17T170227.004947Z"></a>
2010-02-17T17:02:27.004947Z Henry Stiles</strong></p>
<blockquote>
<pre>
Adds placeholder files to trunk so the other languages (pcl, xps and
svg) can built with the icc branch and trunk. Each of these files
will be replaced with real files when the icc branch is merged into
the trunk.
</pre>
<p>[base/lcms.mak base/gsiccmanage.h]</p>
</blockquote>
<p><strong><a name="2010-02-16T181257.832463Z"></a>
2010-02-16T18:12:57.832463Z Robin Watts</strong></p>
<blockquote>
<pre>
Tiny tweaks to clusterpush.pl to make it work on windows. First, wrap the
$HOME directory in additional quotes to allow for awkward windows users
with spaces in their names. Secondly, add a crude mapping for people whos
windows names are not the same as the usernames. This can unquestionably
be done more nicely, but the simple version will do for now.
</pre>
<p>[toolbin/localcluster/clusterpush.pl]</p>
</blockquote>
<p><strong><a name="2010-02-16T170749.079920Z"></a>
2010-02-16T17:07:49.079920Z Alex Cherepanov</strong></p>
<blockquote>
<pre>
Add missing dereferencing of indirect objects in /Mask array.
Bug 691112, customers 870.
</pre>
<p>[Resource/Init/pdf_draw.ps]</p>
</blockquote>
<p><strong><a name="2010-02-12T152723.315268Z"></a>
2010-02-12T15:27:23.315268Z Ken Sharp</strong></p>
<blockquote>
<pre>
Sort out some minor benign compiler warnings. No differences expected.
</pre>
<p>[base/gdevpdfe.c]</p>
</blockquote>
<p><strong><a name="2010-02-12T151716.629322Z"></a>
2010-02-12T15:17:16.629322Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix colour processing. It was possible for nested ICCBased colour spaces (ie an ICCBased
space whose Alternate is another ICCBased space) to cause segmentation faults.
This was due to the fact that the conversion to base colour continuation procedure
'currentbasecolor_cont' was supposed to scan the space from the initial declaration
each time round a loop. However a reassignment of an array pointer caused it to
rescan from the last processed colour array instead.
Normally this does not cause problems, but in the case of nested ICCBased it caused
us to generate an error.
Fixed by re-initialising the array pointer at the start of the loop.
</pre>
<p>[psi/zcolor.c]</p>
</blockquote>
<p><strong><a name="2010-02-11T162820.347398Z"></a>
2010-02-11T16:28:20.347398Z Ken Sharp</strong></p>
<blockquote>
<pre>
Fix (pdfwrite) bug #691104 "pdfwrite emits garbage in the XMP metadata when DOCINFO
pdfmarks contain UTF-16BE text strings"
There were several problems. Firstly the undoing of PostScript string escapes was wrong,
Octal escapes consumed too many characters, and several escape sequences weren't
recognised.
Secondly the XMP emission didn't expect to receive UTF-16BE strings and didn't convert
them to UTF-8 for inclusion in the metadata.
This patch fixes the broken octal escapes, adds teh unprocessed escapes and checks the
DOCINFo strings before sending to XMP. If they include the UTF-16BE Byte Order Mark
then convert the strings to UTF-8.
</pre>
<p>[base/gdevpdfe.c]</p>
</blockquote>
<p><strong><a name="2010-02-10T202733.989189Z"></a>
2010-02-10T20:27:33.989189Z Ralph Giles</strong></p>
<blockquote>
<pre>
Bump the versioning after the 8.71 release.
</pre>
<p>[base/gscdef.c base/version.mak Resource/Init/gs_init.ps doc/News.htm]</p>
</blockquote>
<!-- [2.0 end contents] ==================================================== -->
<!-- [3.0 begin visible trailer] =========================================== -->
<hr>
<p>
<small>Copyright © 2000-2006 Artifex Software, Inc. All rights reserved.</small>
<p>
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that
license. Refer to licensing information at http://www.artifex.com/
or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
<p>
<small>Ghostscript version 9.03, 15 July 2011
<!-- [3.0 end visible trailer] ============================================= -->
</body>
</html>
|