#92 !P.FONT=1 is ignored (and probably could be easily implmted)

closed
nobody
None
5
2018-04-07
2011-03-10
No

!P.FONT=1 should cause GDL to switch from Harshey fonts to something less old-school :)

Discussion

  • Sylwester Arabas

    Just an update: with the current CVS version, when !P.FONT is set to 1, and set_plot, 'ps' is called, than the "psttf" plplot driver is used instead of "ps"... anyhow, that does not lead to anything meaningfull at the moment:

    GDL> !P.FONT=1
    GDL> set_plot, 'ps'
    GDL> plot, [0]

    gdl(7137) malloc: *** error for object 0x7fff70a39500: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug

    Program received signal SIGABRT, Aborted.
    0x00007fff88425616 in __kill ()
    (gdb) bt
    #0 0x00007fff88425616 in __kill ()
    #1 0x00007fff884c5cca in abort ()
    #2 0x00007fff883dd6f5 in free ()
    #3 0x00000001020a6a41 in std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow ()
    #4 0x00000001020ab70c in std::basic_streambuf<char, std::char_traits<char> >::xsputn ()
    #5 0x00007fff85100ae4 in std::__ostream_write<char, std::char_traits<char> > ()
    #6 0x00007fff850feb98 in std::__ostream_insert<char, std::char_traits<char> > ()
    #7 0x00000001026e5c0b in plD_bop_psttf ()
    #8 0x0000000100db946f in plP_bop ()
    #9 0x0000000100dba4de in c_plinit ()
    #10 0x0000000100e0d216 in plstream::init ()
    #11 0x000000010069b8a1 in GDLPSStream::Init ()
    #12 0x00000001006a8f64 in DevicePS::InitStream ()
    #13 0x00000001006a908a in DevicePS::GetStream ()
    #14 0x000000010078543f in lib::plot ()
    #15 0x00000001007a07d5 in PCALL_LIBNode::Run ()
    #16 0x0000000100091343 in GDLInterpreter::statement ()
    #17 0x0000000100091c0d in GDLInterpreter::interactive ()
    #18 0x0000000100659a8b in DInterpreter::ExecuteLine ()
    #19 0x000000010065aef5 in DInterpreter::InterpreterLoop ()
    #20 0x00000001007c363c in main ()

    No idea yet :(

     
  • giloo

    giloo - 2013-01-03

    at least with current version it does not crash^))

     
  • Sylwester Arabas

    • status: open --> closed
    • Group: --> Next Release (example)
     
  • Sylwester Arabas

    It actually works! :)
    Closing.

     

Log in to post a comment.