targets/XSD_toolchain_gcc
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 13 Jan 2017 19:51:36 +0300
changeset 1631 940e20a8865b
parent 1478 69fe0b81e951
permissions -rwxr-xr-x
fix issue with printing scheme (FBD, LD or SFC) with comment element on GNU/Linux

If you draw FBD scheme and place comment on it and then try to print
it, then no wires will be printed and comment box is empty (text is
missing). This happens only for wx.PrinterDC and not on wx.MemoryDC
that is used to draw print preview window in Beremiz IDE.
Looks like a bug in wxPython or wxWidgets.

There were found several workaround for this issue.
1) If some dc.DrawLines call is placed before dc.DrawPolygon, then the
problem is gone.

...
dc.DrawLines(polygon)
dc.DrawPolygon(polygon)
...

2) Reseting DC brush solves the problem as well (see this changeset).
251
2066d2c65b71 change default linker (ld ) to g++ in XSD for gcc toolchain
greg
parents: 203
diff changeset
     1
2066d2c65b71 change default linker (ld ) to g++ in XSD for gcc toolchain
greg
parents: 203
diff changeset
     2
          <xsd:attribute name="Compiler" type="xsd:string" use="optional" default="gcc"/>
1478
69fe0b81e951 make attribute CFLAGS and LDFLAGS optional and add default empty value
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 621
diff changeset
     3
          <xsd:attribute name="CFLAGS" type="xsd:string" use="optional" default=""/>
621
a3ce93d63832 Default gcc toolchain config now use 'gcc' for linking. Was left accidentally to g++ since old times of wxSVG based SVGUI. Cleaned up gcc parameters when linking
Edouard Tisserant
parents: 251
diff changeset
     4
          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="gcc"/>
1478
69fe0b81e951 make attribute CFLAGS and LDFLAGS optional and add default empty value
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 621
diff changeset
     5
          <xsd:attribute name="LDFLAGS" type="xsd:string" use="optional" default=""/>