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
|
2013-03-14 Khaled Hosny <khaledhosny@eglug.org>
* src/dvi.c, src/dvicodes.h, vf.c: Revert "Support DVI-IVD inspired text
reflection for XeTeX".
* src/fontmap.c: Remove commented out old Mac code.
* src/fontmap.c (pdf_load_native_font_from_path, pdf_load_native_font):
Merge.
* src/dvi.c, src/fontmap.c, src/fontmap.h: Ignore native font family and
style names that we no longer use.
* src/dvi.c (read_native_font_record, do_native_font_def): Don't check
for XDV_FLAG_FONTTYPE_* flags as they do nothing.
2013-02-25 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/dpxutil.[ch]: Reduce diffs with dvipdfmx.
* src/agl.c: Copied from ../dvipdfmx.
* src/fontmap.c, src/pdfnames.c, src/pdfobj.c, src/spc_pdfm.c,
src/tt_cmap.c: Adapt to modified definition of ht_*_table().
2013-02-22 Khaled Hosny <khaledhosny@eglug.org>
* src/fontmap.c (pdf_load_native_font_from_path): Fix loading font files
without an extension (e.g. Mac suitcase fonts).
2013-02-21 Khaled Hosny <khaledhosny@eglug.org>
* src/tt_cmap.c (handle_subst_glyphs): Use FT_Get_Glyph_Name() instead of
reading 'post' table directly, to handle CFF fonts where the 'post' table
has no glyph names.
* rc/tt_cmap.c (create_ToUnicode_cmap4, create_ToUnicode_cmap12,
otf_create_ToUnicode_stream): Adapt.
2013-02-15 Khaled Hosny <khaledhosny@eglug.org>
* src/cidtype2.c: Fix loading *.dfont files on non-Mac platforms.
* src/fontmap.c: Don't include unused ApplicationServices headers
* configure.ac src/Makefile.am: Don't check for now unused Apple
ApplicationServices.
2013-02-12 Khaled Hosny <khaledhosny@eglug.org>
* src/dpxfile.c, src/dpxfile.h (dpx_find_dfont_file): Make public.
* src/fontmap.c (pdf_load_native_font_from_path): Fix loading *.dfont files.
* src/fontmap.c (pdf_load_native_font): Drop use of deprecated ATS API, all
native fonts should be given as file names.
* src/fontmap.c (pdf_load_native_font): Show failed font name in error
message.
2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* data/Makefile.am (configdatadir, mapdatadir, cmapdatadir):
Change texmf => texmf-dist (sync from ../dvipdfmx).
2013-01-21 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/dvi.c: Avoid unused variables sbuf and slen.
2013-01-19 Khaled Hosny <khaledhosny@eglug.org>
* src/dvi.c, src/dvicodes.h: Support DVI-IVD inspired text reflection
for XeTeX.
* src/vf.c: Adapt
* src/dvi.c: Drop code for ancient FreeType 2.2.0
* src/fontmap.c, src/fontmap.h: Drop no longer use FreeType version
variables.
2013-01-11 Peter Breitenlohner <peb@mppmu.mpg.de>
Reduce dvipdfmx/xdvipdfmx diffs.
* src/agl.c: Definition of hval_free() moved up.
* src/pdffont.h: Added #ifdef XETEX ... #endif.
* src/t1_load.c: Added #ifdef XETEX ... #else ... #endif.
* src/dpxconf.[ch], src/dpxcrypt.[ch]: Copied from ../dvipdfmx.
* src/sfnt.c: '#if HAVE_CONFIG_H' => '#ifdef HAVE_CONFIG_H'.
2013-01-10 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* read_v2_post_names() in tt_post.c: Change calculation of post->count
for special fonts with unused index.
2013-01-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/cid.c: Avoid casts (const char *) -> (char *).
2013-01-09 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid various gcc-4.6 warnings.
* src/cidtype2.c, src/dvipdfmx.c, src/fontmap.c, src/otl_conf.c,
src/pdfencoding.c, src/spc_pdfm.c, src/tt_cmap.c: Do not use
unsafe casts (char **) -> (const char **).
* src/bmpimage.c, src/cidtype0.c, src/cidtype2.c, src/dvi.c,
src/jpegimage.c, src/pdffont.c, src/pkfont.c, src/tt_aux.c,
src/tt_cmap.c, src/tt_glyf.c, src/tt_post.c, src/type1.c,
src/type1c.c: Drop set but unused variables.
src/pdfdraw.c: Do not test '(&v) != NULL', this is always true.
2012-12-12 Khaled Hosny <khaledhosny@eglug.org>
* src/tt_cmap.c: Make sure CMapName of embedded CMaps does not contain
slashes.
2012-12-11 Khaled Hosny <khaledhosny@eglug.org>
* src/tt_cmap.c: Fix crash with fonts that has some glyphs without name
entries in 'post' table.
2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/Makefile.am: Avoid use of deprecated INCLUDES.
2012-09-21 Karl Berry <karl@tug.org>
* many files: remove useless $Header$ from old repo,
do not point to dvipdfmx@ email address any more.
2012-09-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* ChangeLog.TL (removed): Now merged ...
* ChangeLog: ... into this.
2012-09-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* fontmap.c: unused function pdf_clear_fontmaps
* fontmap.h: unused function pdf_clear_fontmaps
* pdfcolor.c: unused functions pdf_get_colorspace_num_components,
pdf_get_colorspace_subtype
* pdfcolor.h: unused functions pdf_get_colorspace_num_components,
pdf_get_colorspace_subtype
* pdfdev.c: unused functions pdf_dev_currentfont, pdf_dev_get_font_ptsize
* pdfdev.h: unused functions pdf_dev_currentfont, pdf_dev_get_font_ptsize
* pdfdraw.c: unused functions static int pdf_coord__itransform,
pdf_dev_setflat, pdf_dev_itransform, pdf_dev_rectstroke
* pdfdraw.h: unused functions pdf_dev_setflat, pdf_dev_itransform,
pdf_dev_rectstroke
* pdffont.c: unused functions pdf_get_font_fontname, pdf_font_get_flags
* pdffont.h: unused functions pdf_get_font_fontname, pdf_font_get_flags
* pdfobj.c: unused functions pdf_put_array, pdf_shift_array,
pdf_pop_array, pdf_put_dict, pdf_stream_set_flags, pdf_stream_get_flags
* pdfobj.h: unused functions pdf_put_array, pdf_shift_array,
pdf_pop_array, pdf_put_dict, pdf_stream_set_flags, pdf_stream_get_flags
* type0.c: unused function Type0Font_get_encoding
* type0.h: unused function Type0Font_get_encoding
2012-09-06 Khaled Hosny <khaledhosny@eglug.org>
* configure.ac, src/fontmap.c, src/Makefile.am: Remove FontConfig
dependency, as it is not needed anymore with recent XeTeX.
2012-08-31 Peter Breitenlohner <peb@mppmu.mpg.de>
Reduce TL/W32TeX diffs.
* src/cidtype0.c, src/cidtype2.c, src/cmap_write.c, src/mpost.c,
src/truetype.c, src/tt_cmap.c, src/tt_gsub.c, src/tt_post.c:
Cast function args to avoid WIN32 (MSVC) warnings.
* src/pdfencrypt.c (getpass) [WIN32]: Use "*" to `echo' password.
* src/pdfobj.c (pdf_out_xchar): Reformulate to avoid MSVC warnings.
* src/dvipdfmx.c (main) [WIN32]: Call texlive_gs_init().
* src/dvi.c (dvi_init): Fix logic for appending ".dvi" or ".xdv".
* spc_dvips.c: Use binary mode for all file io.
[WIN32]: Use gswin32c; avoid memory leak.
* src/xbb.c (show_usage): Correctly report .bb or .xbb as default.
2012-08-26 Khaled Hosny <khaledhosny@eglug.org>
* src/agl.c: Reduce differences with dvipdfmx.
* BUGS, NEWS, TODO, contrib/*, doc/*, index.html, style_base.css,
style_dflt.css, style_ie.css, style_plain.css: Remove files removed
from dvipdfmx.
* data/*: Sync with dvipdfmx.
2012-08-23 Khaled Hosny <khaledhosny@eglug.org>
* src/dvipdfmx.c, src/mem.c, src/mem.h, src/xbb.c, src/dvipdfmx.c,
src/mem.c, src/mem.h, src/xbb.c: Remove memory debugging code.
* src/agl.c, src/agl.h: Remove the built-in AGL name list to minimize
difference with dvipdfmx.
* src/agl_standard.c, src/mk_agl_standard_c.pl: Removed.
* src/asl_charset.h: Removed unused file.
* src/Makefile.am: Adapted.
2012-08-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* src/tt_post.c (read_v2_post_names): support large truetype fonts
which are strictly speaking out of spec, idx > 32767.
* src/dvipdfmx.c: support monocase filesystem.
2012-08-21 keiichirou shikano <k16.shikano@gmail.com>
* src/cff.c, src/cff.h. src/type1.c: fix type1 SEAC bug.
2012-08-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Try to avoid mem_debug_check warning.
* spc_dvips.c (spc_dvips_at_end_document): Free ps_headers.
2012-08-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dvi.c: Fix a bug in dvi_init(). The old one fails for dvi or xdv
files of very short name. For example "xdvipdfmx t" fails for t.xdv.
2012-05-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* fontmap.c: fix a typo. allow pdftex.map without PS name.
2012-04-27 Peter Breitenlohner <peb@mppmu.mpg.de>
Reduce differences between dvipdfmx and xdvipdfmx.
* cid.[ch], cidtype[02].c, dpxutil.[ch], pdfdoc.[ch],
mem.[ch], truetype.c, tt_cmap.c: Trivial modifications.
2012-04-25 Peter Breitenlohner <peb@mppmu.mpg.de>
Enable use of MEM_DEBUG, try to avoid mem_debug_check warning.
* mem.h: Enable use of MEM_DEBUG.
* mem.c: Increase MEM_LINE, avoid C99-ism, add tex-k@tug.org.
* dvipdfmx.c (main): Enable mem_debug_check().
* spc_pdfm.c (spc_handler_pdfm_stream_with_type): Free fullname.
2012-04-21 Khaled Hosny <khaledhosny@eglug.org>
* src/spc_pdfm.c: use kpse to find media.
2012-04-20 Norbert Preining <preining@logic.at>
* dvipdfmx.c: allow inclusion of subsidiary config files, directive i
* data/config/dvipdfmx.cfg: document the i directive
2012-04-14 Khaled Hosny <khaledhosny@eglug.org>
* src/spc_dvips.c: Fixed bug in "ps: plotfile" special.
2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
Remove extern decls from *.c files.
* dvi.c: Move extern decls from here ...
* dvi.h: ... to here ...
* fontmap.h: ... and here.
* tt_aux.c: Move extern decl from here ...
* tt_aux.h: ... to here ...
* dvipdfmx.c: ... and #include "tt_aux.h".
* dpxfile.c: Drop obsolete comment that mkstemp may not be
declared in stdlib.h.
* spc_color.c: Drop 'extern' from function definition.
* error.h: ANSI C prototype for error_cleanup().
* error.c: Drop extern decl, now in error.h.
* dvipdfmx.c: Add '#include "error.h"' and drop extern decl.
2012-03-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* pdfdev.c (handle_multibyte_string): Handle UTP-16 surrogates
for UCS-4 supplementary planes.
Based on patch from Tanaka Takuji-san.
2012-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid 'the address of XXX will always evaluate as true' warnings.
* pdfdraw.c (m_stack_depth): Use '(s) != NULL' instead of '(s)'.
Gcc >=4.3 produces identical code but -Wall yields no warning.
2012-02-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: Fixed a typo (no libpaper for TeX Live builds).
2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* data/Makefile.am:
Replace ${prefix}/texmf => $(datarootdir)/texmf.
2011-11-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* spc_pdfm.c: fix a typo in spc_handler_pdfm_dest().
reencode also the destination in \special{pdf:dest ...} to UTF-16.
2011-06-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac (AC_TYPE_UINT32_T): Portability fix for AIX.
* dpxcrypt.c: Use headers as in configure test for uint32_t.
2011-06-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* dpxfile.c (exec_spawn): Do not quote execvp() arguments.
2011-06-03 Peter Breitenlohner <peb@mppmu.mpg.de>
* dpxfile.c (exec_spawn): Exit if execvp() fails, some clean up.
2011-06-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dpxfile.c: fix a bug in exec_spawn().
2011-04-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/fontmap.c [OS X]: #include FT_MAC_H to get prototype for
FT_GetFilePath_From_Mac_ATS_Name().
2011-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/dpxcrypt.c: Sync with dvipdfmx.
* src/dpxconf.[ch], src/numbers.[ch], src/pdfresource.[ch],
src/pst_obj.[ch], src/tfm.[ch], src/tt_table.h: Remove more
trivial diffs with dvipdfmx (unused functions).
2011-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/cff_dict.h, src/cff_types.h, src/cmap.c, src/cmap_write.c,
src/dpxcrypt.[ch], src/dvipdfmx.c, src/mfileio.c, src/mpost.h,
src/otl_conf.c, src/otl_opt.c, src/pdfencoding.[ch],
src/pdfencrypt.[ch], src/pdflimits.h, src/pdfparse.h,
src/specials.h, src/subfont.c, src/t1_char.c, src/tt_post.h,
src/vf.c: Remove trivial diffs with dvipdfmx.
* src/Makefile.am: Mark asl_charset.h as unused.
2011-03-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* src/dvipdfmx.c, src/pdfencrypt.c and src/pdfencrypt.h:
recover compute_id_string() for the consistency with dvipdfmx
as much as possible.
2011-03-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: Check for <sys/wait.h>, drop check for system().
* src/pdfencrypt.c (compute_id_string): Drop unused function.
2011-03-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* src/dpxfile.c: Avoid to use system().
* src/dvi.c, src/dvi.h, src/dvipdfmx.c, src/pdfencript.c,
src/pdfencrypt.h, src/spc_pdfm.c: new special pdf:encrypt
by Matthias Franz.
2011-02-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/pngimage.c (create_cspace_ICCBased): Avoid libpng-1.5.x
compiler warning.
2010-06-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/dpxfile.c (dpx_file_apply_filter) [Solaris9]:
Avoid "%hhu", use "%hu" and (unsigned short) version.
2010-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON.
2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/pngimage.c (check_for_png), src/xbb.c (check_for_png):
Replace png_check_sig() by png_sig_cmp() for libpng-1.4.
From Hanno Boeck <hanno@hboeck,de>.
2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: Don't fail configure if not building xdvipdfmx.
* src/sfnt.h: #define CHAR as SFNT_CHAR to avoid conflict with
CHAR from <winnt.h>.
2009-11-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac, src/dpxfile.c: Require recent kpathsea version.
2009-09-02 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid more maximal compiler warnings:
* src/pst_obj.c (pst_new_mark, pst_release_obj, pst_parse_null):
Instead of casting a const string to non-const, make a copy and
later free the copy.
2009-08-30 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid almost all maximal compiler warnings:
* src/agl.c (agl_load_line, agl_load_listfile),
src/cid.c (CIDFont_base_open),
src/cff_types.h (cff_dict_entry),
src/cff_dict.c (add_dict, cff_dict_add),
src/dpxutil.[ch] (read_c_escchar, read_c_litstrc,
parse_c_string, parse_c_ident, parse_float_decimal),
src/dvi.c (dvi_do_special, read_length, scan_special),
src/dvipdfmx.c (read_length, select_paper, select_pages,
do_args, read_config_file),
src/epdf.c (pdf_copy_clip),
src/fontmap.c (skip_blank, parse_string_value,
parse_integer_value, fontmap_parse_mapdef_dpm,
fontmap_parse_mapdef_dps, pdf_read_fontmap_line,
is_pdfm_mapline, pdf_load_fontmap_file),
src/mpost.[ch] (mps_scan_bbox, skip_prolog, do_mpost_bind_def,
mp_parse_body, mps_exec_inline, mps_include_page, mps_do_page),
src/otl_conf.c (parse_uc_coverage, parse_substrule, parse_block),
src/otl_opt.c (parse_expr, otl_parse_optstring),
src/pdfdev.c (handle_multibyte_string, pdf_dev_set_string),
src/pdfdoc.c (name_dict, pdf_doc_init_names),
src/pdfencoding.c (load_encoding_file),
src/pdfobj.c (find_xref, parse_trailer, pdf_read_object,
read_objstm, pdf_get_object),
src/pdfparse.[ch] (save, skip_line, skip_white, parse_number,
parse_unsigned, parse_gen_ident, parse_ident, parse_val_ident,
parse_opt_ident, parse_pdf_number, pn_getc, parse_pdf_name,
parse_pdf_boolean, parse_pdf_null, ps_getescc,
parse_pdf_literal_string, parse_pdf_hex_string,
parse_pdf_string, parse_pdf_tainted_dict, parse_pdf_dict,
parse_pdf_array, parse_pdf_stream, parse_pdf_reference,
try_pdf_reference, parse_pdf_object),
src/spc_color.c (skip_blank, spc_color_check_special,
spc_color_setup_handler),
spc_dvips.c (parse_filename, check_next_obj,
spc_handler_ps_tricks_parse_path, spc_handler_ps_tricks_render,
spc_dvips_check_special, spc_dvips_setup_handler),
src/spc_html.c (parse_key_val, read_html_tag, atopt,
spc_html__img_empty, cvt_a_to_tmatrix, spc_html_check_special,
spc_html_setup_handler),
src/spc_misc.c (spc_handler_postscriptbox,
spc_misc_check_special, spc_misc_setup_handler),
src/spc_pdfm.c (my_parse_pdf_dict, spc_pdfm_check_special,
spc_pdfm_setup_handler),
src/spc_tpic.c (skip_blank, spc_tpic_check_special,
spc_tpic_setup_handler),
src/spc_util.c (skip_blank),
src/spc_xtx.c (spc_xtx_check_special, spc_xtx_setup_handler),
src/specials.c (init_special, print_error),
src/specials.h (spc_arg), src/subfont.c (read_sfd_record):
Rewrite all parsing routines to operate on const strings.
Constify start/end pointer args and local vars.
Constify struct member strings. Drop or adjust casts.
Cast a few non-const start pointers to 'const char **'.
Use a few non-const local vars, not to modify const strings.
2009-08-30 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid some more maximal compiler warnings.
* src/tt_post.[ch] (tt_post_table): Constify struct member
strings and drop casts.
(macglyphorder): Declare 'const char**' not 'const char*const*'.
* src/truetype.c (selectglyph): Use additional const string local
var and drop cast.
* src/dpxcrypt.[ch] (transform, MD5_write): Constify args.
* src/pdfencrypt.c (compute_user_password): Drop cast.
* src/fontmap.c (chop_sfd_name): Drop useless cast.
(substr): Constify string arg and local var.
(strip_options): Constify local var and drop cast.
(pdf_load_native_font): Constify local var and drop cast.
* src/cmap_write.c (CMap_create_stream): Constify cast.
* src/pdfcolor.c (str2iccSig, iccp_check_colorspace,
iccp_get_rendering_intent, iccp_unpack_header,
iccp_get_checksum): Constify local vars and casts.
* src/pdfencoding.[ch] (pdf_encoding_new_encoding,
pdf_encoding_findresource): Constify args.
* src/pdfobj.c (pdf_out): Constify cast.
* src/specials.c (spc_exec_special): Drop useless casts.
* src/spc_dvips.c (spc_handler_ps_tricks_brotate,
spc_handler_ps_tricks_transform): Constify local vars.
(pstricks_key): Constify string members.
2009-08-28 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid some more maximal compiler warnings.
Avoid zillions of 'initialization discards' warnings.
src/agl.h, src/agl_standard.c, src/mk_agl_standard_c.pl:
Constify string array 'agl_standard_names'.
src/agl.c (agl_load_standard_names): Adjust.
Some "declaration of 'xxx' shadows ...". Among the remaining
ones, those for 'distiller_template' in src/spc_dvips.c (local
vs. global) should be looked at (FIXME).
* src/pdfobj.c (parse_xref_stream): Drop inner declaration of
size and use size_obj, not to shadow previous local (diff type).
* src/epdf.c (pdf_get_page_content): Drop unnecessary inner
declaration of content_new, not to shadow previous local.
2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid some more maximal compiler warnings.
* src/cff.[ch] (cff_get_sid, cff_add_string): Constify string arg.
* src/cidtype2.c (find_tocode_cmap), src/cmap.c (CMap_decode_char),
src/dpxfile.c (dpx_create_temp_file, dpx_file_apply_filter):
Constify local vars and drop casts.
* src/dpxutil.c (get_hash): Constify cast.
* src/pdfnames.c (cmp_key), src/t1_char.c (stem_compare),
tt_glyf.c (glyf_cmp): Constify local vars and adjust casts.
* src/t1_load.[ch] (t1_get_standard_glyph): Constify return
type and drop cast.
* src/type1.c (pdf_font_load_type1): Constify local vars.
* src/cidtype0.c (CIDFont_type0_t1cdofont,
CIDFont_type0_t1dofont): Drop casts.
2009-08-26 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid some maximal compiler warnings.
* src/agl.c (agl_load_standard_names),
src/dvi.c (get_buffered_unsigned_byte, get_buffered_signed_byte,
get_buffered_unsigned_pair, get_buffered_signed_pair,
get_buffered_unsigned_triple, get_buffered_signed_triple,
get_buffered_signed_quad, get_buffered_unsigned_quad,
do_pic_file),
src/mfileio.c (os_error),
src/pdfencoding.c (pdf_encoding_complete):
ANSI C function definitions, i.e., '()'=>'(void)'.
* src/agl.c (skip_capital, skip_modifier): Constify string args.
(is_smallcap, agl_name_convert_unicode, put_unicode_glyph,
agl_sput_UTF16BE, agl_get_unicodes): Constify local strings
and drop casts.
* src/xbb.c (extensions, xbb_file_mode): Constify global strings.
2009-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (AM_CFLAGS): enable compiler warnings.
* src/agl.c (agl_load_line): delare as static, add forward decl.
* src/cidtype0.c (CIDFont_type0_t1open): remove ft_to_gid (unused).
* src/dvi.c (do_xxx): avoid unused variable.
(do_pic_file): declare as static.
(get_and_buffer_signed_byte): unused.
* src/dvipdfmx.c: remove do_objstm (unused).
* src/epdf.c: #include "pdfdoc.h" for pdf_doc_add_page_content.
(pdf_get_page_obj): remove info, contents, contents_dict, and
matrix (all unused).
(pdf_include_page): remove page_idx (unused).
(pdf_copy_clip): remove p0, p1, p2, and bbox (all unused),
silence initialized warning.
* src/jpegimage.c (read_APP1_Exif): remove rational_value (unused),
silence initialized warnings.
* src/pdfdev.c: #include "dvi.h" for dvi_is_tracking_boxes.
* src/pdfobj.c (pdf_file_new): declare as static.
* src/spc_dvips.c: #include "epdf.h" for pdf_copy_clip.
(spc_handler_ps_tricks_gdef): unused.
(spc_dvips_at_begin_page): remove fp (unused).
* src/tt_aux.[ch] (tt_aux_set_verbose): use ANSI C prototype.
* src/tt_cmap.c (handle_subst_glyphs): remove ucv (unused).
2009-06-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: replace '--enable-tetex-build' by
'--enable-texlive-build' (automatic if configured as part of the
TeXLive tree).
2009-05-27 Peter Breitenlohner <peb@mppmu.mpg.de>
Adapt to TL2009 build system.
2009-05-25 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac, src/Makefile.am: Do not use CPPFLAGS for
required -I flags, leave it for the user.
2009-03-16 Peter Breitenlohner <peb@mppmu.mpg.de>
* src/cff.c, src/dpxutil.c, src/mem.c, src/pdfencoding.c,
src/pdfencrypt.c: Must include Kpathsea headers (via `system.h')
before including `mem.h'.
2008-04-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.in: respect library dependencies.
2008-03-31 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.in, data/Makefile.in, src/Makefile.in: regenerated.
2008-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: added `ACLOCAL_AMFLAGS -I m4'
* configure.in: moved macro definitions ...
* m4/maw-time.m4 (new): ... to here
* acinclude.m4 (removed): moved macro definitions ...
* m4/maw-kpse.m4, maw-libs.m4, maw-macos.m4 (all new): ... to
here; these files are the same as in ../dvipdfmx.
2008-02-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Allow maintainer mode to regenerate files.
* configure.in, acinclude.m4: added AC_DEFINES's third arg to
provide autoheader templates.
* configure.in: use AC_DEFINES for XETEX and XETEX_MAC.
2006-12-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* mpost.c, pdfdev.c, pdfdev.h, spc_pdfm.c, pdfcolor.c, pdfcolor.h,
pdfdraw.c, pdfdraw.h:
Temporary implementation for mps files generated by mptopdf.
2006-12-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfcolor.c:
Fixed the color bug reported by H. J. Lee and Pablo Rodriguez.
2006-12-07 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfobj.c:
Fixed a bug with xref, reported by Paul Guyot.
2006-12-06 Jin-Hwan Cho <chofchof@ktug.or.kr>
* t1_load.c:
Modified to work with broken fonts, e.g. belleek/blsy.pfb.
* dvipdfmx.c, dvi.c, dvi.h:
Add xoffset and yoffset specials.
2005-12-18 Jin-Hwan Cho <chofchof@ktug.or.kr>
* dpxfile.c:
Fixed a bug found by Karnes Kim.
2005-10-14 Jin-Hwan Cho <chofchof@ktug.or.kr>
* spc_tpic.c:
Fix a bug on spc_handler_tpic_bk() and spc_handler_tpic_wh();
reported by Akira Kakuto.
2005-08-31 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdoc.c, pdfdraw.c:
Stroke and fill color controls with gsave and grestore.
2005-08-30 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdraw.h, pdfdraw.c, mpost.c:
Fix a bug on MetaPost manipulation.
* pdfobj.c:
Allow PDF images generated from Mac OS X.
* truetype.c:
Fix a bug on PK Type3 font.
2005-08-24 Jin-Hwan Cho <chofchof@ktug.or.kr>
* spc_pdfm.c:
Fix a bug on finding XObject.
2005-08-23 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdraw.h, pdfdraw.c:
Fix a bug on matrix concatenation and inverse matrix.
* spc_pdfm.c:
Fix a bug on giving object name in image.
2005-08-15 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdoc.c, spc_pdfm.c, specials.c:
Fix a bug on article|bead|thread specials.
2005-08-14 Jin-Hwan Cho <chofchof@ktug.or.kr>
* spc_html.c, spc_pdfm.c, specials.c:
Fix a bug causing memory leak, and correct a typo.
2005-08-12 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdev.c, pdfdev.h, spc_dvips.c, spc_pdfm.c, spc_util.c:
Modified transform_info structure using pdf_tmatrix.
2005-08-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfdoc.c, pdfdraw.c, pdfdraw.h, spc_pdfm.c:
Optimization of changing transform matrices.
The "pdf:literal" special works almost same as pdfTeX's
"\pdfliteral" primitive. But "pdf:literal direct" is slightly
different from pdfTeX's "\pdfliteral direct". It does not
affected by "pdf:literal".
2005-08-08 Jin-Hwan Cho <chofchof@ktug.or.kr>
* spc_pdfm.c:
Test implementation of \special{pdf:literal ...}.
* spc_misc.c:
Ignores \special{pos: ...} too.
* spec-dpx.tex:
Modified to fit the changes introduced in 2005-08-08.
2005-08-02 Jin-Hwan Cho <chofchof@ktug.or.kr>
* dvi.c, spc_pdfm.c:
Fixed a few bugs introduced by changes in 2005-08-01.
* dvipdfmx.def, spec-dpx.tex:
Modified to fit the changes introduced in 2005-08-01.
ConTeXt module still has a bug, e.g., \handleMPfshow.
2005-08-01 Shunsaku Hirata <hirata@project.ktug.or.kr>
* specials.c, spc_html.c, spc_pdfm.c:
Various minor changes to specials.
Rewriting HTML special support.
2005-07-31 Shunsaku Hirata <hirata@project.ktug.or.kr>
* specials.c:
Fixed a bug introduced by changes in 2005-07-30.
(@page1 not handled correctly)
2005-07-30 Shunsaku Hirata <hirata@project.ktug.or.kr>
* colors.h: removed
Color definitions placed into spc_util.c.
* pdfdev.c, pdfdraw:
Various changes.
* pdfcolor, pdfdoc:
set_bgcolor pdfcolor --> pdfdoc.
* cid.c:
Force fixedpitch option for printer/acro fonts.
* spc_*, specials.c:
* And many others....
2005-07-28 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfdev.c:
Simply use sprintf for printing numbers.................
Fixed an ancient bug causing very frequent (unnecessary)
font selection.
2005-07-21 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfencoding.c: Fixed bugs.
* truetype.c: Update and various changes.
Apply ligature GSUB for glyph name "a_b" and glyph names
with AGL mapping to multiple Unicode character sequence.
Suffixes "liga", "dlig", "frac" ... are always recognized
as feature tag for glyph composition. But for "a_b.vert",
dvipdfmx first compose glyph "a_b" (by some way) and then
apply "vert" substitution to composed glyph. It may often
behaves unexpectedly. Suffixes like "aalt1" is treated as
alternate substitution; e.g., "a.salt1" is interpreted as
first stylistic alternate of default glyph for "a". Those
features are just for completeness. (esp. alternate GSUB)
Reorganized various process of finding glyphs, but still
complicated. TTC is supported (but index is always 0).
2005-07-20 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdffont.c:
Minor changes.
* pkfont.c:
Mostly rewritten. Allow .enc file to be specified
in fontmap. But it is not for reencoding but to get
glyph names for ToUnicode creation.
* dpxfile.c:
Check file type.
* pdfcolor.c, vf.c: Don't use strcasecmp, strncmp.
2005-07-18 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfximage.c:
Set image format conversion filter to NULL if empty
string "" is given. Put various system dependent things
into dpxfile.c.
* dpxfile.c:
Creation of temporary files, call other program
via system() to apply filter to file.
* dpxconf.c, dpxconf.h: new files
Currently paper format related codes.
* dvipdfmx.c: cleanup
Papersize handling --> dpxconf.c
Removed undocumented extension for page label.
* dvipdfmx.c:
's' option for MPS-to-PDF conversion mode. Treat page
numbers as suffix. For "dvipdfmx -M -s 1-3 foo",
dvipdfmx first tries to open "foo". If "foo" exists,
it then start conversion of "foo" (ignore 's'), if not,
"foo.1", "foo.2", and "foo.3" is searched and multi-page
PDF file is generated.
2005-07-17 Shunsaku Hirata <hirata@project.ktug.or.kr>
* spc_dvips.c:
Fixes in psfile special.
2005-07-17 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dpxutil.c, dpxutil.h:
Added few functions to make fontmap.c independent
from pdfparse.c. Various parse_xxx from pdfparse.c.
mangle_name() removed.
* pdfparse.c, pdfparse.h, dpxutil.c, dpxutil.h, ...:
Several parsing routine moved to dpxutil.c.
parse_c_ident() is not really for "C" ident.
parse_c_string() is not really for "C" string.
And there are too many unclear parse_xxx routines
unrelated to PDF in "pdfparse".
There are many uncertainty in parsing \special too.
* spc_xxx:
skip_white() wrongly used in many places.
skip_white() skips from '%' to newline...
* pdf:tounicode, pdf:mapfile, and pdf:mapline
using very different syntax than other pdf:
prefix specials.
* dvi.c, pdffont.c:
Minor changes in debug and error message.
* psimage.c, psimage.h, t1crypt.c, t1crypt.h: Removed.
* t1_load.c: Merge t1crypt
* pdfximage.c, pdfximage.h: Merge psimage
psimage.c is not really for PostScript support.
It just call external program to do conversion form
PS to PDF. There are no reason to restrict this to
from-PS conversion.
* fontmap.c:
Do not use pdfparse.c. Added 'u' option to specify
"ToUnicode". This is for testing. Don't use this.
* pdffont.c:
Read ToUnicode CMap specified in fontmap.
* spc_util.c: HSB color...
Converted to RGB.
* cidtype0.c, cidtype2.c:
Do not use mangle_name in dpxutil.c.
* Various fixes related to pdflimits.h:
This only contains PDF_NAME_LEN_MAX.
2005-07-16 Shunsaku Hirata <hirata@project.ktug.or.kr>
* fontmap.c, fontmap.h
Create fontmap entries for each subfont, containing
SFD mapping information and "link" to fontmap entry
"foo@SFD@". Removed pdf_lookup_fontmap_record2().
* dvi.c, mpost.c, pdfdev.c:
Modification needed by changes in fontmap handling.
* spc_pdfm.c:
Minor changes in fontmap specials. Fixed leak in
"append" fontmap.
* subfont.c, subfont.h:
Minor fixes and changes.
* mpost.c: Bug fix.
Fixed a bug (typo) in mp_setfont.
2005-07-14 Shunsaku Hirata <hirata@project.ktug.or.kr>
* subfont.c, subfont.h:
xxx_sfd_yyy -> sfd_xxx_yyy
Added code for testing SFD file handling.
Added various comments.
* fontmap.c:
Check if subfont ID is valid before loading
SFD mapping table for subfonts.
Changes related to the above changes in subfont.c.
2005-07-13 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c: minor fix
agl_set_verbose() called in pdffont.c too.
* fontmap.c:
Workaround for problems in subfont fontmap lookup.
Delete all conflicting explicit fontmap entries for
subfonts in pdf_insert_fontmap_record() when adding
fontmap entry with @SFD@ extension.
* subfont.c, subfont.h:
Scan SFD file for valid subfont IDs. (Required by
changes made to fontmap.c mentioned above.)
Removed unnecessary file static variables.
Simplified file reading and parsing.
* dvi.c: set_verbose() for subfont.c
* fontmap.c:
Correctly handle fontmap entry like "dmj@DNP@12".
2005-07-11 Shunsaku Hirata <hirata@project.ktug.or.kr>
* agl.c: Fixed various small bugs
2005-07-09 Shunsaku Hirata <hirata@project.ktug.or.kr>
* fontmap.c, fontmap.h, pdfdev.c: Fake-bold again
'b' option. This is experimental feature.
* pdfdev.c:
Graphics state is not properly managed yet.
Fake-bold and set_rule changes linewidth without
using pdf_dev_setlinewidth().
Enclose set_rule with q and Q.
* agl.c: Removed unused variable
2005-07-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_cmap.c: Bug fix
Format 12 cmap subtable support not working...
* fontmap.c: Test for UCS-4
'p' option to specify UCS plane.
This is just for testing purpose. Don't use that.
2005-07-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_cmap.c: Bug fix in ToUnicode creation
ToUnicode CMap creation (inversion of TrueType cmap) was
not working for format 12 cmap subtable.
2005-06-27 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cid_basefont.h:
Add missing font definitions.
* data/config/dvipdfmx.cfg:
Forgot to mention that 'D "..."' line is commented.
Now there are no default setting for image converter,
so PS inclusion will always fail unless you modify
dvipdfmx.cfg.
2005-06-26 Shunsaku Hirata <hirata@project.ktug.or.kr>
* data/config/cid-x.map: empty
Contained examples for fonts with unclear license.
Not maintained for a long time.
* data/CMap/Adobe-Identity-UCS2: removed
Wrongly named file. Content of this file is
actually identity mapping.
* type0.c:
Create dummy ToUnicode CMap "Adobe-Identity-UCS2".
* specials.c:
spc_push_object() always create label for objects.
Objects created with pdf:obj should always be written
to output.
* ainclude.m4, configure.in:
Define __TDS_VERSION__, require xbasename in kpathsea,
removed unused macros, simplified.
* dpxfile.c:
Use __TDS_VERSION__ instead of HAVE_KPSE_ENC_FORMAT
and others.
* dvipdfmx.c:
Alwyas use xbasename().
* fontmap.c, fontmap.h:
Fake bold and OTL options removed.
* otl_conf.c:
Deactivated.
* pdfdev.c:
Fake bold option removed. (undocumented)
* configure.in, acinclude.m4:
Various changes. Error if kpathsea library doesn't
have xbasename().
Define __TDS_VERSION__, removed HAVE_KPSE_XXX_FORMAT.
* configure and others: recreated
2005-06-20 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_gsub.c, tt_gsub.h: Alternate substitution
LookupType 3 (Alternate Substitution) GSUB lookup.
Unused.
2005-06-13 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_gsub.c:
Added support for LookupType 7 (Extension Substitution).
Large CJK fonts may want them. Not tested well.
2005-06-09 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_glyf.c:
Set top-side bearing to (sTypoAscender - bbox.ury) for
fonts without vmtx table (vertOriginY = sTypoAscender).
2005-06-09 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dpxfile.c:
Fixes for old kpathsea library.
2005-06-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dpxfile.c, dpxfile.h:
Fallback to old path searching behaviour.
Warn about files found in old location.
* dvipdfmx.c:
set_verbose() for dpxfile.
2005-06-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cid_basefont.h: Update for Adobe Reader 7
* cid.c, pdfobj.c: Accept version tag 1.6
2005-06-06 Shunsaku Hirata <hirata@project.ktug.or.kr>
* acconfig.h: removed
* data/CMap/glyphlist.txt: --> data/config/
No appropriate place yet.
* cmap_read.c:
Fixed a bug in reading CIDSystemInfo dict.
* pdfencoding.c, pdfencoding.h:
pdf_load_ToUnicode_stream(). Load ToUnicode CMap from file and
then create ToUnicode stream object.
See also changes in truetype, type1, type1c, and pdffont.
* pdffont.c:
First try to load ToUnicode CMap with file name 'tfm_name'.
See also changes in truetype, type1, type1c, and pdfencoding.
* truetype.c, type1.c, type1c.c
Don't create ToUnicode if fontdict already have them.
See also changes in pdffont and pdfencoding.
* Makefile.am, data/Makefile.am, src/Makefile.am:
Fixes, simplified, updated...
There are problems in data/Makefile.am yet. Installation
directory for .map and .cmap is not correctly set.
* Makefile.in and others: recreated
* configure.in:
2005-05-07 Shunsaku Hirata <hirata@project.ktug.or.kr>
* spc_color.c:
Color special without push/pop allowed?
* spc_pdfm.c:
pdf:literal broken for more than 2 years?
Fixed a bug in creating annot.
* data/config/dvipdfmx.cfg:
Comments...
2005-05-04 Shunsaku Hirata <hirata@project.ktug.or.kr>
* README: update
* pdfparse.c:
There were several problems in handling broken PDF files.
* pdfobj.c:
There were several problems in handling broken PDF files.
Stream dict is freed twice when parsing stream object failed.
* tfm.c:
PK font creation was not working due to incorrect design size
value returned by tfm_get_desing_size().
* index.html:
Update and fixes for links. Many sentences doesn't make sense
when the document is printed. Stylesheet default to "plain"
style. Encoding set to "utf-8".
* style.css: renamed to style_dflt.css
* style_plain.css:
Plain style stylesheet.
2005-03-07 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfcolor.c:
Color not correctly reset at page break?
Maybe more bugs...
* pdfdoc.c:
Encapsulating docxxx within single struct pdf_doc.
2005-03-05 Shunsaku Hirata <hirata@project.ktug.or.kr>
* mpost.c:
Text handling was not correct for subfonts.
* pdfencoding.c:
Increased verbose level for ToUnicode warning.
2005-02-03 Jin-Hwan Cho <chofchof@ktug.or.kr>
* otl_conf.c, spc_pdfm.c:
Fixed remaining bugs related to MiKTeX file searching.
* cvs tag: DVIPDFMX-20050201 (revised)
2005-02-01 Jin-Hwan Cho <chofchof@ktug.or.kr>
* cidtype2.c:
Fixed a critical bug on the DW entry for CIDType2 fonts.
* cvs tag: DVIPDFMX-20050201
2005-01-06 Jin-Hwan Cho <chofchof@ktug.or.kr>
* dvi.c: Fixed a bug on converting subfont character numbers.
* snapshot: two snapshots
DVIPDFMX-20040824 (release): before full update
DVIPDFMX-20040912 (current): with the bug fix on 2005-01-06
2004-09-12 Shunsaku Hirata <hirata@project.ktug.or.kr>
* specials: rewriting...
All \special related files renamed to spc_xxxx and specials.
Use function pointer table rather than doing everything with
if-else or switch-case.
* pdfparse.c:
Few functions are expelled from pdfparse.c since they are not
related to PDF parse at all. pdfparse still contains dvipdfmx
only extension and they might be enabled even when parsing
ordinary PDF files.
* spc_pdfm, pdfparse:
tounicode special moved to spc_pdfm.
2004-09-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* ttf, tt_*:
ttf.[ch] -> truetype.[ch], renamed few files, added tt_post.
* unicode, pdfencoding:
ToUnicode support migrated to pdfencoding.
2004-09-05 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfencoding: encodings -> pdfencoding
* bug fixes.
* pdflimits: This was not pdflimits nor implementation limit
of PDF viewers at all.
2004-09-02 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pngimage, jpegimage:
Improvement on embedded ICC profile support.
Profiles with same MD5 checksum are shared among images.
* pdfcolor:
Added something for managing color space resources.
* pkfont.c:
Depends on tfm.c again.
2004-08-30 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfdoc, pdfdev:
Mostly independent from dvi interpreter.
pdfparse still depend on dvi.c through pdfspecial.c due to
pdf: special @xpos and @ypos.
* pdfdraw:
Primitive graphics drawing functions and graphics state
management: pdf_dev_moveto, pdf_dev_gsave, pdf_dev_lineto,
pdf_dev_flushpath, and so on (migrated from mpost.c).
PostScript, tpic, and all other graphics specials should not
directly access page content stream but must use those
functions instead. Text state and colors are still managed
completely differently.
* Added many comments in source and headers...
* Rearranged initialization process again.
pdf_init_fontmap: Initialize fontmapping database.
pdf_open_document: Open output file, initialize various
document resource handler, and set default media size...
pdf_init_device: Unit conversion, precision and others.
pdf_doc_begin_page: Initialize graphics state, etc.
2004-08-27 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cidtype0.c:
Fixed several bugs in Type1 and CFF -> CID CFF converison.
There might be more bugs...
* doc/dpxunicode.pdf: Update.
2004-08-24 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cid_basefont.h: Bug fix
Added missing '['.
* doc/dpxunicode.pdf: Update
* tt_cmap.c:
2004-08-22 Shunsaku Hirata <hirata@project.ktug.or.kr>
* otl_conf.[ch]: New file
OTL feature is managed by configuration file.
* fontmap.c:
-S and -L option removed. Added option -l.
* doc/dpxunicode.pdf: Update.
2004-08-16 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Unicode support for CID OpenType.
2004-08-15 Shunsaku Hirata <hirata@project.ktug.or.kr>
* fontmap.c:
-f option changed to -S. Added -L for ligature substitution.
* tt_gsub.c and others: New fontmap option -L
Map ligatures not in Unicode to PUA.
ToUnicode support handle substituted glyphs.
See, doc/dpxunicode.pdf for details.
2004-08-14 Shunsaku Hirata <hirata@project.ktug.or.kr>
* otl_opt.[ch]: New file
Handle fontmap options for OTL features.
2004-08-11 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c: Bug fix.
The seac operator support was broken since 2004-8-02.
* fontmap.c: New fontmap option "-f tag" and "-b number".
Specify OpenType layout feature with -f option for "unicode"
endoding font. Glyph substituion specified by -f option is not
reflected in ToUnicode CMap yet. Only single substitution GSUB
subtable is supported.
The "-b" option specifies "boldness" parameter for fake-bold
(stroke line width of fill-then-stroke text).
* ...:
Changes for new features mentioned above.
2004-08-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_cmap.c, cidtype0.c: Bug fixes
2004-08-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Makefile.in, Makefile.am:
cmap_parse --> cmap_read.
* cmap_parse.[ch]: Remaned to cmap_read.[ch]
* cmap_write.[ch]: New file
Create CMap PDF stream object. Output is not efficient yet.
* dvi.c: Bug fix
Multiply pdf:pagesize special page height and page width by DVI
magnification factor.
* agl.[ch], unicode.[ch], ....:
Use cmap_write.
* dpxfile.[ch]: New file
.....
2004-08-07 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Type1 font accept "unicode" encoding.
Converted to CIDFontType 0 CIDFont.
2004-08-02 Shunsaku Hirata <hirata@project.ktug.or.kr>
* New files: t1_load.[ch], t1_char.[ch]
type1.c --> type1.c, t1_load.c, t1_char.c.
t1_load: load Type1 font (PFB) into cff_font structure.
t1_char: type 1 charstring interpreter and type 1 to type 2
charstring converter (type 2 encoder). There are many duplicated
code in cs_type2 and t1_char.
2004-07-31 Shunsaku Hirata <hirata@project.ktug.or.kr>
* New files: pdfdraw.[ch], pdfcolor.[ch]
* mpost.c, tpic.c:
Use pdfdraw and pdfcolor.
* pdfdev.c:
CTM affects box calculation in dev_expand_box(). Special
bann/eann set correct bounding box for rotated text.
* New keyword "unicode" in fontmap:
The keyword "unicode" can be specified as encoding in fontmap.
With this option dvipdfmx creates Unicode-to-GID mapping CMap
and GID to Unicode (ToUnicode) CMap from TrueType cmap table
(format 4 Windows-UCS2 and format 12 Windows-UCS4 subtable is
supported) for TrueType font. All font with encoding "unicode"
is treated as Type0 font.
Currently supported only for Unicode TrueType font.
2004-07-27 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Many bug fixes.
* fontmap.c: Bug fix.
Do not increment num_fontmap when replacing duplicate
entries.
* mpost.c:
Support PS operator findfont etc. Not compatible with dvips.
2004-07-18 Shunsaku Hirata <hirata@project.ktug.or.kr>
* fontmap.c:
Add/replace/remove fontmap entries.
Added fontmap_add_map_record(). Scan single mapfile line.
* fontmap.c, pdfdev.c:
fontmap_tex_name(), ... abort if invalid value is passed.
* psspecial.c: bmpfile special
This is not PS special...
* pdfobj.[ch], pdfspecial.c:
Added pdf_copy_object(): Copy object data without changing
object label. Dvipdfmx now can handle pdf specials like:
\special{pdf:obj @foo << /Bar @bar >>}
\special{pdf:obj @bar << /Foo @foo >>}
Object reference can appear before definition of object.
2004-07-15 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cidtype2.c, type0.c:
Write CID glyph metrics for non-embedded TrueType fonts.
* dvipdfmx.c, cidtype0.[ch], cidtype2.[ch], cid.[ch]:
Treat all CIDFont as fixed pitch font if bit 0x0004 is set
in "-C" option. (for backward compatibility)
2004-07-14 Shunsaku Hirata <hirata@project.ktug.or.kr>
* New files: bmpimage.c, bmpimage.h
Windows BMP image format support. (not tested well...)
1/4/8/24-bits per pixel images, uncompressed or 4-bit/8-bit RLE
compressed images are supported.
* pdfparse.c:
Added dictionary key "T" to the list of strings to be
converted to Unicode...
2004-07-12 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c:
Added new option "-C".
Thumbnail support available again.
* tpic.c, tpic.h:
Spline path ("sp" command) was not handled correctly.
Use (semi-)transparent color for shading, enabled by option
-C 2. (not enabled by default since it requires PDF version
1.4+) Apply shading only to closed paths.
* psspecial.c:
epsbox support was broken.
* pdfdoc.c: Thumbnail supported again
2004-07-04 Shunsaku Hirata <hirata@project.ktug.or.kr>
* configure, ...:
HAVE_KPSE_OPENTYPE_FORMAT and HAVE_KPSE_ENC_FORMAT is not
correctly set when compiled with gcc3.
2004-06-28 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfximage.c:
Do not clip PDF images when "clip" option is not given.
2004-06-27 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Workaround for "three dot leader" problem.
2004-06-16 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Do not adjust refernece point of included images if users do
not supply bounding box.
* Look for .ofm first.
Workaround for incompatibility introduced on change 2004-01-20.
* pdfdoc.c: Fixed bug that dvipdfmx crushes with null string key in
name tree.
2004-06-02 Jin-Hwan Cho <chofchof@ktug.or.kr>
* pdfspecial.c: Bug fix on cropbox in do_bxobj().
2004-05-03 Shunsaku Hirata <hirata@project.ktug.or.kr>
* jpegimage.c: Uninitialized variable.
2004-04-09 Shunsaku Hirata <hirata@project.ktug.or.kr>
* README, index.html: update
* contrib/patches/glyphlist-cm-add.txt: new file
Additional glyphlist for Computer Modern font.
* NEWS: new file
Empty.
* pdfdev.c:
Do not increase line width.
2004-04-03 Shunsaku Hirata <hirata@project.ktug.or.kr>
* README: update
2004-03-25 Shunsaku Hirata <hirata@project.ktug.or.kr>
* jpegimage.c: ICC profile
Added APP2 ICC_PROFILE support.
ICC profile is not deleted from JPEG stream.
* Embedded ICC profile support for JPEG and PNG enabled.
ICC profiles are not cached. Alternate color space?
2004-03-24 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Thumbnail support removed.
* index.html:
Quick check against WCAG 1.0. Lowercasified all HTML tags for
migration to XHTML.
* pdfdoc.c:
Dvipdfm/dvipdfmx copyright notice remved from PDF Docinfo's
/Producer string, simplified to "dvipdfmx (VERSION)".
* configure.in, configure:
Minor change.
2004-03-22 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pngimage.c: Minor changes.
Remaining things for complete PNG 1.1 support is:
Complete iCCP support. Support tEXt and other metadata chunks
using XML Metadata stream. pHYS (and oFFs) support (in ebb).
Preserve filter (PNG predictor) if possible, but some softwares
using filters very inefficiently. 16-bit RGB/Gray (PDF-1.5).
JPEG (JFIF) can also store ICC profile with APP2. Implementing
very basic ICC profile support might be useful.
2004-03-21 Shunsaku Hirata <hirata@project.ktug.or.kr>
* README: updated
* data/config/cid-x.map:
"slant" option -s supported in vertical mode.
* pngimage.c: Fixed a serious bug, more chunks supported.
Gamma obtained by png_get_gAMA() is inverse of screen gamma
that the image is prepared. Gamma is sometimes inverted...
Approximated CalRGB color space used along with /Intent if
sRGB chunk is found (not sure how to treat it).
Experimental iCCP support --enable-iccp.
Doesn't validate ICC profile embedded in PNG.
Range? Rendering Intent?
* pdfdev.c:
A line width of zero means thinnest line drawable in target
device. dev_rule() was wrongly changed to increase line width
if the width is too thin.
2004-03-20 Shunsaku Hirata <hirata@project.ktug.or.kr>
* unicode.c, agl.c, type0.c: ToUnicode CMap support
Always create ToUnicode CMap for simple fonts regardless of
the existence of glyph list file. If 10% of glyph names can
not be converted to Unicode, ToUnicode CMap is not embedded.
The reason for the (non-zero) limit 10% is; ToUnicode CMap
is shared among fonts using same .enc file. In this case,
Unicode mapping is created for all glyphs in the .enc file
where non-standard glyph names like "visiblespace" is often
expected. But those glyphs are usually not used in the TeX's
output and hence it should be simply ignored if mapping is
not available.
Sharing ToUnicode CMap is not so efficient as expected for
simple fonts, "subsetted" ToUnicode CMap might be better.
type0.c search ToUnicode CMap named as REGISTRY-ORDERING-UCS2
or FONTNAME-UCS2, the latter case is for CIDFontType 2 font
using font's internal glyph ordering. It does not care about
the content of CMap at all, especially usecmap is not checked.
Don't use it.
* README, data/config/cid-x.map:
Description about -m option removed from README.
This option is no longer necessary for usual cases, and use
of it is not recommended as the original dvipdfm fails to read
fontmap file with this option.
* cmap.c:
Increment n-1 th byte if n-th byte overflow in bfrange like:
<00> <01> <00 FF>
The dstCode string is treated like an integer, but the number
of bytes required for that character code is not increased.
Acrobat's "ToUnicode" CMap contains such bfrange entries and
causing a serious problem in Korean TrueType fonts.
2004-03-18 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfspecial.c:
pdf:literal direct should not translate origin.
2004-03-17 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c, type1c.c, cmap.c, ...: Memory leak.
2004-03-16 Shunsaku Hirata <hirata@project.ktug.or.kr>
* mpost.c, psspecialc.: Fixed bugs.
2004-03-14 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c:
Scan first page's paper size special first.
* pdfparse.c: \x in PDF string - broken
This (undocumented) extension to the PDF string object disturbs
and interrupts PDF object parsing and subsequent text re-encoding
specified by tounicode special (another extension). And it makes
impossible to separate parsing and re-encoding process ("x" after
backslash representing Unicode hex value...).
Support for this extension was removed since it is desirable to
move (or isolate) tounicode special to the appropriate place, not
pdfparse but pdfspecial, if possible.
Note that this kind of extension might be incompatible with all
other PDF applications, "\x" should be treated as a single "x" in
literal strings (like PostScript).
* pdfspecial.c: Special image/uxobj is partially broken.
Special uxobj doesn't work for external images after the change
made on 2003-08-12. It only works for the grabbed page contents
created by special bxobj/exobj.
Access to XObject reference (but can't be placed in the document)
is now available again. Supporting uxobj is usually not necessary
for external images because they are always reused as a document
resource but allowing access to the (form) XObject's indirect
reference by name like @foo is usefull for using them as an entry
of appearance dictionary in annotations.
* pdfspecial.c, pdfdev.c:
Special bann/eann does not take account of current transformation
matrix correctly. It result in incorrect /Rect for all annotations
created by special bann/eann if transformation is applied.
Not fixed yet.
* pdfparse.c: "ToUnicode" special
Illegal PDF string is expected within pdf: specials. Many users
try to use raw Shift-JIS text without properly escaping backslash
appears in the 2nd byte of double-byte character. The same problem
occurs in many other encodings.
As a workaround for this problem, backslashes are not treated as
"escape" in some situation when the current "ToUnicode" CMap name
contains a substring RKSJ, B5, GBK, or KSC.
* cmap.c, ...:
2004-03-12 Shunsaku Hirata <hirata@project.ktug.or.kr>
* mpost.c:
Skip until %%EndProlog.
* pdfspecial.c, pdfdev.c, pdfdoc.c:
pdf_doc_set_mediasize()/pdf_doc_get_mediasize().
* tfm.c
tfm.c was highly wasteful and inflexible.
Preparing for 31-bits character code support.
2004-03-11 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c, dvi.[ch], pdfdev.[ch], pdfdoc.[ch],...:
An effort to eliminate complicated initilization chain...
* pdfximage.c, pdfximage.h: New file.
An effort to make image support more flexible.
Included images and grabbed page contents (forms) should be managed by
pdf_ximage as document resource (like font).
* pdfspecial.c, psspecial.c:
Image support moved to pdfximage. (might be broken)
* mpost.[ch], epdf.[ch], pngimage.[ch], jpegimage.[ch], psimage.[ch]:
Image support moved to pdfximage.
* dvipdfmx.c, mpost.[ch]:
Experimental "mpspdfmx" mode -M.
* pdfspecial.c, pdfdev.c, pdfdoc.c:
Hard to explain... There are many misleading/illogical things.
* dvipdfmx.c, dvi.[ch]:
DVI specials related to page/paper size is pre-scanned.
* dvipdfmx.c:
Page selection option "-s" accept page labels.
For example, command line option "-s 1-10/r,11-12/D:2:empty-page-,13-"
set page labels for page 1-10 to lowercase roman numerals, page 11-12
to arabic numerals starting with 2 and with prefix "empty-page-",...
* dvipdfmx.c:
An option for "bookmark open lavel" -O.
* pdfdoc.c:
Undocumented watermark/page decoration feature. Not completed yet.
* thumbnail.c:
I can hardly think that thumbnail support is useful. Acrobat Reader
can create thumbnail image and other PDF viewers like gs* and Xpdf
doesn't support it. Currently broken due to changes in pngimage.c.
* dvipdfmx.c, pdfdev.c:
The default precision set back to 2 fractional digits. Most sensitive
part is dev_set_string() but the accuracy of this part is essentially
limited to 0.01 point in the most cases. Increasing precision above 2
does not give good result (except DVI rules) but merely increases file
size.
2004-03-05 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfdoc.c:
Fixed a critical bug introduced on change 2004-02-29:
Consistency check was done after pages are free-ed.
* pdfdoc.c, pdfspecial.c:
special pdf:names. Add name tree entry.
* pdfobj.c, pdfparse.c:
Few functions added for manipulating PDF array.
2004-03-04 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfparse.c: Added missing () in macro PDF_TOKEN_END()
* pdffont.c: Compiler warning on uninitialized variable.
2004-03-02 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Groff support:
Groff support was essentially broken. Dvipdfm(x) generated
very inaccurate result due to incorrect choice of scale/unit.
It should be fixed now.
2004-02-29 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfspecial, pdfdoc, pdfobj, pdfparse:
Partially rewrote...
* pdfdoc.c:
Moved static ... to static struct { ... } docXXX.
Removed (strange) optimization.
Outline item open/close.
* tfm.c:
Partially rewote...
2004-02-25 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Too many warnings when compiled with -Wshadow...
pdfdoc.c need to be fixed.
* -Wmissing-prototypes, -Wmissing-declarations
2004-02-21 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type0.c:
Changes for New TDS/kpathsea.
Fixed a bug in get_tounicode_cmap()...
2004-02-19 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cidtype0.c, type0.c:
Write CID glyph metrics for non-embedded CFF/OpenType fonts.
2004-02-18 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tpic.c:
Ignore unpainted path in flush_path().
show_path() output 'n' operator for path without stroking nor filling
to avoid Acrobat error (bug?) "Illegal operation inside a path.".
2004-02-17 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pkfont.c, pkfont.h, pdfdev.c:
Removed dependency to TFM in pkfont.
* type1.[ch], type1c.[ch], type0.[ch], ttf.[ch]:
No longer need to know font resource name and remap.
* pdffont.c, pdffont.h:
Added new file.
* type1.[ch], type1c.[ch], ttf.[ch], pkfont.[ch], pdfdev.c, dvipdfmx.c:
Simple font support will be unified to pdffont.c
2004-02-16 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c, type1c.c, cidtype0.c:
Remove UniqueID and XUID from CFF Top dict.
* type1.c:
Keep original FontBBox instead of replacing it with tight one obtained
from glyph's charstrings to prevent Acrobat 4 from greeking text.
Acrobat 4 may display text drawn with fonts which only contain small
glyphs like period and minus-sign with greeked text.
* tt_build.c:
TrueType output slightly optimized.
* ttf.c, cidtype2.c:
Preserve 'name' table when embedding TrueType font.
2004-02-15 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1c.c, cs_type2.c, cs_type2.h, cidtype0.c:
Dependency to TFM removed. Widths are obtained from font file.
* type1c.c:
Delete unused strings from CFF string index.
* tfm.c, tfm.h:
Added tfm_get_codingscheme(). CODINGSCHEME from TFM header.
* agl.c, agl.h, unicode.c, unicode.h, ttf.c:
Handle decomposed (in Unicode) glyphs in AGL and glyph names of a form
XXX_YYY_ZZZ in ToUnicode CMap. The glyph name with suffix, like "x.y",
is sotred as a glyph "x" with a suffix that implies a variant "y" of
"x" in AGL table, not as "x.y" glyph. (for future use)
2004-02-13 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c:
Bug fix. Skip first four bytes of encrypted PFB section.
Not warn about "dotsection" operator which exist only for
compatibility to Type 1 font rasterizer that can't do hint
replacement.
* tfm.c, tfm.h:
Fixed a bug that calculation of tfm_string_height() was incorrect.
ASCII pTeX specific things are put within #ifndef WITHOUT_ASCII_PTEX.
2004-02-12 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c:
Another bug in flex handling. hmoveto and vmoveto allowed.
* type1c.c, cmap.c, cidtype0.c, encodings.c, fontmap.c:
Changes for new TDS and teTeX/kpathsea.
* encodings.c, encodings.h, pdfdev.c:
Removed get_encoding().
2004-02-10 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c:
Bug fix. Compression of vhcurveto-hvcurveto was not actually done.
One more bug in flex handling.
2004-02-08 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c:
paperinit() and paperdone().
* tfm.c:
Bug fix. Read OFM level 1 header, required by get_design_size().
* dvi.c, dvi.h, vf.c:
DVI specials in virtual fonts (patch by P. TJ MacPhee).
2004-02-05 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cid.c, cidtype2.c:
Use font's internal glyph ordering if CSI Adobe-Identity is
specified for TrueType font. This feature is intended to be
used with Identity CMap and /I option in fontmap.
* configure, acinclude.m4, acconfig.h, config.h.in,...:
Check kpse_{enc,cmap,sfd,opentype}_format.
* type1.c:
Fixed a bug in flex handling.
2004-02-04 Shunsaku Hirata <hirata@project.ktug.or.kr>
* dvipdfmx.c:
libpaper support.
* configure, acinclude.m4, acconfig.h, config.h.in:
--with-paper added for configure option. HAVE_LIBPAPER in config.h.
* pdfspecial.c: Added "bp" and "truebp" in units[].
* Accept w<unit>,h<unit> for papersize option.
2004-02-03 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c:
Counter control (othersubr #12 and #13) supported.
2004-02-01 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_build.c, tt_build.h, cidtype2.c, ttf.c:
Workaround for Ghostscript's bug.
Ghostscript doesn't handle CIDToGIDMap correctly.
Use Identity CIDToGIDMap.
* ttf.c:
Removed dependency to TFM. Glyph metric is obtained from font file.
* type1.c:
Warn about "seac" operator.
2004-01-31 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c: Bug fix.
* Added many 'const'.
2004-01-29 Shunsaku Hirata <hirata@project.ktug.or.kr>
* type1.c: Type 1 -> Type 1C conversion
PostScript Type 1 font is converted to Type 1C (CFF).
There are few limitations: Ghost hint is not converted to edge
hint. The Type 1 charstring operator "dotsection" is ignored.
The ExpertEncoding is not supported. The "seac" operator is not
supported. Counter control is not supported.
* Makefile.in, Makefile.am, standardenc.h: standardenc.h removed.
* pst.c:
Fixed a bug in skip_comments() that cause infinite loop.
2004-01-27 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cff.c, cff.h, cff_dict.c, cff_dict.h:
Added few functions for Type 1 -> Type 1C conversion.
2004-01-24 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pkfont.c:
Acrobat and MacOS X's Preview have some problem with Type 3 font.
Acrobat cannot handle non-invertible transformation matrix which
happens when PK glyph with width and/or height equals to zero is
embedded as Type 3 font. The preview app. of MacOS X 10.3 cannot
display few glyphs generated by dvipdfm with unknown reasons.
2004-01-21 Shunsaku Hirata <hirata@project.ktug.or.kr>
* cs_type2.c: Don't use rint().
2004-01-21 Shunsaku Hirata <hirata@project.ktug.or.kr>
* psimage.c, configure.in, config.h.in:
Use mkstemp() if available.
2004-01-20 Shunsaku Hirata <hirata@project.ktug.or.kr>
* tt_table.[ch], tt_build.[ch], cidtype[02].c:
CIDFont glyph metrics for embedded font.
2004-01-17 Shunsaku Hirata <hirata@project.ktug.or.kr>
* pdfobj.[ch], pdfparse.[ch], mpost.c, pdfencrypt.c, pngimage.c:
Removed pdf_*_stringx().
* pdfobj.c, pdfparse.c: Changes for PDF-1.3 compliance.
2004-01-14 Shunsaku Hirata <hirata@project.ktug.or.kr>
* ToUnicode support for CFF/OpenType + built-in encoding.
* Bug fix in cff.c, type1c.c
* Workaround for Shift-JIS string parsing in pdfparse.c.
* pngimage.c don't require PNG-write/MNG-feature/progressive-read.
* Unicode: unsigned short --> long.
* Removed winansi.h
2004-01-07 Shunsaku Hirata <hirata@project.ktug.or.kr>
* IMPORTANT CHANGE:
Searching order is reversed in fontmap.c.
Last match takes precedence in font mapping now.
* Fixed bug in cff.c, cmap.c, and type1c.c.
2003-12-28 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Bug fixes in pdfparse.c and cid_basefont.h.
2003-12-15 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Minor fixes.
* Added PDF special "fstream" - create PDF stream object from file.
This allows users to attach files in PDF.
2003-12-07 Shunsaku Hirata <hirata@project.ktug.or.kr>
* JPEG moved to jpegimage.c.
* Bug fixes.
2003-12-06 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Changes in pdfspecail.c.
* Fixed a bug in mpost.c.
2003-12-02 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Added a patch for dvipdfm's ebb.c. (PDF ArtBox support)
2003-11-29 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Bug fixes.
* CFF/OpenType support for single-byte font.
2003-11-26 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Little enhancement to epdf.c.
* Merged epsbox.sty patch by Noda.
2003-11-25 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Many part of font/encoding related code rewrote.
* Unicode support for single-byte font.
2003-11-10 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug on the algorithm converting arc to cubic bezier
curves in arc() (tpic.c), which is reported by Werner Lemberg.
2003-11-04 Shunsaku Hirata <hirata@project.ktug.or.kr>
* PNG support completely rewritten. Color pallete images are
now not converted to 24-bit RGB, colorspace Indexed is used
instead. Added tRNS and alpha chunnel (transparency) support.
Experimental gAMA, cHRM and sRGB support.
2003-11-03 Shunsaku Hirata <hirata@project.ktug.or.kr>
* Fixed bug that dvipdfmx stops with error "Invalid Subr Index"
when embedding CFF OpenType font.
2003-10-09 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Add a missing line including pdfparse.h in dvi.c, which is
reported by Akira Kakuto.
* Changed the default font map files for teTeX 2.x as suggested
by Haruhiko Okumura.
2003-10-08 Jin-Hwan Cho <chofchof@ktug.or.kr>
* A bug on the paper size checking routine of dvi_paper_size()
in dvi.c is fixed, which is reported by Haruhiko Okumura.
2003-10-06 Jin-Hwan Cho <chofchof@ktug.or.kr>
* A bug on the kerning routine of dev_set_string() in pdfdev.c is
fixed, which is reported by Edward G.J. Lee.
2003-08-12 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Changed to embed images only one time.
* Updated configure.in and config.h.in to support WORDS_BIGENDIAN
and SIZEOF_SHORT, SIZEOF_INT, SIZEOF_LONG.
2003-08-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* A faked font name was used for TrueType fonts without any PS
font name as suggested by Hin-Tak Leung.
2003-08-05 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Built-in codes (originally from libgcrypt-1.1.42) was used
for PDF encryption instead of the OpenSSL library as suggested
by Thomas Esser.
2003-07-28 Jin-Hwan Cho <chofchof@ktug.or.kr>
* A significant bug reported from Haruhiko Okumura is fixed.
The bug occurs only if compiled with gcc 3.x, not gcc 2.x.
2003-03-26 Jin-Hwan Cho <chofchof@ktug.or.kr>
* New feature, hexadecimal Unicode, suggested by iNOUE Koich!
and Akira Kakuto is implemented.
2003-03-13 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed bugs on reading and writing OpenType fonts.
2003-03-12 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Applied changes for MiKTeX in ps_include() (psimage.c).
2003-03-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in cff_charsets_lookup() (cff.c).
2003-02-06 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in string_mode() (pdfdev.c) reported by iNOUE Koich!.
2002-12-30 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in writing null array.
* Fixed a bug in reading CMap and encoding files in MiKTeX.
2002-11-28 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Support color shading feature in ConTeXt.
2002-11-25 Jin-Hwan Cho <chofchof@ktug.or.kr>
* New feature pdfdecimaldigits (default=3) is implemented.
* Fixed a missing line in dvipdfmx.c.
* Fixed a bug in page attribute boxes, e.g., CropBox, TrimBox.
2002-11-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
* The "pdf: dest" special reads pdf_object not pdf_array.
* Fixed a bug in finding encoding files with extension.
* Look up the entries in miktex.ini while finding files.
2002-10-31 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in finding files with the kpathsea library 3.3.7.
2002-10-28 Jin-Hwan Cho <chofchof@ktug.or.kr>
* The project name was changed to dvipdfmx from dvipdfm-cjk.
* Changed the way of finding files (MiKTeX and KPATHSEA)
(contributed by Akira Kakuto).
* Support embedded MetaPost graphics in ConTeXt using new PDF
special \special{pdf:literal [direct|reverse] ...}.
2002-10-25 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Removed all files related to the original dvipdfm,
and all CMap files from Adobe.
* Changed the executable file dvipdfm to dvipdfmx,
the configuration file config to dvipdfmx.cfg,
the Type0 map file cid.map to cid-x.map.
2002-10-24 Jin-Hwan Cho <chofchof@ktug.or.kr>
* It is possible to change the size of each page with the
special command \special{pdf:pagesize ...}. Override the
previous changes if there are two such commands in a page.
2002-10-17 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in parsing an array in two lines. (mpost.c)
* Changed not to lookup the header to find fonts. (mpost.c)
2002-10-09 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Duplication is allowed for named_references[]. (pdfspecial.c)
2002-06-05 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed a bug in parse_key_val() found by Yasuhiro Okazaki.
2002-05-31 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Bug fixed for ToUnicode conversion in PDF outlines(bookmarks),
docinfo, and text annotations (contributed by Akira Kakuto).
* Included the ToUnicode CMap, EUC-UCS2.
2002-05-22 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Support CJK characters in PDF outlines(bookmarks), docinfo, and
text annotations (contributed by Akira Kakuto).
2002-05-15 Jin-Hwan Cho <chofchof@ktug.or.kr>
* PDF encryption support with the OpenSSL library.
2002-04-30 Jin-Hwan Cho <chofchof@ktug.or.kr>
* ToUnicode CMap (only Unicode) support for Identity-H(V).
* Included the ToUnicode CMap, Adobe-Identity-UCS2.
2002-04-22 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Included two CMaps, UniKSCms-UCS2-H(V) which fix a bug in
UniKS-UCS-H(V).
2002-04-17 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Changed xxx_set_debug() to #ifdef DEBUG.
2002-04-16 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Improved reading PNG image files.
* Rearranged all files to work with GNU autotools.
* Removed HAVE_TTF_FORMATS and HAVE_OFM_FORMATS.
2002-04-09 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Minor fix on 'source/pkfont.c'.
2002-04-07 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Fixed all warning messages generated with MSVC++.
* Rewrote the functions 'xxx_locate_font()' again.
2002-04-04 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Changed the order of loading virtual and physical fonts as
suggested by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
If map entries are found, virtual fonts will not be used anymore.
2002-04-02 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Implemented no-embedding and stylistic variants for CIDFontType0.
2002-03-31 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Added two CMaps, ETenms-B5-H and ETenms-B5-V.
2002-03-30 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor fix on the patch by Takanori Uchiyama.
2002-03-29 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Applied the patch by Takanori Uchiyama <uchiyama@appi.keio.ac.jp>,
supporting the direction command of ASCII pTeX's extension in
virtual fonts.
* Two CMaps, Identity-H and Identity-V are hard-coded in cmap.c.
2002-03-20 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Applied the patch by Jungshik Shin, not embedding the unnecessary
character /.notdef in type1 fonts.
2002-03-20 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Modified cid_basefont.h.
2002-03-05 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Support for UTF8 encoding through Identity CMap.
2002-02-25 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Implemented no-embedding feature for CIDFontType2.
* Implemented Bold, Italic, BoldItalic attributes for CIDFontType2
and CID predefined fonts.
2002-02-22 Jin-Hwan Cho <chofchof@ktug.or.kr>
* Implemented subfont approach for CJK and HLaTeX.
2002-01-07 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed bug introduced on 2002-01-05.
2002-01-05 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Workaround for some bad TrueType fonts that does not have US-English
PostScript font name.
2001-12-27 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Changed to parse all charstrings. Check for the SEAC character.
* Minor changes in CFF related codes.
2001-12-26 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Merged cmap and cmap_parse.
2001-12-25 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Cleaned up TrueType and CFF related codes.
* Minor bug fixes.
2001-12-23 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed bug that always requires Private DICT(s) which may not exist.
* Cleaned up TrueType and CFF related things.
2001-12-18 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Biased subroutine number is signed in cs_type2.c.
2001-12-14 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* macglyphs.h regenerated from apple's TTRefMan.
2001-12-13 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor cleanups.
* Fixed typo (yacture -> yacute, Islash -> lslash) in macglyphs.h.
* Fixed signedness of TureType cmap subtable format 0 data.
2001-12-11 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor fixes.
* Fixed bug that interpretion of hmtx table is still wrong.
* Fixed fixed().
* More improved FontDescriptor for TrueType/OpenType fonts.
* Support for PostScript glyph name in TrueType post table.
Full subsettting is also available for non-CJK TrueType fonts.
Cyrillic and other TrueType fonts can be used.
Requires post table with version 2.0.
2001-12-09 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Bug fixes.
2001-12-05 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed bug that last entry of the loca table may not be read.
* DW is set to that of missing glyph (CIDFontType 2).
* Bug fixes.
2001-12-04 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixes.
2001-12-03 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor charnges, cleanups.
* Write CIDSet.
2001-12-02 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Initial CFF CID-Keyed Font support.
Only Type 2 charstring is supported.
2001-11-27 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor fixes, cleanups.
2001-11-26 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed (serious) bug that hmtx table is incorrectly interpreted.
* Fixed bug that encoding ID of RPC and BIG5 are interchanged.
* Added missing cast in cidtype2.c.
2001-11-25 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Bug fix.
2001-11-24 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Added missing free() (RELEASE) in cidtype2.c.
* Minor fixes.
* Fixed typos.
2001-11-22 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Clean up.
* Allow `Preview & Print' licensed fonts to be embedded.
TrueType OS/2 table is preserved.
2001-11-20 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor cleanups. Fixed typos.
* Strip out bad strings form PostScript names;
-WIN-RKSJ-H, -WINP-RKSJ-H, -WING-RKSJ-H, and -90pv-RKSJ-H.
Some font uses PostScript name one of above strings appended,
even if Shift-JIS encoding is not used.
2001-11-18 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Workaround for Omega: Omega uses setxxx (single-byte char) command
while double-byte font is in use. Pass character type to
dev_set_string() to distinguish single-byte and double-byte.
Maybe, it works with CJK-LaTeX by preparing set of CMaps.
* Write double-byte strings as hex strings.
This makes bit faster and tend to generate smaller PDF in most cases.
* CMap parser uses wrok_buffer in mfileio.
* Reserved w_array and w2_array in struct cid_font for future use.
* Now write /W array for TrueType, proportional latin and kana works
properly. The metric information are taken from font file, not from
TFM, to ensure we always have correct widths. The default width (DW)
is set to 1000.
* Changed sizeof() appeared in sfnt_put_xxx() to expected values in
sfnt.h. I do not assume LONG to be exactly 32-bit long, ....
2001-11-17 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Added Chinese and Korean related stuff again. Chinese and Korean
languages are supported through Omega, or by achieving Ascii pTeX
compatibility.
* Closing CMaps is missing. Added cmap_close_all(), which is invoked by
dev_close_all_fonts() in pdfdev.c.
* Check length of output string for Type 0 font. It must be multiple of
2. Omega uses 8-bit and 16-bit mixed string even for double-byte
fonts. This causes problems.
* Abort if missing/invalid character is used.
2001-11-15 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Bug fixes.
2001-11-12 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* (nearly) Completely rewritten.
* Force Identity CMap. (double-byte character codes are mapped to CID)
* Added CMap parser. (mkcidcct.pl is no longer needed)
* Sync with jpatch.
2001-10-01 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Should return -1 when encoding_id >= 0 in type0_font().
2001-08-08 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed a bug that raster images show up incorrectly in vertical
writing mode.
2001-08-07 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Removed dev_set_string2(), use dev_set_string() instead.
* set_dev_vwmode() is renamed to set_dev_wmode().
Added dev_wmode() and mp_mode flag in pdfdev.c.
* Support for Japanized MetaPost (pdfparse.h, mpost.c).
2001-07-21 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed a bug that do not reset text state in vertical writing.
2001-07-20 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed wrong positioning for slanted non-CJK font in vertical writing.
2001-07-19 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Support OS/2 table version 0x0002.
2001-07-17 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Support multiple parents for a single CID-keyed font
(incomplete).
TODO:
check the consistency of charcter collections.
* Removed entries for unsupported CMaps.
* Updated cid.map.
2001-07-15 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Better font metric info for CIDFontType2.
* Added (partial) support for vertical writing.
Added wmode flag to struct a_type0_font and dev_font.
TODO:
GSUB support in CIDFontType2.
/W2 and /DW2.
* Added support for vertical version of CMaps in mkcidcct.pl
2001-07-07 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Minor fixes.
* Updated out2uni.c
2001-06-30 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* --> dvipdfm-0.13.2c
2001-06-29 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Fixed a bug that select incorrect indexToLocaFormat
(cidtype2.c).
* Fixed several bugs in cidtype2.c.
2001-06-27 Shunsaku Hirata <hira4scp@mbox.nc.kyushu-u.ac.jp>
* Added support for CJK-TrueType font embedding.
* Cleaned up Type0 and CID font handling code.
|