octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55906] emf format no longer works for printin


From: Rik
Subject: [Octave-bug-tracker] [bug #55906] emf format no longer works for printing
Date: Fri, 15 Mar 2019 17:07:03 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #10, bug #55906 (project octave):

Dmitri is having trouble posting.  Re-posting his comments here that were
delivered over e-mail.

OK. I also got decent results by doing:

a) In octave



t = 0:0.1:2*pi;
plot (t, cos(t), "-r;cos(t);", t, sin(t), "-b;sin(t);");
title("Test EMF")
xlabel ("X label")
ylabel ("Y label")
print t1.pdf -svgconvert



b) then in the shell converting using usual toolchain (except using pdf rather
than postscript as a starting point).
"-ssp" seems to be the key option to render fonts correctly.


pstoedit -ssp -f fig t1.pdf t1.fig
fig2dev -L emf t1.fig t1.emf


emf file is attached. This is with our "standard" FreeSans font.
The result not so good w/ e.g. Noto font.

Perhaps we can modify the print command accordingly (switch to pdf with
svgconvert option).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55906>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]