annotate inkscape/firefox/README @ 330:b0571f10c1b8

Use pango_cairo_layout_path() instead of pango_cairo_show_layout(). - pango_cairo_show_layout() will stroke and fill text. - We want shape itself add pathes to cairo context, but not stroke and fill. - redraw manager will apply paints (source surface) on cairo context before stroke and fill to get right color. - Using pango_cairo_show_layout() we can not apply stroke and fill color seperately. So, pango_cairo_layout_path() is used instead of.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Mar 2009 21:04:52 +0800
parents d5327265da1e
children 63aaf96209cd
rev   line source
288
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
1 How to execute the unit test
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
2 ======================================
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
3
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
4 (1) Execute the proxy damon
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
5
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
6 First of all, we need to execute the MadButterfly helper. This help will start the inkscape and then execute a SOAP proxy to wait for the commands from the web client.
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
7
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
8 # python helper_mb.py
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
9
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
10
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
11 (2) Use testsoap.py to send command to helper.
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
12
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
13 # python testsoap.py START
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
14 # python testsoap.py SCENE 1
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
15 # python testsoap.py PUBLISH
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
16
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
17
d5327265da1e Revert the firefox integration to 276
wycc
parents:
diff changeset
18