bugGNU Octave - Bugs: bug #54505, doc: default axes tightinset and...

 
 

bug #54505: doc: default axes tightinset and text extent properties differ between systems

Submitter:  Mike Miller <mtmiller>
Submitted:  Sun 12 Aug 2018 11:19:08 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 Aug 2018 09:59:36 PM UTC, comment #3: 

I checked in a changeset which stops printing the default value for the read-only properties of "tightinset" and "extent".  I did this on the stable branch here https://hg.savannah.gnu.org/hgweb/octave/rev/e06ce02f4f74.

Marking this bug as fixed and closing it.  However, it would be useful to review the manual section covering the graphics properties to see if there are any other instances of properties where the default should not be shown.

Rik <rik5>
Group administrator
Mon 13 Aug 2018 06:39:51 PM UTC, comment #2: 

Ok, so this might be related to FreeType 2.6 vs 2.8. There were some changes in font metrics with the 2.8 release (see for example https://savannah.nongnu.org/bugs/?52165). I am using FreeType 2.8.1.

Mike Miller <mtmiller>
Group Member
Mon 13 Aug 2018 05:59:20 PM UTC, comment #1: 

Both properties are derived and we should not document their default value. Now I don't really understand how the default value can differ from a system to another except if a different version of freettype library or freesans font are used.

Pantxo Diribarne <pantxo>
Group Member
Sun 12 Aug 2018 11:19:08 PM UTC, original submission:  

The default values of the axes property 'tightinset' and the text property 'extent' may differ between systems. Is the default value coded or derived? Is it dependent on some run-time condition?

In the 4.4.1 distribution uploaded by jwe to ftp.gnu.org, the axes 'tightinset' property says the default value is '[0.042857   0.035725   0.000000   0.023810]'.

On my system the default value is '[0.042857   0.038106   0.000000   0.023810]'.

And for the text 'extent' property, the default is documented as '[0   0   0   0]'. But on my system the default value is '[0.000000  -0.005843   0.000000   0.032136]'.

Mike Miller <mtmiller>
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 rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by mtmiller (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-13 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code