comparison client/docs/developers.md @ 4348:dc5a10542e16

client, docs: add hints about svg2pdf shortcomings
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 09 Sep 2019 12:35:25 +0200
parents 8ac59c8183e8
children 6365466ead83
comparison
equal deleted inserted replaced
4347:81577c995161 4348:dc5a10542e16
2 2
3 * [How translations are handled](dev-translations.md) 3 * [How translations are handled](dev-translations.md)
4 * [Rationale of some choices](dev-generalconsiderations.md) 4 * [Rationale of some choices](dev-generalconsiderations.md)
5 5
6 ## Hints 6 ## Hints
7
8 ### svg2pdf
9
10 https://github.com/yWorks/svg2pdf.js has known shortcomings,
11 which we work around.
12
13 Not all layout possibilities of webbrowser are not supported!
14
15 Our tactics is to report the problems, but work around them, if we can,
16 some examples:
17
18 * https://github.com/yWorks/svg2pdf.js/issues/82 (Unsupported features/Known issues)
19 * https://github.com/yWorks/svg2pdf.js/issues/109 (alignment-baseline attribute does not work)
20 * https://github.com/yWorks/svg2pdf.js/issues/100 (Font-size in `em` unit does not work)
21
22
23 ### Testing diagram layout and pdf export
7 24
8 When testing the vuex store object can be accessed from the 25 When testing the vuex store object can be accessed from the
9 webbrowsers console like 26 webbrowsers console like
10 27
11 ```javascript 28 ```javascript