File: TODO

package info (click to toggle)
mysql-query-browser 1.2.5beta-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 63,792 kB
  • ctags: 46,485
  • sloc: pascal: 249,299; ansic: 80,111; cpp: 72,467; sh: 25,271; objc: 20,015; yacc: 10,755; java: 9,917; xml: 4,580; php: 2,806; python: 1,566; sql: 1,563; makefile: 1,452; perl: 3
file content (85 lines) | stat: -rw-r--r-- 3,061 bytes parent folder | download | duplicates (4)
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
$Id: TODO,v 1.18 2005/06/18 18:06:20 geuzaine Exp $

------------------------------------------------------------------------

* Add a special font name ("Data"? Or "RawPS", "RawPDF", "RawTEX"?)
  and modify the PrintPrimitive routines to just write the string
  directly to the stream

------------------------------------------------------------------------

* Think about a way to provide a (even rough) progress indicator
  through a callback...

------------------------------------------------------------------------

* Apple's Preview.app doesn't support '/ShadingType 4'... Should we
  submit a bug report to Apple?

------------------------------------------------------------------------

* Enhance the polygon/line/point offset stuff

------------------------------------------------------------------------

* SVG output...

From Lassi A. Tuura" <lassi.tuura@cern.ch>:

SVG can also be produced from PS, search google for ps2svg.ps; works
fine for the files I produced with gl2ps.  SVG is easy to produce in
itself and similar to postscript; see http://www.w3.org/Graphics/SVG.
Here's an abbreviated sample from a cube printed with gl2ps and
coverted with ps2svg (M = moveto, L = lineto):
<svg width="100%" viewBox="0 0 594 840" stroke="rgb(0,0,0)" fill="none">
<g stroke-miterlimit="10">
 <g transform="matrix(1,0,0,-1,0,840)">
   <path stroke="none" fill="rgb(65,10,10)"
     d="M256.018,103.084L238.296,230.246L182.367,162.194Z"/>
   <path stroke="none" fill="rgb(65,10,10)"
     d="M256.018,103.084L182.367,162.194L187.264,56.048Z"/>
   <path stroke="none" fill="rgb(10,10,10)"
     d="M187.264,56.048L182.367,162.194L74.7287,183.309Z"/>
   [...]
  </g>
</g>
</svg>

------------------------------------------------------------------------

* Escape special characters?

From Jennifer, Jeff, Trevor, and Sophia" <cafun@ameritech.net>:

>> I do have a suggestion though for the  "gl2psText" routine.
>> I have noted that if your string has a "special" character to 
>> postscript then the
>> postscript file becomes corrupted.  This happens when
>> you try and print a string which has only one "(" in it.
>> For instance this string will cause a bad eps file "(this is a 
>> string".  Note that only one bracket is in this string.
>>
>> This can be fixed, I believe, by checking for this character and 
>> placing an escape in front
>> of it.  I was thinking about making the change for you but I do not 
>> know much about
>> PS and I am sure that there are probably other special characters 
>> which should also be
>> included in this check.
>
>
> Good idea. Looking at the PostScript reference, we should escape '(', 
> ')' and '\'.
>
> But should we make this escaping optional? Some people might still 
> want to use the special characters with their original meaning (e.g. 
> to access special characters using their octal codes '\XXX'). 

Now that you mention it I could see where some may want to do this.

>
>
> What should we do for LaTeX output? 

I have not used your LaTeX ouput option so I am not sure how this would 
effect it.