summaryrefslogtreecommitdiff
path: root/dviware/dvi2pcl/TODO
blob: 3ae6de25f80ddfbbb6f5d6bb22f53ffbfc8ad64a (plain)
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
$Log:	TODO,v $
# Revision 0.8  92/11/23  19:46:35  19:46:35  bt (Bo Thide')
# Fixed resolution bug. Portable downloading. Added/changed options. PJXL color support
# 
# Revision 0.7  92/11/13  02:41:15  02:41:15  bt (Bo Thide')
# More bug fixes and improvements. Support for PaintJet XL
# 
# Revision 0.6  92/11/10  21:47:35  21:47:35  bt (Bo Thide')
# Bug fixes. Added -R option. Better font handling.
# 
# Revision 0.4  92/11/08  02:45:37  02:45:37  bt (Bo Thide')
# Changed to portable bit manipulations. Replaced strrstr for non-POSIX compliant C. Fixed numerous bugs. Added support for more \special's.
# 
# Revision 0.3  92/08/24  12:43:17  12:43:17  bt (Bo Thide')
# Fixed 8 bit (dc font) support.
# 


3.  Move all unnecessary global variables from 'globals.h'.  Introduce
    more clever .dvi and .pcl page data structures.

Some of this has been fixed. The beta release will use structs.


5.  Rewrite dopage() into something less hairy (and maybe faster?).
    With the present coding technique (v.0.1) 'dvi2pcl' uses about 23
    ms per page on an HP9000/720.  'dvips' uses about 45 ms per page
    and 'dvi' about 85 ms/page under the same conditions (identical
    100-page LaTeX document .dvi input file, no fonts preloaded)!

Not done yet.


6.  See if pktopxl() can be replaced by read_PK_char() from 'xdvi'.  If
    pknum() has to be used, try to improve it.

A couple of non-obvious bugs were fixed but otherwise it's essentially
unchanged.


7.  Add support for more '\special's, including HPGL/2 and pbm
    graphics/rasters (including EPS by using pbmplus commands) and for
    alternative '\special' syntax, taken from other dvi drivers.  Maybe
    use lex and yacc?

The code has been rewritten and support for more \special's has been added.
Suggestions, please!!


8.  Currently, 'dvi2pcl' supports PCL commands understood by LaserJet+.
    According to the LaserJet+ Technical Reference Manual this is PCL4.
    Add support for PCL3 and 5.  See if .dvi commands can be mapped to
    PCL macros (which might be preloaded).  Try to implement compression
    (see 'pclcomp'), also the adaptive compression, currently supported
    only by LaserJetIIIP.  Also, add support for PCL printers that
    cannot(?) download fonts (low-end PaintJet and DeskJets).  See if
    drawchar() can be modifed to do this. PaintJet XL can handle
    font downloading, but requires 180dpi fonts.  Resample the 300dpi
    fonts to 180dpi ones as is done in 'xdvi'.

Partially done.  Printing to PaintJet XL now works!  However, the PJXL
does not have support for drawing solid rectangels (rules).  Special
code has to be added for the PJXL case.


9.  Add support for reading from an input pipe, if possible.  The only
    radical solution would be to rewrite 'virtex' so it puts the
    postamble info up front.  Use the nice and clean 'commontex' C code
    for this--not the original web and web-to-C code.  It's hopeless!
    Then, shmem can be used for real fast processing!

Has to wait until a later release.


10. Add support for virtual fonts as in 'xdvi'.  See if it's possible to
    utilize the PCL5 scalable fonts.

Has to wait until a later release.


11. Change the starting page option '-s' to something more clever,

Has to wait until a later release.


13. Try various mallopt's to speed up the malloc's.

Has to wait until a later release.


14. Try better optimization on HP Snakes (feedback-directed positioning
    -- 'ld -I' and 'ld -P' -- and cc #pragma's).

Has to wait until a later release.



16. Add a Motif GUI by using Wcl.

Has to wait until a later release.  Do people really want this?


17.  Add support for alternative font paths.

Not addressed yet.


18.  Fix memory leaks (free malloc'ed data)!

Partially fixed.


Uppsala, November 23, 1992


   ^   Bo Thide'--------------------------------------------------------------
  |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  |R|    Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
 /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
 ~~U~~ ----------------------------------------------------------------sm5dfw-