Filled polygon - if filled, text invisible in exported emf

Grobe shared this problem 15 years ago
Answered

The topic says it all I think.


Anyway, I can describe the issue best like this:

[list=1]

[/li]

  • I draw a polygon, makes all points on the edge to be invisible (this is ok, I wish it like this)
  • Then I put some text inside the polygon.
  • And I make the polygon filled, around 20%. It looks pretty nice in the program:

    194788

  • Then I choose to export it as EMF-file. I make sure that all objects is selected before I export it (I know I have to do this. otherwise some objects may be missing in the emf-file). Unfortunately, the resulting emf-file doesn't look very nice.

    194790

  • [/ul]


    The best way to go around the problem is to repeat the above procedure, but make sure that the polygon is not filled at all. Then it works.


    Another thing I see is that any lines in a polygon that is not strictly horisontal or vertical doesn't look nice in the resulting emf file. I know I can use t.ex irfanview to get a screenshot (like the image in pt.3 in the list above) and save as png or wathever format, but I doesn't like that method because when I import the drawing in any application (ex open office) and want to scale it, it's better having a vector picture rather than raster format.

    Comments (4)

    photo
    1

    Transparency isn't supported in EMFs exported by FreeHEP, the library we use to export.


    Another thing I see is that any lines in a polygon that is not strictly horisontal or vertical doesn't look nice in the resulting emf file.


    Do you mean on screen, or printed? I find EMFs are not very good on screen in Microsoft Word, but that they print very well :)

    photo
    1

    Transparency isn't supported in EMFs exported by FreeHEP, the library we use to export.


    Another thing I see is that any lines in a polygon that is not strictly horisontal or vertical doesn't look nice in the resulting emf file.


    Do you mean on screen, or printed? I find EMFs are not very good on screen in Microsoft Word, but that they print very well :)

    Yes you're right. I use Open Office 2.40 and it looks not very nice on screen. But when I exported it as pdf, and opened the pdf file, it looks great. So that wasn't a bug :D

    photo
    1

    you can also have a nice Enhanced Meta file. Doubleclick on the polygon, go to the register "style" and set the trackbar at "filling" to 0. So you have no filling, but you can get a emf-graphic that looks nearly like the orginal worksheet.

    photo
    1

    Same issue with EPS, but not with PDF. This is strage because PDF can be converted to PS (pdf2ps on Linux) and the generated PS is good.

    © 2023 International GeoGebra Institute