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

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

[Octave-bug-tracker] [bug #52974] print to PostScript does not respect F


From: Rik
Subject: [Octave-bug-tracker] [bug #52974] print to PostScript does not respect FontName property
Date: Thu, 25 Jan 2018 13:58:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52974>

                 Summary: print to PostScript does not respect FontName
property
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 25 Jan 2018 10:58:54 AM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When I set the font on a text object, it is rendered properly in the plot
window.  However, when I print to a Postscript format, the font is ignored and
replaced by Helvetica.  This is bad enough, but it affects many, many other
output formats which are generated first as a PostScript object and then
converted to their final form such as png or jpg.

Attached is a simple script to demonstrate the problem.


close all
graphics_toolkit qt
ht = text (0.5, 0.5, "Emerging, 1>2 RandD Services",
           "fontname", "arial","fontsize", 20);
print -color tstfont.eps
print -color tstfont.svg


If you look at the resulting eps file the text is tagged as belonging to the
Helvetica font.  The export to svg gets it right.

This may be a problem upstream with gl2ps.  I believe I am using self-compiled
version 1.4.0.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52974>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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