summaryrefslogtreecommitdiff
path: root/extra/xfig/xfig-fix_dash_list_for_different_styles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfig/xfig-fix_dash_list_for_different_styles.patch')
-rw-r--r--extra/xfig/xfig-fix_dash_list_for_different_styles.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/xfig/xfig-fix_dash_list_for_different_styles.patch b/extra/xfig/xfig-fix_dash_list_for_different_styles.patch
new file mode 100644
index 000000000..7c5aaa94f
--- /dev/null
+++ b/extra/xfig/xfig-fix_dash_list_for_different_styles.patch
@@ -0,0 +1,34 @@
+--- xfig.3.2.5c/w_drawprim.c 2012-10-17 00:14:09.000000000 +0200
++++ xfig.3.2.5c/w_drawprim.c 2013-11-29 02:45:36.950448714 +0100
+@@ -1292,14 +1292,23 @@ void set_fill_gc(int fill_style, int op,
+ }
+
+
+-static unsigned char dash_list[16][2] = {{255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255},
+- {255, 255}, {255, 255}};
++static unsigned char dash_list[16][8] = {
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255},
++ {255, 255, 255, 255, 255, 255, 255, 255}};
+
+ static int join_styles[3] = { JoinMiter, JoinRound, JoinBevel };
+ static int cap_styles[3] = { CapButt, CapRound, CapProjecting };