bugGNU Octave - Bugs: bug #39581, changing axes font doesn't update...

 
 

bug #39581: changing axes font doesn't update tightinset

Submitter:  Ben Abbott <bpabbott>
Submitted:  Sat 27 Jul 2013 04:45:25 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Ben Abbott Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Feb 2015 11:25:27 PM UTC, comment #3: 

Nice.  Thanks Panxto.  Closing report.

Rik <rik5>
Group administrator
Mon 09 Feb 2015 10:25:24 PM UTC, comment #2: 

Very simple change!

I'm unable to build the default branch due to clang problems with MacOS Yosemite. However, the changes applied cleanly to the stable branch and works as expected.

Ben Abbott <bpabbott>
Group Member
Mon 09 Feb 2015 08:53:10 PM UTC, comment #1: 

Hi,

I pushed a changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/2b93834e5ede) that fixes the issue also for fontname, fontweight and fontangle properties:


>> axes

>> get (gca (), "tightinset")

ans =

   0.042857   0.042759   0.000000   0.023753

>> set (gca (), "fontsize", 30)

>> get (gca (), "tightinset")

ans =

   0.10179   0.09739   0.00000   0.02375

>> set (gca, "fontangle", "italic")
>> get (gca (), "tightinset")
ans =

   0.10179   0.09739   0.00000   0.02375

>> set (gca, "fontweight", "bold")
>> get (gca (), "tightinset")
ans =

   0.11071   0.09739   0.00000   0.02375

>> set (gca, "fontname", "Arial")
>> get (gca (), "tightinset")
ans =

   0.091071   0.095016   0.000000   0.023753


Pantxo Diribarne <pantxo>
Group Member
Sat 27 Jul 2013 04:45:25 PM UTC, original submission:  

The axes "tightinset" is unaffected by a change to the fontsize


figure ()
get (gca (), "tightinset")
ans =

   0.046429   0.042868   0.000000   0.023810

set (gca (), "fontsize", 30)
get (gca (), "tightinset")
ans =

   0.046429   0.042868   0.000000   0.023810


Ben Abbott <bpabbott>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by bpabbott (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-09 rik5 Open/ClosedOpen Closed
    2015-02-09 bpabbott StatusConfirmed Fixed
    2013-09-10 rik5 StatusNone Confirmed
    2013-09-09 rik5 Summarychangeing axes font doesn\'t update tightinset changing axes font doesn't update tightinset
    2013-07-27 bpabbott CategoryPlotting Plotting with OpenGL

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code