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
|
Fri Aug 24 12:21:50 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Handle
text == NULL, length == 0 again.
Thu Aug 23 19:44:34 2001 Tim Janik <timj@gtk.org>
* pango/pango-layout.c (pango_layout_check_lines): pass ""
as default text into pango_layout_set_text() as NULL isn't
allowed anymore.
Wed Aug 22 19:52:18 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Simply
use g_utf8_validate() to validate the text, avoiding
problem where layout was left in hosed state for invalid
UTF-8, and also a bug with reading one-past length.
2001-08-16 Alexander Larsson <alexl@redhat.com>
* pango/pangowin32.c:
Fully convert the truetype unicode table to host endianness when reading it.
Add a cache of one to find_segment since it showed up on a profile.
2001-08-15 Jens Finke <jens@gnome.org>
* pango.spec.in: Updated to match gpp standard.
2001-08-14 Sven Neumann <sven@gimp.org>
* pango/pangoft2.c (pango_ft2_render): composite with "saturate"
semantics instead of "over" so joining glyphs get drawn correctly.
2001-08-14 Sven Neumann <sven@gimp.org>
* pango/pangoft2.c (pango_ft2_render): composite glyphs over the
buffer instead of simply copying into it so glyphs with overlapping
ink rectangles do not overwrite each other.
Sun Aug 12 10:33:02 2001 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am pango/Makefile.am: Set GPATH to fix srcdir !=
builddir problems with GNU make.
2001-08-10 Hans Breuer <hans@breuer.org>
* pango/pangowin32.c (pango_win32_render) : restore
the previously selected font into the device context.
(pango_win32_font_get_glyph_extents) : info->ink_rect.y needs
to be negative to get underlines right
* pango/pangowin32-fontmap.c (pango_win32_font_map_list_fonts) :
Don't g_assert_not_reached () on !family case. This is what
the X version does as well. Testcase for win32: testfonts.c
* pango/testfonts.c : (new file) simple test program for win32
which renders all or selected fonts into a bitmap
* pango/makefile.msc : re-enable testfonts compiling
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* pango/pango-layout.c (pango_layout_line_get_empty_extents):
Remove unneeded inc_rect parameter.
(pango_layout_line_get_extents): Treat lines containing only
tabs as empty lines. (#57051)
2001-08-09 Alexander Larsson <alexl@redhat.com>
* pango/pangowin32.h:
* pango/pangowin32-private.h:
* pango/pangowin32.c:
* pango/pangowin32-fontmap.c:
* modules/basic/basic-win32.c:
* pango/pangowin32.def:
Large rewrite of the win32 backend to use real glyph indexes
instead of unicode codes. Also drops the subfont thing, thereby
simplifying the code immensely. This looses some functionality,
but i will add that back soon using global (non backend-specific)
aliases.
This is the first cut, and is not perfect. It still has some issues
and imperfections, but it so clearly better than the current
imlementation that I'm checking it in anyway.
2001-08-04 Alexander Larsson <alexl@redhat.com>
* pango/makefile.msc:
Don't build the non-existant testfont binary
Use glib-mkenums instead of the old mkenums.pl
copy module-defs-win32.c.win32 to module-defs-win32.c
* pango/module-defs-win32.c.win32:
Include the built in basic-win32 stuff.
2001-07-27 Darin Adler <darin@bentspoon.com>
* modules/indic/gujarati-x.c: Remove unused prototype.
2001-07-20 Hans Breuer <hans@breuer.org>
* pango/pango-layout.c (pango_layout_line_get_vis2log_map) :
make implementation static too.
* pango/pango.def pango/pangowin32.def : updated exports
* pango/pangowin32.c : correct PangoLanguage changes
* pango/mini-fribidi/fribidi.c : removed gccism for msvc build
Thu Jul 19 16:44:43 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (font_set_load): Don't corrupt the
font description passed in.
Fri Jul 13 14:24:59 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (pango_querymodules_DEPENDENCIES): Fix dependencies
to work without XFT.
Thu Jul 12 16:32:42 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (pango_querymodules_DEPENDENCIES): Add
an explicit dependency on libpangoxft.la, to fix
parallel make problem (#56818)
* pango/Makefile.am (CLEANFILES): Fix problem where
name of stamp files didn't match actual name.
2001-07-12 Darin Adler <darin@bentspoon.com>
* modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray
semicolon.
* modules/arabic/arconv.h:
* modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape):
Use long* instead of int* for parameter to match what's passed in.
* modules/indic/bengali-x.c: Add missing <string.h> include.
(pango_indic_make_ligs): Use local variable that was added but not
ever used.
(pango_indic_engine_shape): Remove unused locals.
* modules/indic/devanagari-x.c: Add missing <string.h> include.
(pango_indic_engine_shape): Remove unused local.
* modules/indic/gujarati-x.c: Add missing <string.h> include.
(pango_indic_engine_shape): Remove unused local
* modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a
variable to quiet the compiler's unused warning.
* pango/.cvsignore: Ignore more generated files.
* pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the
ap variable. The old code would just use the uninitialized value.
* pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local.
* pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape):
Remove unused local.
* pango/pango-attributes.c: (pango_attr_list_get_type),
(pango_color_get_type): Add needed function type casts (just
warnings under gcc, but could be errors in other compilers).
* pango/pangoxft-font.c: (pango_xft_font_get_metrics),
(pango_xft_font_get_coverage), (pango_xft_get_shaper_map),
(pango_xft_font_find_shaper): Switch from lang char* to
PangoLanguage*. The code was still compiling, but would not have
worked.
2001-07-02 James Henstridge <james@daa.com.au>
* pango/glyphstring.c (pango_glyph_string_copy): copy function.
(pango_glyph_string_get_type): implement get_type function.
* pango/pango-glyph.h (pango_glyph_string_get_type): get_type
function prototype.
(pango_glyph_string_copy): prototype for copy function.
* pango/pango-utils.c (pango_language_get_type): implementation.
* pango/pango-types.h (pango_language_get_type): get_type function.
* pango/pango-tabs.c (pango_tab_array_get_type): implementation.
* pango/pango-tabs.h (pango_tab_array_get_type): get_type function.
* pango/fonts.c (pango_font_description_get_type): implementation.
* pango/pango-font.h (pango_font_description_get_type): add
get_type function for typecode.
Mon Jul 2 06:12:18 2001 Tim Janik <timj@gtk.org>
* pango/pangoxft-font.c:
* pango/pangox.c:
* pango/pangowin32.c:
* pango/pangoft2.c: s/shutdown/dispose/ to adapt to
GObject changes.
Sun Jul 1 22:59:02 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-markup.c (text_handler): Use gssize,
not size_t, gssize isn't defined here on all
systems.
2001-06-29 Havoc Pennington <hp@redhat.com>
* configure.in (QTDIR): don't get confused by qt3
Thu Jun 28 21:49:30 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.7
* pango/pangoft2-fontmap.c pango/pangowin32-fontmap.c
pango/pangox-fontmap.c pango/pangoxft-fontmap.c:
Fix args to g_type_init().
Tue Jun 26 15:11:30 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (font_set_get_font)
pango/pango-context.c (add_engines): Couple of
bug fixes for the last change.
* configure.in: Abort out when AM_PATH_GLIB fails.
Tue Jun 26 10:19:02 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c (pango_language_matches): Handle
language == NULL as matching nothing but '*'.
* pango/pango-context.[ch] (pango_context_get_metrics): Add a
(slowish) function to get the metrics for a font description,
including fallbacks as with pango_itemize(), rather than a single
font.
Sat Jun 23 10:01:20 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
* pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage):
pango/pango-markup.c:
modules/arabic/arabic-xft.c (arabic_engine_shape):
modules/arabic/arabic-x.c (arabic_engine_shape):
pango/pango-context.c (pango_itemize):
pango/pangox.c (get_font_metrics_from_string):
pango/pangoft2.c (get_font_metrics_from_string):
Adapt to 64-bit changes in glib.
* pango/Makefile.am: Modify generation rules to
use glib-mkenums (ugh, loong command lines), and
to reduce rebuilding by using stamp files.
2001-06-22 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : changed version to 0.17
* pango/pango.def : updated externals
* pango/pangowin32-fontmap.c :
* pango/pangowin32-private.h :
* pango/pangowin32.c : adapted to PangoLanguage usage
Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage
type to represent language tags; these can efficiently be compared
and don't need to be copied. Also add pango_language_matches()
to match a language tag against a pattern.
* pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs
from PangoItem to PangoAnalysis. Add a language tag field to
PangoAnalysis. (#55894)
* pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return
the language tag as well.
* pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage,
and make it hold a PangoLanguage.
* pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to
pango_context_{get,set}_language().
* **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes.
* modules/basic/basic-x.c modules/basic/tables-big.i: Add support
for ordering character sets differently for different language
tags.
* pango/itemize.c: Remove old, unused file.
* pango/pango-context.c (pango_itemize): Reduce number of mallocs
by allocating one array of PangoAnalysis instead of many arrays.
2001-06-12 Havoc Pennington <hp@redhat.com>
* docs/Makefile.am (dist-hook): don't ignore errors from missing
index.sgml
* NEWS: update
* configure.in: increment version to 0.17
Thu Jun 7 14:06:25 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_move_cursor_visually):
Add a 'strong' parameter to allow moving either the strong
or the weak cursor visually, instead of the strong cursor.
2001-06-07 Havoc Pennington <hp@redhat.com>
* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
other libs
* configure.in: use AM_PATH_GLIB_2_0
* autogen.sh: support AUTOGEN_SUBDIR_MODE
* Makefile.am: dist the .pc.in files
Tue Jun 5 10:40:17 2001 Owen Taylor <otaylor@redhat.com>
* docs/reference/tmpl/*.smgl: Patch from Matthias
Clasen fixing various typos. (#55744)
Thu May 31 19:35:27 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_x_to_index):
Make the hack for avoiding the last index of the line more
sophisticated in order to deal with newlines internal
to the layout and the case where the second half of the
last character is specifically selected. (Fixes #51190)
Thu May 31 12:31:20 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c (pango_x_font_map_for_display):
Actually advance through list. (Problem noticed
by Erwann Chenede)
* modules/Makefile.am (install-data-local): Move rule
for generation of /etc/pango/pango.modules to here,
since we are now built _after_ the library. (Problem
noticed by KUSANO Takayuki)
Tue May 29 18:17:11 2001 Owen Taylor <otaylor@redhat.com>
* autogen.sh (have_libtool): Fix GNU sedism
Tue May 29 17:41:44 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Use $PKG_CONFIG, not pkg-config.
Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_move_cursor_visually):
Set *trailing properly at end of line.
Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (map_add_engine): Fix problem with
information loss when converting leaves to branches.
(Problem found by Toshio MARUYAMA)
Wed May 23 12:59:26 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c (pango_x_make_font_struct): Load the
font struct for "fixed" in the case of a broken font list
where fonts listed by XListFonts aren't loadable.
Fri May 18 16:44:25 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (ensure_tab_width): Use the font
at the beginning of the paragraph, not the context's
font.
Fri May 18 11:30:57 2001 Owen Taylor <otaylor@redhat.com>
* pango/opentype/disasm.c: Use ISO C99 varargs when
available.
Thu May 17 11:16:23 2001 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c: Fixup docs, remove some FIXMEs that are
no longer applicable.
* pango/pango-layout.c: Move by graphemes, not characters.
* pango/pango-layout.c (pango_layout_line_x_to_index):
Position at the closest grapheme boundary, not at character
boundaries.
* pango/pango-layout.c (pango_layout_line_index_to_x):
Return positions of grapheme boundaries, not character
boundaries.
Tue May 1 16:03:48 2001 Owen Taylor <otaylor@redhat.com>
* autogen.sh (libtool_version): Require libtool 1.4 when
build out of CVS.
* **/Makefile.am: Add inter-library dependencies,
especially for the modules. Many cleanups to the
module makefiles.
* configure.in modules/indic/Makefile.am: Remove
INCLUDE_ANY_INDIC conditional which doesn't seem to have
any point and was definitely suspect as done.
* modules/tamil/tamil-xft.c (MODULE_ENTRY): Fix prefix
to be _pango_tamil instead of _pango_basic.
* Makefile.am: Build modules/ after pango/ so we can
make the modules depend on libpango/libpangox.
* examples/Makefile.am: Remove spurious rule to rebuild
makefile.mingw.
Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c: Fix to correspond to extremely
odd choice of sign convention in libXft. (#51476)
Wed May 9 10:11:06 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (install-data-local): Get rid
of grep -q (pointed out by Tony Graham).
2001-05-06 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Fix Xft detection by setting CPPFLAGS before trying
the Xft/XftFreetyp.h header file.
Use CPPFLAGS instead of CFLAGS.
2001-01-06 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : reflect new version number, removed
external fribidi dependency from link step as well
* pango/pango.def : updated externals
* pango/pangowin32.c : initialize approximate_(digit|char)_width
similar to what the other backends do
Fri May 4 11:07:04 2001 Owen Taylor <otaylor@redhat.com>
* NEWS: Update for 0.16
* docs/pango-sections.txt: Update.
* configure.in (PANGO_MINOR_VERSION): 0.16
Wed May 2 11:57:45 2001 Owen Taylor <otaylor@redhat.com>
* examples/Makefile.am (QT_LIBS): Remove space that
was confusing libtool.
2001-05-04 Alex Larsson <alla@lysator.liu.se>
* pango/pangoft2.c (get_font_metrics_from_subfonts):
Set approximate_digit_width and approximate_char_width. The
digit one could be done better (see bug 53425).
2001-05-03 Michael Natterer <mitch@convergence.de>
* configure.in: also check for the the Xft header.
Wed May 2 11:35:16 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (have_freetype): Add check to make sure
#include FT_ERRORS_H works. (#54043)
2001-05-02 Sven Neumann <sven@convergence.de>
* configure.in: do not try to build modules using Xft if X is not
available or was explicitely disabled.
Tue May 1 23:30:53 2001 Owen Taylor <otaylor@redhat.com>
* modules/hangul/hangul-x.c (hangul_engine_shape): Fix numeric
format in warning.
* pango/pangox.c (get_font_metrics_from_string): Fix assorted
brokenness.
Tue May 1 19:27:00 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c (pango_x_render): Rewrite the newline
arrow drawing code to act a little better on a range
of different sizes of fonts.
2001-04-27 Havoc Pennington <hp@redhat.com>
* pango/pangox-fontmap.c: Move some fontmap stuff to
pangox-private.h to access fontmap->resolution in pangox.c
* pango/pangox.c (get_font_metrics_from_subfonts): multiply
avg. width by PANGO_SCALE, and consider that avg width from X is
in decipoints
* modules/basic/basic-x.c: mark some chars unknown when shaping,
with a flag PANGO_X_UNKNOWN_FLAG
* pango/pangox.c (pango_x_font_get_metrics): use lookup_lang not
lang when calling get_font_metrics_from_string
(pango_x_render): render unknown chars
* pango/pango-layout.c:
(pango_layout_set_single_paragraph_mode): add mode where we don't
break on para separators, instead we shape them and display glyphs
(pango_layout_get_single_paragraph_mode): getter for above
(pango_layout_check_lines): handle single paragraph mode
Tue Apr 24 11:45:55 2001 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgdef.c (TT_Load_GDEF_Table): Remove
excess call to DONE_Stream left over from conversion
from FT1. (reported by Michael Jansson)
2001-04-20 Alexander Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_metrics):
Set approximate_digit_width and approximate_char_width to
some cheesy value. Not good, but better than nothing.
Fri Apr 20 11:38:46 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-markup.c (pango_parse_markup): Remove some
conditionalization on (md->text == NULL) that is no
longer needed with the last change.
2001-04-20 Anders Carlsson <andersca@codefactory.se>
* pango/pango-markup.c (pango_parse_markup): Discard the parsed text if
the input variable text is NULL. This fixes a segfault.
Tue Apr 17 15:44:53 2001 Owen Taylor <otaylor@redhat.com>
* Release 0.15
* tests/testboundaries.c: Look for files in $srcdir.
* Makefile.am (SUBDIRS): Add tests, remove fonts
* tests/Makefile.am (EXTRA_DIST): added missing stuff
* fonts/: Remove. Nothing in here is needed any more.
2001-04-16 Havoc Pennington <hp@pobox.com>
* pango/pango-glyph.h: Removed pango_justify(), since it has no
implementation that I can find.
* pango/pango-attributes.c: docs
* pango/pango-layout.c: docs
Mon Apr 16 19:20:12 2001 Owen Taylor <otaylor@redhat.com>
* modules/tamil/tamil-x.c: Remove warning when using fallback
shaping.
Mon Apr 16 19:14:00 2001 Owen Taylor <otaylor@redhat.com>
[ Patches from Vikram Subramanian to update Tamil shapers ]
* configure.in modules/tamil/tamil-xft.c modules/tamil/Makefile.am:
Xft/TT based Tamil rendering engine. Uses glyphs in the
private-use-area instead of proper OpenType tables.
* examples/HELLO.utf8: Add Tamil line
* examples/pangox.aliases: Add tamil fonts
* modules/tamil/tadefs.h modules/tamil/tamil-x.c: Update
to use PANGO_LIGATURE_HACK ligatures from BDF files instead
of a fixed encoding.
Mon Apr 16 18:12:06 2001 Owen Taylor <otaylor@redhat.com>
* README: Small updates
* examples/HELLO.utf8: Insert a RLM on the Yiddish line
to correct for fixes to the bidi algorithm.
* pango/mini-fribidi/*: Update to CVS fribidi which
has various bug fixes.
Mon Apr 16 14:26:54 2001 Owen Taylor <otaylor@redhat.com>
* docs/pango-sections.txt: Update.
* docs/Makefile.am (EXTRA_DIST): Update to the latest
version.
2001-04-14 Hans Breuer <hans@breuer.org>
* pango/pangowin32-fontmap.c : instead of simply adding one
matching font for the magic font names (sans, serif, monospace)
stuff any mathing font in the respective family entries
(pango_win32_font_map_load_font) : do the same approximation for
oblique and italic as the X version does
* pango/pangowin32.c (pango_win32_font_get_glyph_extents) :
initialize ink_rect and logical_rect to some more appropriate values
(subfont_has_glyph) : implement glyph availability caching. IMO it
needs to be done different to the other backends, because even the
decision if a font has a specific glyph is increadeable slow on win32
Fri Apr 13 14:55:20 2001 Owen Taylor <otaylor@redhat.com>
* pango/mini-fribidi/{fribidi.c,fribidi_get_type.c,fribidi_tables.i}:
Update to correspond to FriBidi-0.9.0 (with some small fixes)
* pango/mini-fribidi/fribidi-0.9.0.patch: Update patch for
Fribidi-0.9.0.
2001-04-13 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h: Add macros for CSS font scale factors
2001-04-13 James Henstridge <james@daa.com.au>
* configure.in: AC_INIT should be the first statement in the file.
Also, use $PANGO_MAJOR_VERSION.$PANGO_MINOR_VERSION as the version
passed to AM_INIT_AUTOMAKE.
Tue Apr 3 15:05:19 2001 Owen Taylor <otaylor@redhat.com>
* Release 0.14
* NEWS: updated.
* pango/pango/opentype/Makefile.am: make dist fixes.
* configure.in (PANGO_MINOR_VERSION): Up to 0.14
Mon Apr 2 12:01:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc (main): Add the mystic
g_type_init ((GTypeDebugFlags) 0);.
2001-04-02 Alexander Larsson <alexl@redhat.com>
* pango/pangoft2-fontmap.c:
Add some initilaization failure warnings if no fonts found
or no fontaliases files found.
2001-03-31 Fatih Demir <kabalak@gtranslator.org>
* .cvsignore: Extended the ignore list to be right
and make CVS quiet.
2001-03-18 Tor Lillqvist <tml@iki.fi>
* pango/makefile.mingw.in
* pango/pango.def: Update.
* pango/module-defs-win32.c.win32: New file.
* pango/Makefile.am (EXTRA_DIST): Add here.
* pango/mini-fribidi/makefile.mingw: New file.
* pango/mini-fribidi/makefile.mingw (EXTRA_DIST): Add here.
Fri Mar 9 11:57:46 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c (pango_x_find_subfont): Remove a lot of
instances of "Error parsing ligature info" that somehow
crept in.
* docs/*: Some makefile tweaks, structure updates.
2001-03-15 Sven Neumann <sven@gimp.org>
* Makefile.am
* configure.in
* modules/*/Makefile.am
* pango/Makefile.am: make it compile without X headers
2001-03-12 Sven Neumann <sven@gimp.org>
* pango/pangoft2.c (pango_ft2_font_describe): set the size field
2001-03-07 Havoc Pennington <hp@redhat.com>
* pango/pangox.c (pango_x_font_get_metrics): fix a cheesy bug in
setting approximate_digit_width
Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
* pango/pango-attributes.c: fixed up g_boxed_type_register_static()
since GLib signature changed.
* got rid of bogus g_type_init() calls.
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
approximate_digit_width field
* pango/pangox.c (pango_x_font_get_metrics): make up an
approximate digit width number
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): Add
approximate_char_width field
* pango/pangox.c (get_font_metrics_from_subfonts): "compute" the
approximate char width. Other backends need to add this.
2001-02-28 Alexander Larsson <alla@lysator.liu.se>
* pango/pango-attributes.[c]:
Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
2001-02-20 Havoc Pennington <hp@pobox.com>
Patch from Soeren Sandmann
* pango/pangox-fontcache.c (pango_x_font_cache_load): make xlfd
arg const
* pango/pango-utils.c (pango_get_sysconf_subdirectory):
G_CONST_RETURN
(pango_get_lib_subdirectory): G_CONST_RETURN
2001-02-19 Hans Breuer <hans@breuer.org>
* pango/modules.h, pango/pangowin32.c (pango_win32_get_context) :
added _pango_included_win32_modules[] to include modules with plain
win32 build as well.
* pango/pango.def : added new exported functions
* pango/pangowin32-fontmap.c : add unspecified fonts for Monospace,
Sans and Serif to avoid crashes if no alias file is provided
* pango/*/makefile.msc : new files to build on windoze with msvc
2001-02-15 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_line_x_to_index): fix
*trailing = FALSE to read *trailing = 0
2001-02-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_line_get_x_ranges): fix
another "count line lengths to get line start" bug
2001-02-12 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_list_insert_internal):
properly update the tail of the list
(pango_attr_list_change): flip order of tmp_list2 =
tmp_list2->next and prev2 = tmp_list2 to avoid setting
prev2 and tmp_list2 to the same value thus creating a
mangled list.
* pango/pango-layout.c (pango_layout_xy_to_index): When returning
FALSE, set the index/trailing to the nearest location, instead
of setting them to 0.
(pango_layout_line_x_to_index): Fix a bug where line->start_index
wasn't used. Return boolean for whether we had to clamp the
value to get an index.
Mon Feb 12 15:01:38 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for
gtk-doc version.
Mon Feb 12 12:45:16 2001 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am: srcdir != build dir fix.
* docs/Makefile.am: Switching over to the new gtk-doc
Makefile.am.
2001-02-11 Havoc Pennington <hp@pobox.com>
* pango/pangox.c (font_struct_get_ligatures): memory leak fix
2001-02-10 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.c (pango_get_sysconf_subdirectory,
pango_get_lib_subdirectory): (Win32): Use
g_win32_get_package_installation_subdirectory(). Use the same
directory structure as on Unix, etc\pango and lib\pango under the
installation "prefix".
* config.h.win32
* pango/makefile.mingw.in: Use mini-fribidi instead of full
FriBiDi.
* pango/pangowin32.c (pango_win32_render_layout_line): Adapt to
changed PangoAttrColor.
* pango/querymodules.c: Include <io.h> for getcwd() prototype.
(query_module): Handle modules with spaces in the path, and
backslashes, use g_strescape() (for Windows).
* pango/mini-fribidi/makefile.mingw: New file
2001-02-05 Alexander Larsson <alexl@redhat.com>
* pango/pangoft2.c (pango_ft2_render,
pango_ft2_render_layout_line): Remove bogus MIN when rendering
freetype text. Also draw full underlines.
Sun Feb 4 07:48:47 2001 Tim Janik <timj@gtk.org>
* pango/pango-attributes.c (pango_color_get_type): pass 0 as
first argument to g_type_init().
* pango/pangoxft-fontmap.c (pango_xft_get_font_map):
* pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display):
* pango/pangox-fontmap.c (pango_x_font_map_for_display):
* pango/pango-context.c (pango_context_new): likewise.
* i dare saying that i doubt the usefullness of all these
g_type_init() calls though.
2001-01-26 Havoc Pennington <hp@redhat.com>
* pango/pangox.h (PangoGetGCFunc): take a PangoColor not a
PangoAttrColor
* pango/pango-attributes.h: add PangoColor, add PANGO_ATTR_INVALID
as a placeholder for zero in the PangoAttrType enum, corresponds
to G_TYPE_INVALID.
* pango/pango-attributes.c: Add PangoColor type, use for
PangoAttrColor
(pango_color_get_type): new function
(pango_color_copy): new function
(pango_color_free): new function
Thu Jan 25 14:47:17 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-sections.txt pango/pango-docs.sgml pango/tmpl/*:
Updates for new functions.
2001-01-23 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_copy): New function
2001-01-23 Alex Larsson <alla@lysator.liu.se>
* pango/pango-item.c (pango_item_free):
Free item->extra_attrs list.
* pango/pango-layout.c (process_item):
Don't leak copy of item.
* pango/pango-utils.c (read_config_file):
If the config file open fails, don't leak the
temp buffers.
2001-01-23 <alla@lysator.liu.se>
* modules/basic/basic-ft2.c (basic_engine_get_coverage):
Don't leak PangoCoverage.
* pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font):
Move name free closer to allocation.
(pango_ft2_font_map_read_alias_file): Don't leak faces.
(pango_ft2_font_entry_get_coverage): Don't leak font as
filename and cache_file_name.
2001-01-22 Havoc Pennington <hp@redhat.com>
* tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g;
* pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode
for PangoLayout
* pango/break.c (pango_default_break): implement char break log
attr
* pango/pango-break.h (struct _PangoLogAttr): rename is_break
is_line_break, add is_char_break field
2001-01-18 Alex Larsson <alla@lysator.liu.se>
* pango/pangoft2.c (get_font_metrics_from_subfonts):
Use correct font metrics information.
2001-01-07 Tor Lillqvist <tml@iki.fi>
* pango/fonts.c (pango_font_description_to_filename): Allow '+' in
the filename.
* pango/pangowin32.c (get_font_metrics_from_string): Adopt to new
prototype for g_utf8_to_ucs4).
* pango/module-defs.c.win32: Removed.
* pango/module-defs-ft2.c.win32: New file, hand-written until GNU
configure is used on Win32, too.
* pango/makefile.mingw.in
* pango/Makefile.am (EXTRA_DIST): Corresponding changes.
* pango/pango.def: Update.
Sat Jan 6 20:23:54 2001 Owen Taylor <otaylor@redhat.com>
* modules/arabic/arabic-x.c (arabic_engine_shape): Adapt
to new g_utf8_to_ucs4() prototype.
* modules/basic/basic-ft2.c: Include pango-engine.h
* pango/pangoft2.h: Don't include pango.h, which would
pull in pango-enums.h and thus break module building,
just include neeeded pango-layout.h
Fri Jan 5 16:12:37 2001 Owen Taylor <otaylor@redhat.com>
* modules/arabic/{arabic-xft,arabic}.c pango/{pango-context.c,pangoft.c,pangox.c}:
Adopt to new prototype for g_utf8_to_ucs4 (etc.).
2001-01-05 Alexander Larsson <alla@lysator.liu.se>
* .cvsignore: Add pangoft2.pc
* Makefile.am:
* configure.in:
Build and install pangoft2.pc
* pangoft2.pc:
New file.
2001-01-04 Havoc Pennington <hp@redhat.com>
* modules/indic/Makefile.am (INCLUDES): add X_CFLAGS
* modules/hangul/Makefile.am (INCLUDES): add X_CFLAGS
* modules/tamil/Makefile.am (INCLUDES): add X_CFLAGS
* modules/thai/Makefile.am (INCLUDES): add X_CFLAGS
2001-01-04 Havoc Pennington <hp@redhat.com>
* pango/Makefile.am (install-data-local): put creation of module
file here. Fixes problem if you 'make install' with no preceding
'make' reported by Michael Meeks.
* modules/Makefile.am (install-data-local): remove creation of module file
from here
* Makefile.am (SUBDIRS): remove pango-config
* configure.in: use pkg-config to detect GLib cflags/libs
* pangoxft.pc (Description): fix name/description
2001-01-04 Alexander Larsson <alla@lysator.liu.se>
* modules/arabic/arabic-x.c:
* modules/arabic/arabic-xft.c:
* modules/basic/basic-ft2.c:
* modules/basic/basic-win32.c:
* modules/basic/basic-x.c:
* modules/hangul/hangul-x.c:
* modules/indic/bengali-x.c:
* modules/indic/devanagari-x.c:
* modules/indic/gujarati-x.c:
* modules/indic/gurmukhi-x.c:
* modules/indic/myanmar-x.c:
* modules/tamil/tamil-x.c:
* modules/thai/thai-x.c:
Change all modules to use a define to the script engine name. Also
Fixes some errors in the names (they were different in the same module).
* pango/.cvsignore:
add module-defs*.[ch]
2001-01-03 Alexander Larsson <alexl@redhat.com>
* configure.in:
* modules/arabic/Makefile.am:
* modules/arabic/arabic-x.c:
* modules/basic/Makefile.am:
* modules/basic/basic-x.c:
* modules/hangul/Makefile.am:
* modules/hangul/hangul-x.c:
* modules/indic/Makefile.am:
* modules/indic/bengali-x.c:
* modules/indic/devanagari-x.c:
* modules/indic/gujarati-x.c:
* modules/indic/gurmukhi-x.c:
* modules/indic/myanmar-x.c:
* modules/tamil/Makefile.am:
* modules/tamil/tamil-x.c:
* modules/thai/Makefile.am:
* modules/thai/thai-x.c:
Rename all x modules from abc to abc-x.
* modules/arabic/arabic.c:
* modules/basic/basic.c:
* modules/hangul/hangul.c:
* modules/indic/bengali.c:
* modules/indic/devanagari.c:
* modules/indic/gujarati.c:
* modules/indic/gurmukhi.c:
* modules/indic/myanmar.c:
* modules/tamil/tamil.c:
* modules/thai/thai.c:
These were all copied to file-x.c and then removed.
2001-01-03 Alexander Larsson <alexl@redhat.com>
* configure.in:
Update the default list of included modules for
--with-included-modules=yes to include all new modules.
Split INCLUDED_MODULES and module-defs.c into per shaper
engine type lists.
* modules/arabic/Makefile.am:
Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT.
* modules/arabic/arabic-xft.c:
Change module prefix to _pango_arabic_xft_
* modules/basic/Makefile.am:
Build static libs for all included modules.
* modules/basic/basic-ft2.c:
Change module prefix to _pango_basic_ft2_
* modules/basic/basic-xft.c:
Change module prefix to _pango_basic_xft_
* pango/Makefile.am:
Include correct module-defs-XXX in libs.
* pango/modules.h:
Split _pango_included_modules[] into separate lists.
* pango/pangox.c:
* pango/pangoft2.c:
* pango/pangoxft-fontmap.c:
Register built in modules.
2000-12-22 Alexander Larsson <alla@lysator.liu.se>
* pango/pangoft2.c:
Remove timing printfs.
* pango/pangoft2-private.h:
Disable debug.
2000-12-21 Tor Lillqvist <tml@iki.fi>
* modules/basic/basic-win32.c (script_engine_load): Only a script
engine here.
* pango/makefile.mingw.in: Add the built pango-enum-types.[ch].
* pango/pango.def
* pango/pangoft2.def: Update.
* pango/opentype/pango-ot.def
* pango/opentype/makefile.mingw.in: New files.
* pango/opentype/Makefile.am (EXTRA_DIST): Add them.
* configure.in (included_modules): Generate
pango/opentype/makefile.mingw.
2000-12-21 Alexander Larsson <alexl@redhat.com>
* pango-config.in:
Change usage to say pango-config instead of glib-config.
Add support for pangoft2.
* modules/basic/Makefile.am:
Compile and install pango-basic-ft2 if freetype was found.
* modules/basic/basic-ft2.c:
Remove lang engine. Make the glyph from the glyph index instead
of the unicode index. The id is really BasicScriptEngineFT2.
* pango/Makefile.am:
Compile and install pangoft2 if freetype was found.
* pango/pangoft2-fontcache.c (pango_ft2_font_cache_load):
Init face->generic.data to 0, since this field will be used
to cache the current size of the face.
* pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display):
Use g_object_new instead of g_type_create_instance.
(pango_ft2_font_entry_get_coverage): Use G_DIR_SEPARATOR_S
instead of \\. (pango_ft2_font_entry_get_coverage): Init result
to NULL. Don't write to file if open failed.
* pango/pangoft2-private.h:
Add PangoFT2GlyphInfo.
* pango/pangoft2.c (pango_ft2_get_face): Export function, and make
sure it sets the correct face size. (pango_ft2_load_font,
pango_ft2_get_per_char, pango_ft2_font_get_kerning):
PANGO_FT2_GLYPH_INDEX stores the glyph index, not the unicode value.
(pango_ft2_font_get_glyph_extents): Cache glyph extents.
(pango_ft2_has_glyph): Remove function.
(pango_ft2_font_finalize): Free glyph info cache.
* pango/pangoft2.h:
Export pango_ft2_get_face, remove pango_ft2_has_glyph.
Wed Dec 20 19:53:09 2000 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am (IGNORE_HFILES): Add opentype/.
* modules/{basic/basic,arabic/arabic}-xft.c: Include
pango-engine.h.
* pango/pangoxft.h: Don't include pango.h to avoid
getting pango-enum-types.h.
* pango/Makefile.am (pangoinclude_HEADERS): Move
XFT_HFILES out of pango_headers, since mkenums.pl
shouldn't be run on it.
2000-12-20 Havoc Pennington <hp@redhat.com>
* configure.in: fix freetype check a bit
Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com>
* configure.in pango-config.in pangoxft.pc.in
modules/basic/Makefile.am: Since Xft may only be available
statically without shlib deps, check for FreeType libs explicitly
and include them when linking, otherwise things won't work. Also,
define FREETYPE_CFLAGS from freetype-config --cflags.
* modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool
Xft into not converting glyph indices by loading the
face unencoded then calling FT_Set_Charmap ourselves.
* pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start
of opentype handling - most of the actually meat of the code here
is the OpenType layout code from FreeType 1 ported to freetype2
and adapted slighlty for our purposes. Also, includes a
incomplete OpenType-table-dumping code useful for figuring
out what is going on.
* pango/pangoxft.h pango/pangoxft-font.h: Add calls for
getting FT_Face and PangoOTInfo from PangoXftFont.
* modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}:
Initial support for rendering Arabic with OpenType fonts.
2000-12-18 Havoc Pennington <hp@redhat.com>
Fix build breakage, reported by Alex Larsson and Yasushi Shoji
* pango/pangox.h: don't include pango.h, just individual headers
* configure.in: check for perl, add --disable-rebuilds configure
option, automatically disable rebuilds if no perl
* pango/Makefile.am: use located perl to run makeenums.pl,
and don't try to rebuild if we did --disable-rebuilds
(EXTRA_DIST): add built headers
* modules/*/*.[hc]: don't include pango.h, include specific headers
2000-12-15 Havoc Pennington <hp@pobox.com>
* pango/pango-glyph.h: move pango_shape and pango_reorder_items in
here.
* pango/pango-break.h: move most of pango.h in here, so that
pango.h can be the only file that includes pango-enum-types.h, so
that changing any header doesn't end up rebuilding all of pango
due to a rebuild of pango-enum-types.h.
* pango/makeenums.pl: script to generate pango-enum-types.[hc]
* pango/Makefile.am (pango_headers): built pango-enum-types.h,
pango-enum-types.c that do enum type registration; add
pango-break.h; do some assorted rearranging to handle the
built headers
* pango/pango.h: moved most of it to pango-break.h
* pango/break.c: include individual headers, not pango.h
* pango/shape.c: ditto
* pango/reorder-items.c: ditto
* pango/querymodules.c: ditto
* pango/pango-layout.c: ditto
* pango/pango-indic.c: ditto
* pango/mapping.c: ditto
* pango/itemize.c: ditto
* pango/fonts.c: ditto
2000-12-15 Havoc Pennington <hp@redhat.com>
* modules/Makefile.am (install-data-local): touch
sysconfdir/pango/pango.modules even if there are no dynamic
modules, so pango won't spew warnings about pango.modules not
existing, and to simplify RPM file lists
* pango/pango-context.c (fallback_engine_shape): fix this to
avoid incrementing i twice
(fallback_shaper): fix initializer
* pango/querymodules.c (query_module): don't call g_module_close()
on a module that doesn't get opened successfully
* pango/modules.c: do not include modules.h
(init_modules): do not do the builtin modules here,
they are done by pangox
* pango/pangox.c (pango_x_get_context): register included modules
here
* pango/pangoxft-font.c: do not include modules.h
* pango/Makefile.am (libpango_la_SOURCES): move modules.c,
back in here (but not modules.h, which actually goes with
module-defs.c)
2000-12-14 Havoc Pennington <hp@redhat.com>
* pango/pango-context.c (add_engines): Use a fallback shaper if
no engine is found for a range, the fallback shaper shapes to
glyphs of 0. This is just to let other code depend on the
invariant that there's a shape engine for all characters.
* tests/all-unicode.txt: Huge file containing all Unicode
characters, for robustness testing. Not in EXTRA_DIST
for now, not sure we should torture people that way...
* pango/fonts.c (pango_font_find_shaper): remove the assert that
we found a shaper, and instead let things fall back to the fallback
shaper
Thu Dec 14 20:34:18 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft.h pango/pangoxft-font.c: (PANGO_TYPE_XFT_FONT): Add
PANGO_XFT_IS_FONT to the public header.
Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com>
* modules/indic/pango-indic-script.h: Fix macro breakage.
* modules/basic/tables-big.i: Remove extra copy of basic_ranges.
* modules/thai/thai.c: Fix various warnings.
* configure.in Makefile.am pangoxft.pc.in pango-config.in
modules/basic/Makefile.am modules/basic/basic-xft.c
pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c
pango/pangoxft.h pango/pangoxft-private.h: Initial support
for rendering via Xft and the Xrender extension.
2000-12-14 Havoc Pennington <hp@redhat.com>
* pango/fonts.c (pango_font_find_shaper): add assertion that
shaper != NULL to catch engine problems faster
* pango/Makefile.am (libpangox_la_SOURCES): modules.[hc] and
module-defs.c have to go in libpangox for now since the modules
use the X stuff, and static linkage won't let you play games here
* examples/Makefile.am (pango_viewer_LDADD): fix order of link
* modules/indic/pango-indic-script.h (pango_indic_get_char): make
this a macro, so it doesn't collide between modules
* modules/*/Makefile.am: Fix to work if the module isn't included
* examples/Makefile.am: don't query modules if we didn't build any
* modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix
* modules/indic/bengali.c (MODULE_ENTRY): fix prefix
* modules/indic/gujarati.c (MODULE_ENTRY): fix prefix
* modules/indic/devanagari.c (MODULE_ENTRY): fix prefix
* modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions
* modules/Makefile.am (MODULES): handle case where there are no
modules to query
* configure.in: Fix up include_modules stuff to work with Indic
* pango/glyphstring.c (pango_glyph_string_set_size): Just
g_error() if the glyph string exceeds maximum integer size,
instead of mysteriously crashing later.
2000-12-15 Tor Lillqvist <tml@iki.fi>
* pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest
FreeType2.
(pango_ft2_font_finalize): gcc warns about empty format strings,
so use just a space...
2000-12-11 Havoc Pennington <hp@redhat.com>
* tests/boundaries.utf8: Add some jamo and viramas and unicode
para separators and \r\n and so on, crashes the text widget nicely
2000-12-11 Elliot Lee <sopwith@redhat.com>
* modules/thai/thai.c, pango/break.c: #include <string.h>
Mon Dec 11 15:20:24 2000 Owen Taylor <otaylor@redhat.com>
* examples/HELLO.utf8: Add a tab into to Yiddish line
to force correct segmentation around the parentheses.
2000-11-30 Havoc Pennington <hp@pobox.com>
* modules/thai/thai.c: delete lang engine
* modules/tamil/tamil.c: delete lang engine
(tamil_engine_x_new): fix type tag for shape engine
* modules/indic/myanmar.c: delete lang engine
(pango_engine_x_new): fix type tag for shape engine
* modules/indic/gurmukhi.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/gujarati.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/devanagari.c: delete lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION):
delete lang engine
* modules/indic/bengali.c: delete the lang engine
(pango_indic_engine_x_new): fix type tag for shape engine
* modules/hangul/hangul.c: delete the lang engine
(hangul_engine_x_new): fix type tag for shape engine
* modules/basic/basic.c: delete the lang engine
(basic_engine_x_new): fix type tag for shape engine
* modules/basic/basic-win32.c: delete the lang engine
(basic_engine_win32_new): this was a shape engine,
use correct type tag
* modules/basic/basic-ft2.c: delete the lang engine
* modules/arabic/arabic.c: Delete the lang engine
(arabic_engine_x_new): this is a shape
engine, not a lang engine, fix type tag
* pango/pango-layout.c (pango_layout_index_to_line_x): handle
the fact that paragraph delimiters aren't in the layout lines
(pango_layout_index_to_pos): update to handle paragraph
delimiters
* pango/break.c (pango_find_paragraph_boundary): New function
to find paragraph boundaries
* pango/pango-layout.c (get_items_log_attrs): don't separate calls
to pango_break() when directional level changes
* pango/pango-layout.h (struct _PangoLayoutLine): put start index
of the line into the struct
* pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to
reflect the fact that paragraph separators are removed from the
input text.
* pango/pango-layout.c (can_break_at): don't
special-case start of line and whitespace-following-alphabetic
here, because pango_break() already handles that properly
* tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh:
Add directory for test programs, and a script to run them all
* configure.in: Create Makefile in tests
* pango/break.c (pango_break): Try for a real implementation of
the Unicode text boundary algorithms
(pango_get_log_attrs): Allow length to be -1
* pango/pango-context.c (pango_itemize): use pango_item_new(),
assert that items added to the list are sane.
* pango/pango-layout.c (pango_layout_check_lines): Reimplement
to honor the paragraph boundaries from pango_break()
* pango/pango-layout.c (process_item): use pango_item_split() here
* pango/pango-item.c (pango_item_split): New function to split an
item into two items
Fri Dec 1 11:49:50 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (get_tab_pos): Make sure that
we don't end up in an infinite loop due to zero-width
tabs. (Fix problem found by Hans Breuer)
2000-12-01 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.c (pango_get_sysconf_subdirectory): Use
g_file_test().
2000-11-30 Tor Lillqvist <tml@iki.fi>
* pango/makefile.mingw.in (DEFINES): Define PANGO_VERSION.
Changes by Hans Breuer:
* pango/pango-layout.c (shape_tab): Add a FIXME comment.
* pango/pango-markup.c (compare_xcolor_entries): Use g_strcasecmp.
* pango/pango-utils.c (pango_get_sysconf_subdirectory): Use second
fallback location if there is no pango subdir in the Windows
directory.
* pango/pangowin32-fontmap.c
(pango_win32_font_entry_get_coverage): Check if fopen succeeded.
* pango/pangowin32-private.h (DEBUGGING): Turn off.
* pango/pangowin32.c (pango_win32_unicode_classify): We can in
fact get out of the loop. Return invalid value in that case.
(subfont_has_glyph): Improve performance a bit.
* pango/querymodules.c: Small change for MSVC build.
* modules/basic/basic-win32.c (basic_engine_get_coverage):
Performance improvement.
* examples/viewer-win32.c (main): Disable double buffering on the
layout widget, but only when building with GTK+ 1.3.2 or newer.
Wed Nov 29 11:08:52 2000 Owen Taylor <otaylor@redhat.com>
* pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribidi-tables.i:
Some tiny changes to correspond to fribidi-0.15
* pango.pc.in pango-config.in pango/Makefile.am:
Move headers into separate subdir, to avoid
clashes with future versions of Pango.
2000-11-20 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Add README.win32.
* examples/pangoft2.aliases: Add this file to CVS.
* examples/Makefile.am (EXTRA_DIST): Add it here.
2000-11-21 Elliot Lee <sopwith@redhat.com>
* modules/*/*.c: Fix warnings - mostly include string.h for strcmp.
2000-11-20 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (update_run): Fix this to make iteration
over runs work properly
2000-11-19 Tor Lillqvist <tml@iki.fi>
* README.win32: New file.
* pango/fonts.c (pango_font_description_to_filename): New
function. As pango_font_description_to_string, but with result
that is better suitable as a filename: No spaces or other strange
characters, all in lowercase.
(pango_font_describe): Implement this function, call the
corresponding method.
* pango/pango-font.h: Declare pango_font_description_to_filename.
* pango/pangowin32.c (pango_win32_font_describe)
* pango/pangoft2.c (pango_ft2_font_describe): Implement these.
* pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage)
* pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
Implement file-based persistent caching of coverages.
* pango/pangoft2-private.h (struct _PangoFT2FontEntry)
* pango/pangowin32-private.h (struct _PangoWin32FontEntry): Move
struct definition here from the -fontmap files.
* pango/pango.def: Updates.
Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.13
* NEWS: Updates for 0.13
Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com>
* tools/Makefile.am (EXTRA_DIST): Add maps/tis-620
* Makefile.am (EXTRA_DIST): Added TODO.xml
* pango/Makefile.am (EXTRA_DIST): Add .def files
for Win32.
* examples/Makefile.am (EXTRA_DIST): Add a couple
of missing files.
* docs/Makefile.am (dist-hook): Add back accidentally
removed rule to distribute TEXT/*.
Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com>
* pango/glyphstring.c (pango_glyph_string_extents_range): Test
against start not zero.
Thu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com>
* docs/pango-sections.txt docs/tmpl/modules.sgml: Add
pango_module_register ().
* pango/modules.c: Make ordering of module lookup
predictable.
* pango/modules.c (pango_module_register): Add a
useful doc comment.
* pango/pango-modules.[ch]: Fix indentation.
* .cvsusers: Added
2000-11-16 Havoc Pennington <hp@redhat.com>
* pango/modules.c (handle_included_module): Declare variable j so
it compiles
2000-11-15 Elliot Lee <sopwith@redhat.com>
* pango/modules.c: Make some vars static.
Implement pango_module_register function.
* pango/pango-modules.h, pango/modules.h: Move declaration of
PangoIncludedModule to pango-modules.h for public use.
Wed Nov 15 16:56:38 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_item): Fix problem with
unbreakable words at start of line longer than line width.
Wed Nov 15 15:04:00 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_extents_internal):
Fix problem where right-aligned lines weren't getting properly
offset because width was left as -1.
Tue Nov 14 18:45:24 2000 Owen Taylor <otaylor@redhat.com>
* pango/shape.c (pango_shape): Every character must
be part of some cluster, so when we dont' have an engine
at all (pathalogical, happens now for formatting characters),
create a cluster with one glyph=0 and 0 size.
Wed Nov 15 10:50:38 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_line): Rewrite of good
portions of line-break code to be more readable, work
better, and maybe even be a little faster.
2000-11-14 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_get_item_properties): get the
value of any rise attribute
(pango_layout_run_get_extents): take rise into account
2000-11-15 Tor Lillqvist <tml@iki.fi>
* config.h.win32: Define HAVE_FRIBIDI.
* pango/pango.def: Add new functions.
* pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
Tue Nov 14 11:10:24 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_run_get_extents):
Fix low underline code to deal with run_ink == NULL.
* pango/pango-utils.c (pango_read_line): Return number
of lines read to allow decent parse errors line numbers.
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file):
Fix line number count.
* examples/pangox.aliases: Include extra international fonts
for all styles, not just roman, reindent so it looks
halfway legible.
Mon Nov 13 14:02:48 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c pango/pango-indic.c: Some doc comment
fixes.
2000-11-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_get_cursor_pos): Don't need
to check_lines, pango_layout_get_iter() will do that
(next_cluster_start): don't ever return a value past the end
of the glyph string
2000-11-13 Havoc Pennington <hp@redhat.com>
* examples/pangox.aliases: Add italic/bold variants
2000-11-13 Elliot Lee <sopwith@redhat.com>
Patches from long ago:
* pango/pango-layout.c: Make pango_layout slightly more robust.
Do check_lines before getting cursor position.
2000-11-13 Havoc Pennington <hp@redhat.com>
* docs/pango-sections.txt: Add new PangoLayoutIter entry points
* pango/glyphstring.c (pango_glyph_string_extents_range): New
function
* pango/pango-layout.c: Create PangoLayoutIter for iterating over
a layout's visual elements
* pango/pango-layout.c (pango_layout_check_lines): plug
a memleak (attr iterator not freed)
* pango/pango-tabs.c (pango_tab_array_free): plug a memleak
(array->tabs not freed)
Mon Nov 13 09:17:34 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c: Remove fribidi include.
* pango.pc.in (Requires): Substitute fribidi reference only
when necessary
* Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig
* modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h
* fonts/Makefile.am (EXTRA_DIST): Remove devnag*
* configure.in: Up version to 0.13
* docs/pango-docs.sgml: Reorganize, add all new chapters.
* docs/pango-sections.txt: Update
* docs/Makefile.am (IGNORE_HFILES): add mini-fribidi
pango-intset.h
2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* pango/pango-attributes.c, pango/pango-attributes.h: Renamed
pango_attribute_compare to pango_attribute_equal. Renamed compare
member of PangoAttrClass to equal. Renamed some static functions
from ..._compare to ..._equal.
* pango/fonts.c, pango/pango-font.h, pango/pango-context.c:
Renamed pango_font_description_compare to
pango_font_description_equal.
* docs/pango-sections.txt, docs/tmpl/fonts.sgml,
docs/tmpl/text-attributes.sgml: Changed accordingly.
2000-11-12 Havoc Pennington <hp@pobox.com>
* pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS
* modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto
* modules/basic/Makefile.am: ditto
* pango/Makefile.am: ditto
Mon Nov 13 02:55:38 2000 Robert Brady <robert@suse.co.uk>
* examples/pangox.aliases: Added
-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0, for
this comes with X.
Mon Nov 13 02:39:44 2000 Robert Brady <robert@suse.co.uk>
* pango/modules/hangul/hangul.c: Replace fallback shaper
with a call to pango_x_fallback_shape, this sets the
cluster array properly.
Sun Nov 12 18:36:38 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (included_modules): Remove checks
for iconv - we now depend on g_iconv wrapper defined
in GLib.
* modules/basic/basic.c: Use g_iconv_* not iconv().
* pango/itemize.c pango/pango-context.c modules/thai/thai.c:
Remove spurious iconv.h includes.
Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com>
* configure.in pango/pango-utils.[ch] pango/Makefile.am
pango/mini-fribidi/*: Include a stripped-down version of fribidi
to avoid the extra dependency. No fribidi symbols are
exported so conflicts with the real fribidi should not
happen. Library can optionally be compiled with the
real libfribidi.
* pango/pango-utils.[ch]: Wrappers for
fribidi_ functions when compiling with fribiid.
* modules/basic/basic-ft2.c modules/basic/basic-win32.c
modules/basic/basic.c modules/thai/thai.c pango/Makefile.am
pango/itemize.c pango/pango-context.c pango/pangoft2.c
pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi
functions.
2000-11-12 Robert Brady <robert@suse.co.uk>
* pango/pango-indic.c (pango_shift_vowels): Don't corrupt the
array.
2000-11-12 Havoc Pennington <hp@pobox.com>
* pango/pango-layout.c (pango_layout_get_text): Add accessor to
get the text from the layout
2000-11-11 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32.c (pango_win32_render): Add code to call
SetTextAlign, but commented out.
* pango/makefile.mingw.in (PANGO_OBJS): Add new objects.
* pango/pango.def: Add new functions.
2000-11-08 Robert Brady <rwb197@zepler.org>
* pango/fonts/devnag.README: Updated to point to the new fonts
* examples/HELLO.utf8: Added a few new entries.
* modules/Makefile.am, configure.in: s/devanagari/indic/
* modules/devangari: Removed.
* modules/indic: New shapers for Devanagari,
Bengali, Gurmukhi, Gujarati, and Burmese, that make use of
the below facilities.
* pango/fonts/devnag18.bdf: Removed.
* pango/docs/TEXT/ligatures: Documentation on the ligatures.
* examples/pangox.aliases: Added fonts for the new Indic renderers
to sans, serif and monospace.
* pango/pangox-fontmap.c, pango/pangox-private.h: Add a
per-PangoXFontMap cache for X Atoms.
* pango/pango-intset.c, pango/pango-intset.h: Integer set.
* pango/pangox.c, pango/pangox.h: Mainly add two new functions,
font_struct_get_ligatures, to parse X font properties for ligature
info, and pango_x_apply_ligatures, which does that actual ligation.
Also add utility functions pango_x_fallback_shaper,
pango_x_find_first_subfont.
* pango/pango-indic.c, pango/pango-indic.h: Utility functions for
Indic scripts.
* pango/Makefile.am: Add pango-intset, pango-indic.
Thu Nov 2 16:21:22 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules/arabic: new version of Arabic shaper from Karl
Koehler.
2000-11-01 Havoc Pennington <hp@redhat.com>
* pango/pango-markup.c (pango_parse_markup): Return the accel
keyval
2000-11-01 Havoc Pennington <hp@redhat.com>
* pango/pango-markup.c (text_handler): Fix bug where not all text
was appended when parsing accelerators
2000-11-01 Pablo Saratxaga <pablo@mandrakesoft.com>
* modules/thai/thai.c: added aliases for X11 font names used on
Solaris
* modules/arabic/{arabic,naqshfont}.c: changed X11 font registry from
"symbol-0" to "urdunaqsh-0"; using "symbol-0" isn't really usable;
you get almost always the bad font...
2000-11-01 Havoc Pennington <hp@pobox.com>
* pango/pango-attributes.c (pango_attr_scale_new): Add a new
attribute for scaling a font; also required adding PangoAttrFloat.
(pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling.
* pango/pango-utils.c (pango_parse_stretch): Take a plain string
not a GString
(pango_parse_weight): ditto
(pango_parse_variant): ditto
(pango_parse_style): ditto
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass
GString::str instead of the GString itself to pango_parse_*
* pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto
* pango/pangowin32-fontmap.c
(pango_win32_font_map_read_alias_file): ditto
* pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize()
signature
(pango_layout_check_lines): Raise attr list copy/creation out of
the loop over paragraphs. Adapt to pango_itemize() changes.
* pango/pango-context.c (pango_itemize): pass in a starting
index and a cached iterator
(add_engines): Easy optimization, pass in
n_chars instead of recomputing it. Also, pass on the start
index and cached iterator.
* docs/pango-sections.txt: Add new stuff
docs/pango_markup.sgml: Docs on markup format
* pango/pango-layout.c (pango_layout_get_attributes): New function
to retrieve the AttrList from a layout
(pango_layout_set_markup): Set layout from markup
(pango_layout_set_markup_with_accel): Set layout from markup
including accelerator parsing.
* pango/pango-attributes.h (pango_parse_markup): New function to
convert a tag string to an attribute list
* pango/pango-markup.c (pango_parse_markup): implement
* docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt,
docs/pango_markup.sgml: oooooh, documentation for the above patch!
* docs/tmpl/pango-unused.sgml: Remove from CVS; just causes
problems, and was full of checked-in conflict markers.
Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (pango_map_get_entry): Added docs
for the publically exported functions in this module,
even though they are really only semi-public
(for people implementing new types of #PangoFont),
not public
* pango/pango-utils.c (pango_read_line): Minor bug
tweak.
Sun Oct 29 01:27:39 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontcache.c pango/pangoft2.[ch]
pango/pangowin32.h: Fix up doc comments not to
have obvious errors that gtk-doc barfs on. Correct
parameter descriptions still need to be filled in.
* configure.in pango/docs/Makefile.am: upgrade to
have a real install rule, etc.
* pango/docs/pango-sections.txt: Add various missing
functions.
Wed Oct 25 15:39:49 2000 Tim Janik <timj@gtk.org>
* *.c: adapted g_Type_register_*() calls. GLib wants an additional
flag field to specify tape flags per node. added 0s all over the place,
making the assumption that no pango types are abstract ones.
2000-10-03 Tor Lillqvist <tml@iki.fi>
* pango/pango.def
* pango/pangoft2.def: Add new entry points.
* pango/pango-coverage.c (pango_coverage_set): Remove unnecessary
loop calling memset() with same parameters 64 times ;-)
* pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o.
Some small changes that have been laying around on my disk. The
Win32 and FT2 backends aren't "production quality" yet. For
speedup, need to cache at least the coverage info.
* pango/pangoft2.c (pango_ft2_get_coverage): New function.
* modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to
be unique.
* modules/basic/basic-ft2.c: Add comments explaining what Unicode
ranges the table entries covers. Use "BasicScriptEngineLangFT2" to
be unique.
(basic_engine_get_coverage): Test calling
pango_ft2_get_coverage().
(basic_engine_ft2_new): Set corect engine type. Not that this
apparently is used for anything, the X11 basic shaper module also
sets its type as TYPE_LANG.
* examples/viewer-ft2.c (split_paragraphs): Just end the string
upon encountering an invalid character. Don't return.
2000-09-29 Martin Baulig <baulig@suse.de>
* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
this is the directory where pkg-config actually looks.
* *.pc.in: Made the pkg-config scripts actually work.
2000-09-28 Havoc Pennington <hp@pobox.com>
* pango/pango-tabs.c (pango_tab_array_new_with_positions): was
pango_tab_array_new_with_defaults; apparently I didn't check in
the modified version at work
2000-09-27 Havoc Pennington <hp@redhat.com>
* pango/pango-tabs.c (pango_tab_array_get_tabs): Change to return
allocated array.
2000-09-25 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c: Add a tab array field to PangoLayout,
and use it when laying out the text (if it's set, otherwise
use default tabs-are-8-spaces thing)
* pango/pango-tabs.c, pango/pango-tabs.h: tab-related data types
Sun Sep 10 03:01:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_attributes): Fix
bug where wrong attribute list was unreferenced.
* pango/pango-attributes.[ch]: Add function
pango_attr_list_splice() to splice contents of one
attribute list into another attribute list.
* pango/pango-utils.h: Add include of pango-font.h since
it now depends on declarations from there.
2000-09-08 Jonathan Blandford <jrb@redhat.com>
* pango/pango-attributes.c (pango_attr_list_change): Minor fixes
to Owen's patch below to make it work.
* pango/pango-attributes.c (pango_attribute_copy): Copy the
start_index/end_index explicitly rather then rely on the copy
function doing it for you, as none did so.
Thu Sep 7 05:12:09 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.c (pango_attr_list_change): Fix up to
match the docs, correct bugs found by Jonathan Blandford.
2000-09-04 Robert W Brady <robert@susu.org.uk>
* modules/basic/tables-big.i: Use iso10646-1 fonts
for Georgian, Ethiopic, Cherokee, Canadian, Ogham,
Runic.
Thu Aug 31 11:29:33 2000 Owen Taylor <otaylor@redhat.com>
* tools/maps/tis-620: Check in this file, since it
isn't from the Unicode consortium.
Wed Aug 30 21:42:42 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (QTDIR): Add /usr/lib/qt-2.2.0 to the
list.
* modules/basic/tables-big.i: Updated using fixed
make-table.sh. Added koi8-r and iso8859-1
* modules/basic/tables-small.i: Add note noting
non-maintainence.
* tools/make-table.sh: Fix for mapping tables with
3 columns provided by KUSANO Takayuki.
2000-08-29 Elliot Lee <sopwith@redhat.com>
* pango/pango-context.h, pango/pango-font.h,
pango/pango-fontmap.h, pango/pango-layout.h: Utilize G_GNUC_CONST
Mon Aug 21 22:02:38 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (load_font): Don't produce a warning
unless loading all fonts fails, if loading all fonts fails,
try with "Sans [style]", if that fails, try with "Sans",
if that fails, exit - we are completely screwed.
* pango/pangox-fontmap.c (pango_x_font_map_load_font): Equate
PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC, but with a big
penalty.
2000-08-21 Tor Lillqvist <tml@iki.fi>
* pango/pangoft2-fontmap.c: Get font directory path with
pango_config_key_get("PangoFT2/FontPath"). If no such key exists
in the pangorc file, use the ft2fonts subdirectory of
LIBDIR/pango, and on Windows, also %WinDir%\fonts.
* pango/{pango,pangoft2,pangowin32}.rc.in: New files (resource
files used when building Win32 DLLs, contain version information).
* pango/Makefile.am: Add the new files.
* configure.in: Define major and minor version numbers separately.
Output also the makefile.mingw and *.rc files.
* pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono
glyphs.
* pango/pangoft2*: Portability enhancements (non-gcc).
Sun Aug 20 13:45:08 2000 Owen Taylor <otaylor@redhat.com>
* TODO.xml TODO: Move most all of the TODO items here to the XML file.
This needs to be built using the Python script gtk+/docs/make-todo.
2000-08-20 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.c (pango_parse_*): Add parameter telling
whether to print warning or not if string isn't recognised. Use
g_strncasecmp().
* pango/pango-utils.h: Change prototype accordingly.
* pango/pangox-fontmap.c
* pango/pangowin32-fontmap.c: Change calls correspondingly.
* pango/pangowin32.h:
* pango/pangowin32.c: Cosmetic changes, dead code removal.
* pango/pangoft2.h
* pango/pangoft2-private.h
* pango/pangoft2.c
* pango/pangoft2-fontmap.c
* pango/pangoft2-fontcache.c: New files implementing a FreeType2
backend. Used only on Win32 so far, but doesn't contain
Win32-specific code per se, so if somebody wants to try it out on
X11, too, be my guest.
It works, more or less, but there are some details still to sort
out. Performance needs to be improved. Debugging printouts still
present. Font path currently hardcoded to C:\windows\fonts, heh.
Owen says he doesn't think it's a good idea to use ths on Win32,
but I'll try anyway. If it turns out using the native Win32 GDI
backend is better after all, oh well.
* pango/makefile.mingw: Delete. Move contents to
makefile.mingw.in.
* pango/makefile.mingw.in: New file. Add rules for
FreeType2 backend. Add FreeType2 CFLAGS and LIBS.
* pango/Makefile.am: Generate makefile.mingw.
(EXTRA_DIST): Add FreeType2 backend sources, and
makefile.mingw{,.in}
* pango/module-defs.c.win32
* pango/pangoft2.def: New files.
* modules/engine.def: Delete. Was duplicate of module.def.
* modules/basic/basic-win32.c: Couple of cosmetic changes.
* modules/basic/Makefile.am: Generate makefile.mingw.
(EXTRA_DIST): Add basic-ft2.c, and makefile.mingw{,.in}
* modules/basic/makefile.mingw: Delete. Move contents to
makefile.mingw.in.
* modules/basic/makefile.mingw.in: New file. Add rule for
basic-ft2. Add FreeType2 CFLAGS and LIBS.
* examples/viewer-win32.c: Replace division or multiplication with
1000 (which was the old PANGO_SCALE value) to use PANGO_SCALE and
PANGO_PIXELS instead.
(read_file): Fix error messages.
(draw): Get HDC from GDK once for all paragraphs.
* examples/viewer-win32.c:
* examples/viewer-ft2.c: New file. The FT_Bitmap (256-level
bitmap) produced by the FreeType2 backend is copied to the
GtkLayout window using gdk_draw_gray_image from GdkRGB (!). Yes,
this is kinda circular dependency between Pango and GTK+.
* examples/makefile.mingw: Delete. Move contents to
makefile.mingw.in.
* examples/makefile.mingw.in: New file. Add rules for
viewer-ft2. Add FreeType2 CFLAGS and LIBS.
* examples/Makefile.am: Generate makefile.mingw.
(EXTRA_DIST): Add viewer-win32.c and viewer-ft2.c, and
makefile.mingw{,.in}
2000-08-11 Havoc Pennington <hp@redhat.com>
* pangox.pc.in (Cflags): remove /usr/include
* pango.pc.in (Cflags): remove /usr/include
2000-08-08 Elliot Lee <sopwith@redhat.com>
* modules/arabic/arabic.c: #include <string.h>
* pango/modules.c: Fix incorrect list rearrangement.
* pango/pango-layout.c (pango_layout_line_x_to_index): Pay
attention to shape attributes
(not perfect since the layout of chars inside a shape is
unknown, but gives start index).
2000-08-07 Elliot Lee <sopwith@redhat.com>
* pango/modules.c: If the first pango_skip_space fails, remember
to free enginepair before continuing.
* pango/pango-layout.c (pango_layout_set_attributes): unref old
attr list after reffing new one.
* pango/pango-attributes.c (pango_attr_list_insert_internal):
Proper fix from Owen for the infinite loop.
2000-08-03 Elliot Lee <sopwith@redhat.com>
* pango/modules.c: Fix segfault when tmp_list has no 'prev' pointer.
* pango/pango-attributes.c (pango_attr_list_insert_internal):
Infinite loops do not fast programs make.
* pango/pango-context.c: Set a default font size so that things
don't go boom if someone forgets to set it themselves.
* pango/pango-layout.c (pango_layout_index_to_pos): Exclude
newlines from consideration.
(pango_layout_line_index_to_x): Take shape attributes into
consideration when determining position.
Wed Aug 2 12:00:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_extents):
Fix problem with the way extents for the layout lines
were summed together in the vertical direction.
Sat Jul 29 21:26:30 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.[ch] (ViewerWindow): Remove
hardcoded path to my home directory! Allow specifying
the file on the command line.
* pango/modules.c (process_module_file): Fix bug in
parsing of range strings.
2000-07-31 Havoc Pennington <hp@redhat.com>
* pango.pc.in, pangox.pc.in: pkg-config info files
* Makefile.am: dist/install .pc files
* configure.in: output .pc files
2000-07-28 Martin Baulig <baulig@suse.de>
* pango/pango-layout.c (pango_layout_finalize): Destroy
the layout->font_desc to avoid a memory leak.
2000-07-27 Tor Lillqvist <tml@iki.fi>
* pango/pango.def
* pango/pangowin32.def: New files, forgot to commit earlier.
Sat Jul 22 10:52:06 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c: include <stdlib.h>
* configure.in: s/FRIBID_CONFIG/FRIBIDI_CONFIG/.
Fri Jul 21 15:17:26 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (pango_itemize): A bit of code
cleanup.
* pango/pango-attributes.[ch]: Add a new attribute type
PangoAttrShape, for imposing specific shapes on glyphs.
This is used for handling embedded pixmaps and similar
objects.
* pango/pango-layout.c: Hnadle PangoAttrShape.
* pango/pango-context.[ch]:
Fri Jul 21 09:59:10 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (process_module_file): Free buffer strings.
* pango/pangox-fontmap.c (pango_x_real_get_coverage_win): Add
caching of coverage maps on a persistant subwindow of the
root window. This window contains a property for
each "lang|xlfd,xlfd" which is the result of pango_coverage_to_bytes.
* pango/pango-context.c (pango_context_finalize): Free
the font description.
* pango/pango-coverage.c (pango_coverage_to/from_bytes): Added
functions to covert a PangoCoverage structure too and
from a flat block of bytes.
* configure.in (X_LIBS): Add a check to detect fribidi being
compiled against glib-1.2.x.
2000-07-20 Tor Lillqvist <tml@iki.fi>
* examples/pangowin32.aliases: Add some more fonts. Document where
to get the fonts.
* pango/pangowin32.c (subfont_has_glyph): Use 0xFFFE to produce
the default glyph.
(create_bitmap_dibsection): Zero out the bitmap.
* pango/pangowin32-fontmap.c (pango_win32_guess_subranges): Set
some additional Unicode subranges for fonts that claim covering
the Vietnamese codepage.
2000-07-19 Tor Lillqvist <tml@iki.fi>
* configure.in: Don't try to use the ! command, not available in all
systems. Move the ! inside the test instead.
* pango-config.in: Change order of --cflags output, so that we can
build with both GLib 1.2 and 1.3 installed.
* modules/devanagari/dev-ligatures.h: No C++ comments, thanks.
* pango/break.c: Fix gccism, non-constant initailiser.
* pango/pango-fontmap.c (pango_font_map_list_fonts,
pango_font_map_list_families): Don't return value from void
functions.
* pango/pango-utils.c: Must have at least empty statement after
a label.
* examples/pangowin32.aliases: Add Tahoma and Angsana New, these
common fonts have Thai characters.
* pango/pangowin32-private.h: Rename fonts and n_fonts members
to logfonts and n_logfonts, as that is what they are.
* pango/pangowin32.c: Bug fixes. Works much better now.
(pango_win32_font_get_glyph_extents): Set y offset correctly.
(subfont_has_glyph): Call SetTextAlign. Select the font into the
HDC before calling GetTextMetrics.
2000-07-18 Tor Lillqvist <tml@iki.fi>
* pango/Makefile.am (EXTRA_DIST): Add the pangowin32 sources.
* pango/pangox.c (lang_texts): Add some non-ASCII to the
Finnish and Swedish strings.
* modules/module.def: New file.
* modules/Makefile.am (EXTRA_DIST): Add it.
* modules/basic/Makefile.am (EXTRA_DIST): Add basic-win32.c.
* */makefile.mingw: Small updates.
* pango/pangowin32.c
* pango/pangowin32-fontmap.c
* modules/basic/basic-win32.c
* examples/viewer-win32.c: Bug fixes. Remove dead code.
Now the Win32 implementation seems to work, except
for a few glitches.
2000-07-16 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.h
* pango/pango-utils.c
* pango/pangox-fontmap.c
* pango/pangowin32-fontmap.c: Move the get_{style,variant,
weight,stretch} functions to pango-utils.c, and rename
them to pango_parse_*. Would otherwise be duplicated in
pangox and angowin32.
* pango/pango.def: Export them.
* pango/pango-font.h: Add PANGO_WEIGHT_ULTRALIGHT,
PANGO_WEIGHT_LIGHT, PANGO_WEIGHT_EXTRABOLD and PANGO_WEIGHT_HEAVY
values to PangoWeight.
* pango/pango-utils.c: Recognize the new weight strings.
* pango/pangowin32.c (pango_win32_list_subfonts): Don't g_free the
subfont_list from the subfonts_by_subrange hash table...
* pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file):
Also set the other properties in the LOGFONT, not only the face name.
(pango_win32_insert_font): Insert a pointer to a freshly allocated
LOGFONT in the hash table, not the one passed in as a parameter,
which could be (and in fact, *is*) a pointer to an auto
variable. Quantize the description weight values to exact
PANGO_WEIGHT_* values.
(pango_win32_get_unknown_glyph): Use subfont 1.
* examples/viewer-win32.c: (split_paragraphs): Don't include the
newline.
(draw): Correct 1st parameter to gdk_win32_hdc_{get,release}.
2000-07-15 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32.h
* pango/pangowin32-private.h
* pango/pangowin32-fontcache.c
* pango/pangowin32-fontmap.c
* pango/makefile.mingw
* modules/basic/basic-win32.c
* modules/basic/makefile.mingw
* examples/viewer-win32.c
* examples/makefile.mingw
* examples/pangowin32.aliases: New files. Start of a Win32
implementation. Does not work yet.
* configure.in: Chek for dirent.h and unistd.h.
* pango/pango-utils.h
* pango/pango-utils.c (pango_get_sysconf_subdirectory,
pango_get_lib_subdirectory): New functions, for better
portability, to enable installation-time choice of directory (on
Windows) instead of compile-time. Use these instead of SYSCONFDIR
"/pango" and LIBDIR "/pango".
(pango_split_file_list): Fix comment, the function splits on
searchpath separators, not commas. Use G_SEARCHPATH_SEPARATOR_S
for portability. Don't try to expand '~' as home directory on
Windows.
(read_config): Use pango_get_sysconf_subdirectory().
* pango/modules.c (read_modules): Use pango_get_sysconf_subdirectory().
Don't crash if a module file cannot be opened.
* pango/querymodules.c: Include config.h Conditionalize inclusion
of dirent.h and unistd.h. Use platform-specific shared library
extension. Use pango_get_lib_subdirectory().
Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.12
* examples/pangox.aliases: Add clealyu fonts
* configure.in: Use AM_PATH_GLIB_2_0()
* pango-config.in: Use @FRIBIDI_LIBS@, not -lfribidi
* pango-config.in: Fix accidental inclusion
-I lib/glib/include/
Mon Jul 10 10:42:42 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c (pango_split_file_list): Fix
bug in home directory substitution.
2000-07-06 Havoc Pennington <hp@redhat.com>
* pango/break.c (pango_get_log_attrs): Implement this function, to
get logical attributes without a PangoAnalysis.
(pango_break): Fix bug in word stop location
Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com>
* gdk/Makefile.am: Fix missing \ which was causing
srcdir != builddir builds to fail.
Thu Jul 6 15:16:28 2000 Owen Taylor <otaylor@redhat.com>
* docs/pango-sections.txt docs/tmpl/*: Update
2000-07-03 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.c (pango_layout_index_to_pos): Handle the
case where the byte offset is outside the layout.
Sun Jul 2 18:06:01 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (get_tab_pos): Fix up set_font_description()
for tab spaces.
Sun Jul 2 17:59:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch] (pango_attr_list_insert_before): New
function that inserts before other attributes with matching
start index.
* pango/pango-layout.[ch] (pango_layout_set_font_description): Add
the ability to set a default font description on the layout, overriding
the font description from the context.
Sun Jul 2 17:19:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h: Add a PANGO_PIXELS macro to convert
from pango units to device units and round.
* pango/pango-layout.[ch]: Add convenience functions
pango_layout_get_pixel_extents, pango_layout_get_size,
pango_layout_get_pixel_size pango_layout_line_get_pixel_extents.
Fri Jun 30 16:46:31 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.[ch] Makefile.am: A bunch of simple functions
for reading from files, manipulating strings as necessary for
config files. Also, a simple gnome-config/win.ini style
config file reader.
* pango/modules.c: Remove DOTFILES stuff. Instead, read names
of modules file from pangorc. (Which can be set from PANGO_RC_FILE).
Rewrite parsing code using pango-utils.c.
* pango/pangox-fontmap.c: Read list of files from
PangoX/AliasFiles key. Rewrite parsing code for alias files using
pango-utils.c.
* examples/pangox.aliases: Move to new name from pangox_aliases,
reformat using new parsing code.
* examples/pangorc (AliasFiles) examples/pango-viewer: Add a
pangorc file for in-place testing.
* pango/querymodules.c (main): Add comment to the top of
the output indicating that the file should not be hand-edited.
Thu Jun 29 18:13:47 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-coverage.c: Fix various aspects of expanding
coverage tables beyond the first 256 blocks. (Based on
patch from ChiDeok Hwang.)
Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/{*.c,Makefile.am}: New version from Karl
Koehler merged with the changes for the GLib unicode functions.
Wed Jun 21 12:11:56 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove tests for libunicode
* pango/utils.[ch]: Removed. The functions from here are now in
GLib.
* **.[ch]: Removed use of libunicode and utils.c in favor of
Unicode functions in GLib. Requires latest GLib from CVS.
2000-06-14 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_list_copy): Function to
copy the attribute list.
2000-06-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.h: Convert PangoLayout to GObject
* pango/pango-context.h: Convert to PangoContext to GObject
2000-06-11 Elliot Lee <sopwith@redhat.com>
* pango/fonts.c (pango_font_description_compare): g_strcasecmp
returns 0 when strings are equal - negate return value.
2000-06-09 Elliot Lee <sopwith@redhat.com>
* pango/pango-coverage.[ch]: Return 'coverage' from
pango_coverage_ref.
2000-06-08 Elliot Lee <sopwith@redhat.com>
* modules/Makefile.am: Add DOTMODULESDIR define to make it easier
to change location of .modules files.
* pango/modules.c: Likewise. Also scan the config directory for
multiple config files instead of pango.modules. Also fclose()
opened files.
Thu Jun 8 14:43:35 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-modules.h: pango/Makefile.am: Add a new
header pango-modules.h to export a few parts of the
modules API needed by code for new types of fonts.
2000-06-08 Elliot Lee <sopwith@redhat.com>
* pango-config.in: Include X_LIBS in libraries for 'pangox' target.
2000-06-07 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_iterator_copy): New
function to copy a PangoAttrIterator.
Mon Jun 5 20:45:12 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c (pango_x_shutdown_display): Add
a function to free cached information for a particular
display. (This is basically pango_x_fontmap_destroy())
* pango/pangox.c pango/pangox-private.h pango/pangox-fontmap.c:
Make a XFont always keep a pointer to (and ref) a fontmap.
Mon Jun 5 15:56:25 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c (pango_x_font_map_for_display): Remove
excessive ref.
* pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix
problem with unloading fonts.
* pango/pangox-fontmap.c pango/pangox-private.h pangox/pangox.c:
Add a simple cache for PangoXFonts; get rid of the eternal caching of
all fonts.
Wed May 31 16:11:46 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-fontmap.h (struct _PangoFontMapClass): Remove unused
destroy vfunc.
Sat Jun 3 06:01:38 Pablo Saratxaga <pablo@mandrakesoft.com>
* modules/thai/thai.c: added other common X11 font encoding
names fortis-620 fonts.
Thu Jun 1 13:04:06 CEST 2000 Paolo Molaro <lupus@debian.org>
* configure.in: look for qt also in /usr/lib/qt2.
Wed May 31 10:46:53 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Release 0.11
* pango.spec.in: Add missing make command.
* modules/basic/Makefile.am (EXTRA_DIST): Fix up extra-dist.
* pango/Makefile.am (libpangox_la_SOURCES): Add pangox-private.h
Tue May 30 14:30:24 2000 Owen Taylor <otaylor@redhat.com>
* pango/fonts.c (pango_font_description_from_string): Use g_strtod().
* pango/fonts.c (pango_font_description_to_string): Fix bug
where spaces where not properly inserted into font description
string.
* pango/fonts.c (pango_font_get_glyph_extents): Fix some
1000 <=> PANGO_SCALE bugs.
* pango/pangox-fontcache.c (pango_x_font_cache_load): Fix list
manipulation bug.
Mon May 29 13:22:36 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New
function to retrieve the XLFD for a given subfont.
Mon May 29 11:14:34 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug
in MRU list code.
* pango/pango-layout.c (pango_layout_check_lines): Fix infinite
loop in the case where the first item doesn't fit, but
whitespace follows that must go onto the same line.
* examples/viewer-qt.h: Minor changes so it compiles with
Qt-2.0. (Though the utf8 codec in Qt-2.0 seems to be slightly
buggy.)
Sun May 28 16:24:43 2000 Owen Taylor <otaylor@redhat.com>
* examples/Makefile.am examples/viewer-qt.cc
examples/viewer-qt.h: Since we require GLib-1.3,
and thus can no longer build the examples against
GTK+-1.2, and since there is a nasty circular dependency
if we build examples against GTK+-1.3, rewrite
(optional) example program in Qt. (I wasn't going
to do it in Xaw or straight Xlib...)
* configure.in: Added checks for Qt.
* pango/pango-layout.h: Fix constness.
Sat May 27 22:05:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (pangoinclude_HEADERS): Install
pango-fontmap.h.
* pango/pangox-fontcache.c pango/pangox.h: Add a simple
cache from XLFD => font struct.
* pango/pango-fontmap.c: Use this when loading and unloading
fonts.
Sat May 27 21:57:03 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (pango_context_add_font_map):
Ref font map.
Sat May 27 21:06:13 2000 Owen Taylor <otaylor@redhat.com>
* modules/thai/thai.c modules/basic/basic:
s/pango_font_set_data/g_object_set_qdata/
* pango/*.c: s/pango_font_[un]ref/g_object_un[ref]
* pango/pango-font.h fonts.c: GObject'ify PangoFont.
Sat May 27 20:36:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am configure.in: Add libgobject.
* pango/pango-fontmap.[ch]: GObject'ify PangoFontMap.
(Pango now requires GLib-1.3 to compile)
* pango/pangox-fontmap.c pango/pangox-private.h: Break
the fontmap code in libpangox out into a separate file.
Tue May 23 10:32:25 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Allow -1 for
the length.
2000-05-24 Matt Wilson <msw@redhat.com>
* modules/basic/basic.c (conv_8bit): use size_t for arguments to
iconv, not int. Fixes 64 bit platforms.
* modules/basic/basic.c (conv_euc): likewise
Mon May 22 18:19:32 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (process_item): Fix <, <= confusion.
Thu May 18 17:30:00 2000 Robert Brady <rwb197@zepler.org>
* fonts/devnag18.bdf: Fix advance widths of some glyphs.
Tue May 9 22:09:42 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h (PANGO_SCALE): Change PANGO_SCALE
from 1000 to 1024. Wee! Optimization! Actual performance
increase is ~1-2% probably not worth keeping it 1024,
but I'll leave it this way for a little bit.
* pango/pango-layout.c (pango_layout_unref): Free the
actual layout structure as well.
* pango/pangox.c: Various optimizations of the code for
looking up characters. (mark a few functions inline,
precompute signficiant quantities)
Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix
memory leak by freeing correct list.
* pango/pango-context.c (pango_context_get_font_description):
Change to return a pointer to the context's font description
instead of a copy. Not quite 100% kosher but a lot
more efficient than the previous. (Should we just refcount
font descriptions and get it over with?)
Mon May 8 16:39:48 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (free_run): Call pango_item_free
to free items properly including attributes.
Mon May 8 16:19:22 2000 Owen Taylor <otaylor@redhat.com>
* modules/thai/* modules/Makefile.am configure.in:
Add a simple Thai shaper. (Reasonably complete but
intended mostly for an example for the shape docs
right now.)
* pango/pangox.h (PANGO_X_GLYPH_INDEX): Protect
arguments to macros.
Sun May 7 06:15:34 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c (basic_engine_shape): When
handling overstrikes, try to guess a bit better
how overstrike glyphs are positioned in the font.
(Now works with more of glyphs from clearlyu, though
not the Hebrew accents in that font)
* examples/HELLO.utf8: Insert tab characters to
keep the columns in the right order for either
global direction. Insert left-to-right marks in
a few places to keep leading and trailing punctuation
in the right place.
* modules/basic/basic.c (basic_engine_shape): Don't
show RLM and LRM
* pango/glyphstring.c (pango_glyph_string_extents): Use
the logical width set in the glyph string rather than
that from the font's metrics.
* pango/pangox.c (pango_x_render): Treat glyph index
0 as special - representing invisible, 0 size
character. We need this sometimes, and it is
easier and faster to have this special case
than to shape a space.
* pango/pango-context.c (pango_itemize): Put
tabs into separate items. (Sort of lame hack,
we do this to make line breaking with tab
handling simpler)
* examples/viewer.c (checkbutton_toggled): Notify
all the layouts that the context has changed so
the RTL base dir change actually takes effect.
Fri May 5 18:56:45 2000 Owen Taylor <otaylor@redhat.com>
* pango/break.c (pango_break): Add ZWS to hacky
break algorithm.
* modules/basic/basic.c (basic_engine_shape): Special
case zero-width-space as a temporary hack. (What's the
right solution?)
* modules/basic/tables-big.i: Added support for TIS-620
encoding.
* configure.in pango/modules.[ch] pango/Makefile.am
modules/**: First stab at support for linking modules
directly into Pango. Add a --with-included-modules=
flag that causes the specified modules to be built
as convenience libraries and linked directly into
libpangox.
Tue May 2 22:59:52 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c: Get rid of link list of masks
in cache structure in favor of an array. (This is
easy to do now since we already have linear indices
for the masks from the new table format.)
* pango/modules.c pango/pango-context.c pango/pangox.c:
Modify _pango_find_map() to take quarks for the
engine type and render type instead of strings.
Get rid of the map hash table in favor of a GList
with the most recently used map at the beginning.
* pango/modules.[ch] pango/pango-context.c pango/pangox.c:
Add some utility functions for getting the engine
for a particular character in a map. Using modules.c
knowledge of map structure, this allows us to save
a bunch of useless strcmps.
* pango/pango-context.c (add_engines): Remove unused
lookup of shape mask.
* modules/basic/tables-{small,big}.i modules/basic/basic.c
tools/compress-table.pl: Reencode mask table to avoid binary
searches and save a bit of space.
* modules/basic/basic.c (find_converter): Get rid
of gratuitous use of hash tables for looking up
iconv converters.
* modules/basic/tables-{small,big}.i modules/basic/basic.c:
Use conv_ucs4 instead of conv_8bit for latin-1.
* pango/pango-layout.c: Avoid calling pango_glyph_string_extents() -
just add up the widths from shaping.
Tue May 2 19:16:17 PDT 2000 Manish Singh <yosh@gimp.org>
* examples/Makefile.am: typo fix
Mon May 1 15:04:02 PDT 2000 Manish Singh <yosh@gimp.org>
* configure.in: add support for fribidi-config (needs fribidi v0.1.10
or higher). Also actually use the FOO_CONFIG variable filled by
AC_PATH_PROG for --cflags and --libs.
* examples/Makefile.am
* pango/Makefile.am: use $(FRIBIDI_LIBS)
Mon May 1 11:58:55 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/*: Misc bug fixes from Karl Koehler.
Wed Apr 26 19:55:40 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Add checks looking for iconv in libiconv.
(Thanks to Ross Campbell for helping me test this
out.)
Mon Apr 24 22:51:06 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Released 0.10
* modules/arabic/*: Update from Karl Koehler, including
support for LangBox fonts
Mon Apr 24 20:28:31 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Updates for recent API changes.
Mon Apr 24 18:09:29 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_get_empty_extents): Come
up with a reasonable guess for metrics for empty lines based
on the font metrics.
* modules/devanagari/devanagari.c (devanagari_engine_shape): A couple
of trivial fixups to make things compile.
Sun Apr 23 23:33:10 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_move_cursor_visually): New
function for visual (left-right, not forward-back) cursor
navigation within a layout.
Thu Apr 20 22:16:39 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_line_x_to_index): As a hack,
for x-positions at the edge of a line, fudge the position to be
one before the line end (which is, for programs that don't properly
handle the trailing flag), instead of at the end of the line.
This works fine for whitespace-broken languages, but won't work
right for languages that don't use whitespace to break lines.
(GtkText* needs to keep track of whether a cursor is trailing
or not)
* pango/pango-layout.c (pango_layout_check_lines): Prohibit breaking
a line at a non-whitespace -> space transition. (So that we
never put wrap single character of whitespace at the beginning of
a line)
* pango/break.c (pango_break): Always allow a break before
the first char.
* pango/pango-layout.c (pango_layout_line_x_to_index): Remove the return
value from the function, make it return the appropriate index
depending on the base direction of the layoutt.
Fri Apr 7 03:08:09 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (UNICODE_LIBS): Add back in flockfile
check which was accidentally removed.
2000-04-21 Robert Brady <rwb197@zepler.org>
* modules/devanagari/dev-ligatures.h: Add some more ligature
mappings.
* modules/devanagari.c: New version, now syllable-based, with
proper RA handling.
Mon Apr 17 12:04:20 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.[ch]: Add a function pango_layout_line_get_x_ranges(),
to allow handling selections not as attributes. Which is necessary,
since currently setting the background/foreground results in
splitting shaped runs.
Fri Apr 14 13:20:05 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix bug with
indent handling.
* pango/pango-layout.c (process_item): Never break a line at
a non-break position, even if that position ends an item.
Fri Apr 14 10:43:09 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c (pango_x_render_layout_line): Fix a missing
PANGO_SCALE factor for UNDERLINE_SINGLE.
* pango/pango-layout.c (pango_layout_get_cursor_pos): New function
to determine cursor positions corresponding to a particular
index.
Wed Apr 12 15:44:22 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add PANGO_ATTR_FONT_DESC, which
allows an entire font description to be specified as a single
attribute, instead of as 6 separate attributes.
Wed Apr 12 13:59:22 2000 Owen Taylor <otaylor@redhat.com>
* configure.in modules/Makefile.am modules/devanagari/*: Added Devanagari
shaper from Robert Brady <rwb197@zepler.org>
* examples/HELLO.utf8: Added Hindi from Emacs
* examples/dev-example.utf: Some syllable strings for testing
the Devanagari shaper.
* examples/pangox_aliases: Added
-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev
* fonts/devnag18.bdf fonts/devnag.README: Devanagari font
from http://crl.NMSU.Edu/~mleisher/devnag.html currently
required for operation of the devanagari shaper.
Tue Apr 4 22:03:42 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Released 0.9
* modules/arabic/arabic.c (find_unic_font): Keep on
searching past the first iso-10646 font if the first
font doesn't have the required ligatures.
Tue Apr 4 20:56:29 2000 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/* docs/Makefile.am docs/pango-sections.txt
pango/pango-attributes.c pango/pangox.c: Doc updates.
Tue Apr 4 20:13:06 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.h: Add user data to PangoContext
* pango/pangox.[ch] examples/viewer.c: Rework system for create GC's
so that the necessary information is stored on the PangoContext
instead of being passed to layout_render()
* pango/utils.[ch] pango/pango-context.c: fribidi-0.1.9
wants UCS-4 not UCS2; switch accordingly.
* pango/fonts.c pango/pango-font.h pango/pangox.c: Add functions
to get overall font metrics, possibly per-language. (Right now,
just font ascent, descent.) The implementation of this for
X is horribly complex.
Mon Apr 3 20:30:20 2000 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index): Fix handling
of positions at character limits.
* modules/basic/basic.c (basic_engine_shape): Fix bug that
was causing mirrored characters not to mirror.
Mon Apr 3 15:16:06 2000 Owen Taylor <otaylor@redhat.com>
* pango/glyphstring.c (pango_glyph_string_get_logical_widths):
Fix off-by-one error for RTL runs.
* configure.in: Add -lglib to AC_CHECK_LIB(fribidi...)
(How did this work?) From Matt Wilson.
* pango/pango-layout.c (pango_layout_check_lines): Correctly deal
with handling character offsets when breaking lines.
* modules/arabic/arabic.c (arabic_engine_shape): Fix problem with
setting unknown glyph when no arabic-capable font found.
Fri Mar 31 11:29:47 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.[ch] (pango_x_render_layout[_line]) examples/viewer.c: Add
capability to render foreground / background colors. The interfaces
here are possibly certainly not right, or convenient, but
they should be a start.
Thu Mar 30 17:06:39 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/*.[ch]: New version of Arabic module
from Karl Koehler, supporting:
- More extensive ligatures
- Some Hamza handling
- Vowel marks
- mule-arabic font
- LangBox font
- Persian (farsi) (needs testing)
Thu Mar 30 16:49:06 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c pango/utils.c (find_converter): Use
"UTF-8" with the dash as the charset name for utf-8.
(Change suggested by Adrian Havill <havill@turbolinux.co.jp>)
* pango/pango-layout.[ch]: Add function to get logical attributes
of the text string.
Mon Mar 13 11:47:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c pango/pangox.c (pango_x_render_layout): Handle right
alignment for width == -1, align within total width of layout.
Mon Mar 13 10:54:48 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-item.[ch]: Memory management functions for PangoItem.
* pango/*.[ch]: Random constification.
* pango/pangox.c pango/pango-layout.c pango/pango-context.c:
Add an extra_attrs field to PangoItem. Use this to handle underlining
for PangoLayout.
* examples/viewer.c (reload_font): Make paragraphs global
to save the complexity of passing it around all over the place.
* pango/pango-layout.[ch] (pango_layout_context_changed): Add
a function to reset the layout on changes to the layout's
context.
* pango/pangox.c (pango_x_make_matching_xlfd): Prefer bitmap
to scaleable if the discrepancy is < 1 pixel. (Probably not
the ideal criterion.)
* pango/pangox.c (pango_x_font_map_for_display): Fix resolution
computation error.
* pango/pango-layout.c (pango_layout_check_lines): Handle
text with embedded newlines.
* pango/pangox.c (pango_x_render_layout): Fix y to refer
to the top of the layout, not the baseline of the first
line.
* pango/pango-layout.c (process_item): Don't wrap if width is
set to -1.
* Makefile.am configure.in **/*.[ch]: move libpango/ directory
and fix all headers to install under include/pango/
Thu Mar 9 19:55:21 2000 Owen Taylor <otaylor@redhat.com>
* Release pango-0.8
* docs/TEXT/coding-style: Added some notes about coding style
within Pango.
* modules/*.[ch]: New version from Karl Koehler adding support
for vowels marks, better ligatures.
* docs/tmpl/*: Doc updates
* libpango/pango-layout.[ch] libpango/pangox/.[ch]: Add functions
for handling paragraphs as 2-D objects, not simple lists of lines,
to make things easier for people using pango-layout.
* examples/viewer.c: Simplify using the now 2-D layout-capabable
PangoLayout.
* libpango/fonts.c (pango_font_{get_coverage,find_shaper}): Allow
NULL language tag.
* libpango/modules.c (_pango_find_map): Fix for allowing
NULL language tag.
Wed Mar 8 13:34:57 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-layout.[ch]: First draft of highlevel
driver. It currently only handles a paragraph as a list
of lines, but it is probably necessary to make it handle
2D layout for a paragraph as well
* examples/viewer.c: Move over to new layout driver
(much of the code moved into pango-layout.c)
* libpango/glyphs.c libpango/pango-glyphs.h: Fixes to get_extents(),
add pango_glyph_string_get_logical_widths.
* libpango/pango-itemize.c: Handle 0-length text properly.
* libpango/pangox.c: When loading particular sized fonts,
use the original XLFD, since XFree86 doesn't handle wildcards
in aliases properly.
* libpango/pangox.[ch] (pango_x_render_layout_line): Add function
to render an entire PangoLayoutLine.
* libpango/reorder-items.c: Add a note to the effect
that pango_reorder_items() is basically replaced by a
similar function in PangoLayout.
Wed Mar 8 10:58:56 2000 Owen Taylor <otaylor@redhat.com>
* modules/arabic/arconv.c (shapecount): Fix from Karl
Koehler to joining behavior.
* modules/Makefile.am modules/arabic/*: Added arabic
shaper from Karl Koehler <koehler@or.uni-bonn.de>
* modules/basic/tables-{small,big}.i: Remove arabic
from the ranges that the basic shaper marks as "exact".
* examples/HELLO.utf8: Partially alphabetize, add arabic.
Mon Mar 6 21:03:28 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-layout.[ch]: Started work on highlevel layout driver.
Mon Mar 6 20:55:32 2000 Owen Taylor <otaylor@redhat.com>
* libpango/mapping.c example/viewer.c:
* modules/hangul/hangul.c modules/basic/basic.c modules/tamil/tamil.c:
Convert log_clusters[] use from char offsets to byte offset - should
make it easier to have all interface deal with stuff in byte offsets.
* libpango/mapping.c libpango/pango-glyph.h: Rename x_to_cp and cp_to_x
to make them "member functions" of glyph_string.
* libpango/pango-types.h: Add a rectangle type for use in storing
glyph/glyph-string extents, plus macros for extracting ascent/descent.
* libpango/fonts.c libpango/pango-font.h libpango/pangox.c: Virtualize
glyph extents function into the font.
* libpango/pangox.c modules/*/*.c examples/viewer.c: Convert over to
new rationalized unit system - everything in 1000ths of a point
or 1000ths of a glyph unit.
* libpango/pango-glyph.h libpango/glyphstring.c: Add function to get
extents of a glyph string. (We may want to fastpath the width in
the future, since getting the width seems to be a very common
and time-critical operation)
Mon Feb 28 19:46:35 2000 Owen Taylor <otaylor@redhat.com>
* libpango/fonts.c libpango/pango-fonts.h: Add functions
to convert font descriptions to and from human-readable
strings.
* examples/viewer.c: Use functions from libpango instead
of rolling our own font-description conversion functions.
Fri Feb 25 15:04:21 2000 Owen Taylor <otaylor@redhat.com>
* libpango/{fonts.c,pango-font.h,pango-context.[ch],pangox.c,
pango-attributes.c,examples/viewer.c: Add size to the
font description structure instead of continually passing
it around as an extra argument.
* libpango/pangox.c: Take screen resolution into account when
choosing fonts, instead of assumming point == pixel.
Fri Feb 25 12:32:01 2000 Owen Taylor <otaylor@redhat.com>
* configure.in examples/Makefile.am: If GTK+ test fails,
just skip the example program.
* pango-config.in pango.spec.in: Add a simple pango-config
script to the build. (pango-config --libs pangox really
should add the X libraries, but we'll omit that for the
moment.)
Sat Feb 19 18:51:35 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.c (pango_x_make_matching_xlfd): Fix problem
where charsets specified in alias files where being ignored
and treated as wildcards.
Sat Feb 19 17:46:49 2000 Owen Taylor <otaylor@redhat.com>
* README: Fix Dov's name.
Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Release 0.7
* examples/Makefile.am (aliasdir): Install example
pangox_aliases file.
* examples/Makefile.am (bin_PROGRAMS): Install
pango-viewer.
* docs/tmpl/*: Updated templates.
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
* libpango/modules.c (struct _PangoEnginePair): Since we don't
currently unload engines, cache loaded engines. (Not really
quite satisfactory, but should work OK)
* libpango/pango-context.c (pango_context_get_font_description):
Added a global font description.
* libpango/modules.c (_pango_find_map): Allow NULL
language tags.
* libpango/pango-context.c (pango_itemize) examples/viewer.c:
Switch itemize over to take a PangoAttrList.
* examples/viewer.c: Conform to changes in itemization interface
* libpango/font.[ch]: Add a compare function for FontDescription
* libpango/pango-attributes.[ch]: Change the iteration iterface
to be more convenient.
* libpango/pango-context.[ch]: Add the ability to set a default font.
* libpango/pango-context.[ch]: Take the font for itemization from
the attributes on the text.
* libpango/pangox.c: Cache currently loaded fonts, and cache
coverages.
Tue Feb 15 02:35:56 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Add documentation for attributes.
* Makefile.am libpango/pango-attributes.[ch]: Finish initial
implementation of attributes APIs.
Mon Feb 14 22:04:38 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-attributes.[ch]: Start of attribute lists.
Fri Feb 11 16:04:50 2000 Owen Taylor <otaylor@redhat.com>
* libpango/Makefile.am: make dist fixups.
* Makefile.am pango.spec.in: Add a spec file
* examples/HELLO.utf8: Change Maltese to a different
phrase to include some unique Maltese characters.
(Suggestion from Steven R. Loomis)
* libpango/Makefile.am modules/Makefile.am libpango/modules.c:
Move pango.modules file to /var
Thu Feb 10 23:45:49 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Added recent API changes.
* libpango/pango-context.c: Doc comment fixes
* configure.in: Add in directories from unicode-config
when running AC_CHECK_LIB on libunicode.
Thu Feb 10 23:45:27 2000 Owen Taylor <otaylor@redhat.com>
* configure.in: Up version to match 0.6 release that
was made yesterday.
* examples/viewer.c (main): Look for fixed if sans
isn't found as an initial font.
* modules/Makefile.am: Add an install rule to
run pango-querymodules.
* modules/*/Makefile.am (module_LTLIBRARIES): Set up
appropriate install rules.
* libpango/Makefile.am: Break the X code out into a
separate library.
Thu Feb 10 20:19:39 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c: Fix some runtime and compile-time warnings.
* modules/hangul/hangul.c (hangul_engine_shape): Shape the
string with the unknown glyph rather than giving a warning
when the font doesn't have any of the necesary charsets.
Thu Feb 10 19:57:27 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c: Add style selector, rewrite family
selector to use list_families().
* libpango/pango-context.[ch] libpango/pango-font.h libpango/pangox.c
libpango/fonts.c: Add calls to list families, modify list_fonts()
call to take an optional "family" parameter for the purpose of
listing the fonts within a family.
Wed Feb 9 14:04:35 2000 Owen Taylor <otaylor@redhat.com>
* TODO: updates.
* docs/*: Added some docs on font handling, both general
and for X.
Tue Feb 8 15:05:17 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.c: Moved the primary size and charset matching
inside of Pango instead of on the font server. This allows us
to do better matching, and only scale scaleable fonts, and not
scale bitmaps. Also, match size and charset simultaneously,
so that we can handle the cases where all sizes are not available
in all charsets better.
Mon Feb 7 20:27:35 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.c (pango_x_names_for_size): Start at reworking
code to do size and charset lookups simultaneously. twill compile
once I get home.
Mon Feb 7 16:49:32 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c (make_families_menu): Switch the option
menu for a combo box.
* examples/pangox_aliases: Add a demo alias file.
* libpango/pangox.c: Add a font-alias mechanism allowing.
* examples/viewer.c (make_font_selector): Added a spin-button for
size.
Wed Feb 2 20:49:21 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.c (pango_x_get_unknown_glyph): Add a call to get
a glyph for unknown an unknown char.
* modules/basic/basic.c: use pango_x_get_unknown_glyph.
* libpango/utils.[ch] (_pango_guchar4_to_utf8): Added util function
for coverting wide chars to utf8.
* libpango/pangox.c (pango_x_font_get_coverage pango_x_font_get_shaper):
Initial implementations.
Wed Feb 2 11:12:12 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-types.h: Conditionally define G_N_ELEMENTS() when
using glib-1.3.
* modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
Replace MEMBERS() with G_N_ELEMENTS().
* libpango/pango-engine.h: Added a get_coverage() function
to the PangoEngineShape vtable.
* modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
Added get_coverage() functions. The basic.c one is incredibly
inefficient (but caching may make that matter that much).
The Hangul one needs checking.
Wed Feb 2 00:07:13 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-*.h: The great header file reorganization.
Split up roughtly by objects.
* libpango/pango-font.h libpango/fonts.h: Add generic
font-loading and listing interfaces.
* libpango/pangox.c: Implement font-listing/loading interfaces
for X.
* libpango/pango-context.[ch]: Flesh out context structure.
Add appropriate accesors, font loading-methods, etc.
* libpango/pango-coverage.[ch]: Coverage map objects.
* examples/viewer.c: First stab at adding font-selection. Majorly
deficient for the moment until we add font lists and fallbacks
based on coverage maps.
Thu Jan 27 16:50:51 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Updates to match recent API changes.
Mon Jan 17 22:03:24 2000 Owen Taylor <otaylor@redhat.com>
* modules/hangul/hangul.c modules/tamil/tamil.c:
Updated to use new X font mechanism.
* libpango/pangox.[ch]: Misc bugfixes, no longer segfaults.
Mon Jan 17 18:29:39 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.[ch] modules/basic/basic.c: back away from
the strict charset model to having subfonts arbitrarily indexed. The
charset-index model didn't allow proper fallbacks.
Add a function pango_x_list_subfonts() function that lists
subfonts in the proper order for a given list of charsets.
(segfaults currently, will fix pronto)
Sat Jan 15 03:17:35 2000 Owen Taylor <otaylor@redhat.com>
* pango/glyphstring.c pango/mapping.c pango/pangox.c
modules/basic.c examples/viewer.c:
Switch GlyphStrings to have a single array of
PangoGlyphInfo instead of multiple arrays. Rename
PangoGlyphIndex to PangoGlyph.
Sat Jan 15 01:06:45 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pangox.c libpango/pangox.h libpango/fonts.c
libpango/glyphstring.c modules/basic/basic.c:
Eliminate PangoCFont; For X, encode charset into upper
16 bits of 32 bit glyph IDs. Revise X core <=> module
interfaces to support this change.
Remove support for X_XLFD_FONT_RANGES, which has been
disavowed by its proponents, in favor of checking metrics
to figure out if the relevant characters are there.
Rework operation of basic module to be faster and simple.
* modules/Makefile.am: temporarily comment out Tamil and
Hangul modules until I finish mucking with the
X font interfaces.
Fri Jan 14 12:08:43 2000 Owen Taylor <otaylor@redhat.com>
* examples/HELLO.utf8: Add Pango properly spelled.
* **/Makefile.am: make dist fixes.
Thu Jan 13 17:49:45 2000 Owen Taylor <otaylor@redhat.com>
* TODO: Updated.
Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c: reindented.
* README: updated
Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com>
* Huge rename from GScript to Pango.
* modules/tamil/* examples/muru.utf fonts/tscakaram.pcf:
Tamil module from Sivaraj Doddannan <sivaraj@intelligroup.com>
Mon Aug 2 18:32:59 1999 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for libunicode.
* examples/viewer.c libgscript/break.c
libgscript/itemize.c modules/basic/basic.c:
Use libunicode functions for conversion.
* modules/basic/basic.c: Add support for
simple accent composition; fix bidi
swapping to correctly swap clusters
as a unit.
1999-07-26 <otaylor@localhost.localdomain>
* libgscript/mapping.c (g_script_cp_to_x): Fix
buggy algorithm.
1999-07-31 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
* modules/hangul/Makefile.am (EXTRA_DIST): Added tables-*.i
files.
1999-07-29 Raja R Harinath <harinath@cs.umn.edu>
* modules/hangul/Makefile.am (INCLUDES): Use
-I$(top_srcdir)/libgscript.
1999-07-30 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
* modules/hangul/*, Makefile.am, configure.in: Added the Hangul
shaping module.
Wed Jul 28 14:45:00 1999 Owen Taylor <otaylor@redhat.com>
* Released version 0.4
Wed Jul 28 14:43:41 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/reorder-items.c: Return NULL correctly.
* libgscript/mapping.c:
Fixed buggy algorithm for cp to x.
Fixed reversed interpolation for x to cp.
Wed Jul 28 14:42:40 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/mapping.c: Fix bugs
Thu Jul 22 09:36:08 1999 Owen Taylor <otaylor@redhat.com>
* Released version 0.3
Wed Jul 21 18:46:14 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/gscriptx.c (g_script_x_extents): Fix
same off-by-one bug here too...
Wed Jul 21 18:44:55 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/gscriptx.c (g_script_x_glyph_extents): Fix
an off-by-one error in computing indexes into the
per-char information.
Tue Jul 20 20:09:09 1999 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/engines.sgml: First pass at documenting
engine interfaces.
Tue Jul 20 16:10:48 1999 Owen Taylor <otaylor@redhat.com>
* **: Documentation improvements.
Tue Jul 20 15:05:45 1999 Owen Taylor <otaylor@redhat.com>
* modules/basic/{basic.c,tables-{big,small}.i}:
Rewrote basic module to support subset fonts meaningfully.
This meant revising the algorithm used to look
up a font for each character independently.
Which required aggresive caching here and in the
font code to give half-way decent performance.
Added support for ISO-10646-1 fonts.
* libgscript/fonts.c (g_script_font_[get/set]_data): Add the
ability to add user data to a font.
* libgscript/gscriptx.[ch]: Add functions to allow:
- Querying all XLFD's matching a set of character
sets for a font.
- Loading a component font with a particular XLFD.
- Finding the range of present characters for a given XLFD.
Also added tons of caching.
Wed Jul 14 19:11:41 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/gscriptx.c (g_script_x_glyph_extents):
Fixed min/max confusion.
Mon Jul 12 17:14:53 1999 Owen Taylor <otaylor@redhat.com>
* docs/TEXT/glossary (CFont): Expanded.
* libgscript/fonts.c (g_script_cfont_unref): Fixed
leak. (Pointed out by Raph)
* libgscript/gscriptx.c: Handle the case where
fontstruct->per_char == NULL.
Sun Jul 11 23:44:42 1999 Owen Taylor <otaylor@redhat.com>
* Made version 0.2
* **/Makefile.am: Fixes for srcdir != builddir
Sun Jul 11 23:41:19 1999 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/glyphs.sgml: SGML fix.
Sun Jul 11 22:53:11 1999 Owen Taylor <otaylor@redhat.com>
* libgscript/mapping.c: Implemented g_script_cp_to_x()
and g_script_x_to_cp().
* examples/viewer.c: Added clicking on a character to
identify it as a test of the above.
* gscript/gscript.h gscript/gglyphstring.c modules/basic/basic.c:
Add another field into the GGlyphString which holds
a mapping from glyphs to logical clusters.
* libgscript/gscript.h (struct _GScriptLangRange):
Make it start-length like everything else, not
start-end.
Sun Jul 11 00:18:56 1999 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/gscript-x.sgml: Fix sgml error.
Sat Jul 10 23:40:40 1999 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c: Added ability to use
multibyte character sets. (Right now, they have
to be converted by iconv into EUC encoding, but
that can easily be extended).
Added simply CJK support. This really bloats and
slows down the module because the range-based
encoding we use to map characters onto character-sets
wasn't designed for CJK-style charsets. But it's
better than nothing for now.
* libgscript/reorder-items.c (reorder_items_recurse): Fix
bug with variable initialization.
* examples/viewer.c (draw): Compute line increments.
* libgscript/gscriptx.c (g_script_x_[glyph]_extents): Added
logical_ascent/descent parameters.
* examples/viewer.c: Commented
Sat Jul 10 04:35:10 1999 Owen Taylor <otaylor@redhat.com>
* configure.in Makefile.am: automake'd and libtoolized.
Sat Jul 10 00:00:00 1999 Owen Taylor <otaylor@redhat.com>
* It renders! Start a ChangeLog
|