bugGNU Octave - Bugs: bug #42939, gnuplot does not scale on-screen...

 
 

bug #42939: gnuplot does not scale on-screen font based on fontsize

Submitted by:  Rik <rik5>
Submitted on:  Thu 07 Aug 2014 11:37:25 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 08 Aug 2014 04:13:40 PM UTC, comment #2:

I tried with a number of different font names, but I can't get it to work. However, you are right that this is a problem caused by the backend terminal used by gnuplot. I set the environment variable GNUTERM to wxt in a shell and then launched and everything worked fine. The qt terminal also worked, but setting it to x11 brought back this issue. I'm going to close this report since this isn't a problem with Octave.

Rik <rik5>
Project Administrator
Fri 08 Aug 2014 02:43:28 PM UTC, comment #1:

I believed that this is because GNUPLot defaults to using a non scalable font under X11 (specifically one known as "fixed").

If you explicitly pick a scalable font:

set (ht, "fontsize", 40, 'FontName', 'Helvetica')

then it will work fine.

Serviscope Minor <serviscope_minor>
Thu 07 Aug 2014 11:37:25 PM UTC, original submission:

Using gnuplot, the fontsize property does not seem to work for on-screen display. If I print the plot to an eps file the fontsize property is used.

Sample code:

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by serviscope_minor (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Aug 2014 04:13:40 PM UTCrik5StatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Fri 08 Aug 2014 03:52:39 AM UTCrik5Carbon-Copy-=>Added -unavailable-
    Fri 08 Aug 2014 03:44:20 AM UTCrik5Dependencies-=>bugs #42884 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup1