blob: db8c01ef4b9b3c89f186b9ece72334fe005e572e (
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
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
|
<?xml version="1.0"?>
<!DOCTYPE Document SYSTEM "Document.dtd">
<Document>
<Title>SVG To do List</Title>
<Description>
List of things To do for SVG rendering in FOP.
</Description>
<Chapter>
<Title>To do</Title>
<Body>
<p>
SVG in FOP is currently in the early stages. As FOP is aiming to
be the reference implementation for an FO parser, this is aiming to
be the reference implmenetation for an "instream-foreign-object"
in the fo document. Namely an implementation of SVG as a foreign
xml document embedded in the fo document.
</p>
<p>
The aim for SVG itself is to implement as much of the svg as is
meaningful for the output of the FOP.
</p>
<p>
This generally means that things such as animation are out of
scope.
</p>
</Body>
<Section>
<Title>Bugs</Title>
<Body>
<p>
This list is for things that have been done but do not
work properly.
</p>
<p>
<ol>
<li>
gradients - the coordinates need to be altered
to the bounds of the object being drawn
</li>
<li>
text - dy is not fully functional, alignments are
not correct.
</li>
<li>
the transform angles are wrong (degree - radians) when
using the java functions
</li>
</ol>
</p>
</Body>
</Section>
<Section>
<Title>Not yet Implemented</Title>
<Body>
<p>
These are all the features that are currently not handled
in any useful way.
</p>
<p>
<ol>
<li>
</li>
</ol>
</p>
</Body>
</Section>
</Chapter>
<Chapter>
<Title>Implemented</Title>
<Body>
<p>
The currently implemented things.
</p>
</Body>
<Section>
<Title>SVG</Title>
<Body>
<p>
This list is for things that have been done but do not
work properly.
</p>
<p>
<b>Elements</b>
<ol>
<li>
rect
</li>
<li>
circle
</li>
<li>
line
</li>
<li>
text - tref, tspan
</li>
<li>
path
</li>
<li>
polygon
</li>
<li>
polyline
</li>
<li>
ellipse
</li>
<li>
g
</li>
<li>
svg (inside)
</li>
<li>
image
</li>
<li>
use
</li>
<li>
defs (including referenced items not in defs element)
</li>
<li>
linearGradient
</li>
<li>
radialGradient
</li>
<li>
stop
</li>
</ol>
</p>
<p>
<b>Properties</b>
<ol>
<li>
x
</li>
<li>
y
</li>
<li>
x1
</li>
<li>
y1
</li>
<li>
x2
</li>
<li>
y2
</li>
<li>
r
</li>
<li>
cx
</li>
<li>
cy
</li>
<li>
x (list)
</li>
<li>
y (list)
</li>
<li>
dx
</li>
<li>
dy
</li>
<li>
d
</li>
<li>
id
</li>
<li>
width
</li>
<li>
height
</li>
<li>
xlink:href (what about the XMLLink namespace)
</li>
<li>
refX
</li>
<li>
refY
</li>
<li>
offset
</li>
<li>
points
</li>
<li>
fx
</li>
<li>
fy
</li>
</ol>
</p>
</Body>
<SubSection>
<Title>Style</Title>
<Body>
<p>
<ol>
<li>
fill
</li>
<li>
stroke
</li>
<li>
stroke-width
</li>
<li>
stroke-dasharray
</li>
<li>
stroke-offset
</li>
<li>
stroke-linecap
</li>
<li>
stroke-linejoin
</li>
<li>
stroke-miterlimit
</li>
<li>
stop-color
</li>
<li>
color
</li>
<li>
font
</li>
<li>
font-size
</li>
<li>
font-family
</li>
<li>
font-weight
</li>
<li>
font-style
</li>
</ol>
</p>
<p>
These are currently only supported in the style attribute.
</p>
</Body>
</SubSection>
<SubSection>
<Title>Transform</Title>
<Body>
<p>
<ol>
<li>
translate
</li>
<li>
rotate
</li>
<li>
scale
</li>
<li>
skew X
</li>
<li>
skew Y
</li>
<li>
matrix
</li>
</ol>
</p>
<p>
</p>
</Body>
</SubSection>
</Section>
<Section>
<Title>FO interaction</Title>
<Body>
<p>
<ol>
<li>
Implement the fo:instream-foreign-object formatting object
</li>
<li>
Separate the property lists by namespace.
</li>
</ol>
</p>
<p>
</p>
</Body>
</Section>
<Section>
<Title>Miscellaneous</Title>
<Body>
<p>
<ol>
<li>
Fix the dtd (or use xml schema) for the docs so there are no
validation errors
</li>
<li>
Update the docs.
</li>
</ol>
</p>
<p>
</p>
</Body>
</Section>
</Chapter>
</Document>
|