#618 font initialization failure of emf terminal

None
closed-accepted
nobody
None
5
2013-05-20
2013-04-26
No

I received a report the following fails to put some strings:

set term emf
set out 'file.emf'
test
set out

The initialization of the default font of emf terminal may be
done twice by EMF_set_font(NULL) in EMF_options() and
EMF_graphics(). But the former has no effect since emf_graphics
is FALSE in EMF_options(). Moreover, it prevents the latter to
set the default font, because it set the last_font{name,size}.

We may fix the problem to remove EMF_set_font(NULL) in
EMF_options().

1 Attachments

Discussion

  • Shigeharu TAKENO

    Attached file emf-test-1.emf is the "test" output with uninitialized font.

     
    Attachments
  • Shigeharu TAKENO

    Attached file emf-test-2.emf is the "test" output by gnuplot applied the patch.

     
    Attachments
  • Shigeharu TAKENO

    I forgot to report the version of gnuplot. This problem appeared on gnuplot-4.6.1 (2012 09).

     
  • Ethan Merritt

    Ethan Merritt - 2013-05-20
    • status: open --> closed-accepted
    • Group: -->
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks