[Top][All Lists]

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

[Octave-bug-tracker] [bug #52193] Font choices are ignored when printing

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52193] Font choices are ignored when printing to an image file
Date: Mon, 8 Oct 2018 15:01:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Follow-up Comment #52, bug #52193 (project octave):

Integrating octave-svgconvert into the build system should be something like

--- a/src/module.mk
+++ b/src/module.mk
@@ -49,6 +49,11 @@ if AMCOND_BUILD_QT_GUI
   OCTAVE_INTERPRETER_TARGETS += %reldir%/octave-gui$(EXEEXT)
+  archlib_PROGRAMS += %reldir%/octave-svgconvert
+  OCTAVE_INTERPRETER_TARGETS += %reldir%/octave-svgconvert$(EXEEXT)
   libinterp/liboctinterp.la \
   liboctave/liboctave.la \
@@ -115,6 +120,14 @@ endif
+%canon_reldir%_octave_svgconvert_SOURCES = %reldir%/octave-svgconvert.cc
+%canon_reldir%_octave_svgconvert_CPPFLAGS = $(QT_CPPFLAGS)
+%canon_reldir%_octave_svgconvert_LDADD = $(QT_LIBS)
+%canon_reldir%_octave_svgconvert_LDFLAGS = $(QT_LDFLAGS)
 %canon_reldir%_mkoctfile_SOURCES =
 nodist_%canon_reldir%_mkoctfile_SOURCES = %reldir%/mkoctfile.cc

This is untested, just based on what I would start with. This is a completely
standalone program that doesn't use any Octave headers or libraries, right?

This will install the program octave_config_info("archlibdir"), which is where
octave-gui is installed. I think that directory is added to $PATH when Octave
starts, so it should be callable by name. When using ./run-octave, when it
hasn't been installed yet, something may have to be done to the environment to
allow the program to be found in the build directory.


Reply to this item at:


  Message sent via Savannah

reply via email to

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