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

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

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


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #52193] Font choices are ignored when printing to an image file
Date: Sun, 11 Nov 2018 16:57:31 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

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

@Panxto:
In debug mode:

debug> fullfile (__octave_config_info__ ("datadir"), "font", "FreeSans.otf")
ans =
L:\philip\devel\octdev\mxe\mxe64b_20180926\dist\octave\mingw64\share\font\FreeSans.otf
debug>
debug> sprintf ("%s - %%s %3.2f %s %d %%s", opts.svgconvert_binary, ...
 get (0, "screenpixelsperinch"), def_font, 1)
ans =
L:\philip\devel\octdev\mxe\mxe64b_20180926\dist\octave\mingw64\libexec\octave\5.0.0\exec\x86_64-w64-mingw32\octave-svgconvert.exe
- %s 72.05
L:\philip\devel\octdev\mxe\mxe64b_20180926\dist\octave\mingw64\share\font\FreeSans.otf
1 %s
debug>
debug> opts.debug
ans = 0


so it looks like this part works in Windows. The octave-svgconvert binary is
in the indicated location.

Continuing debug-stepping, the "Unable to add default font to database" comes
from a call to drawnow() in ____open_gl_print__() at L.193. (but you might
know that).

Anything else I can try?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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