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

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

[Octave-bug-tracker] [bug #58110] Nimbus Sans not working in plot with p


From: anonymous
Subject: [Octave-bug-tracker] [bug #58110] Nimbus Sans not working in plot with pdf as output
Date: Fri, 3 Apr 2020 20:43:01 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0

URL:
  <https://savannah.gnu.org/bugs/?58110>

                 Summary: Nimbus Sans not working in plot with pdf as output
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 04 Apr 2020 12:43:00 AM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Albert
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Given the following snippet, the generated pdf doesn't use Nimbus Sans font
properly. I have it installed, and fc-match 'Nimbus Sans' returns
`NimbusSans-Regular.otf: "Nimbus Sans" "Regular"`. Free Helvetian, another
font installed on my system, seems to work fine. Both plots are attached.


set (0, "defaultaxesfontsize", 12)
set (0, "defaulttextfontsize", 12)

% set (0, "defaultaxesfontname", "Free Helvetian") % works
% set (0, "defaulttextfontname", "Free Helvetian")

set (0, "defaultaxesfontname", "Nimbus Sans")
set (0, "defaulttextfontname", "Nimbus Sans")

plot(1:10)
title('longer title seen')
xlabel('complexity')
ylabel('performance (higher is better)')

set(gcf, 'PaperPosition', [0 0 8 6]);
set(gcf, 'PaperSize', [8 6]);
print(1, "test.pdf", '-dpdf')


ENV:
OS: Debian Bullseyee 11
gnuplot: 5.2 patchlevel 8



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 04 Apr 2020 12:43:00 AM UTC  Name: freehelvetian-correct.pdf  Size:
8KiB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=48749>
-------------------------------------------------------
Date: Sat 04 Apr 2020 12:43:00 AM UTC  Name: nimbussans-incorrect.pdf  Size:
8KiB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=48750>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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