bugGNU Octave - Bugs: bug #40158, FontUnits property only works for...


bug #40158: FontUnits property only works for "points"

Submitted by:  Rik <rik5>
Submitted on:  Wed 02 Oct 2013 04:45:20 AM UTC  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun 03 Aug 2014 08:14:58 AM UTC, comment #3:

@Rik: I had the intension to check it again and push it when I am back from vacations (2 weeks ago). If you have time to check it then it's even better.

Pantxo Diribarne <pantxo>
Project Member
Sun 03 Aug 2014 06:45:32 AM UTC, comment #2:

@Panxto: Should your patch be applied?

Rik <rik5>
Project Administrator
Sun 11 May 2014 09:01:41 PM UTC, comment #1:


I attached a patch:

  • it introduces a new hidden property "fontsize_points" (for axes and text) for which a custom get_fontsize_points method was already in place (but unused).
  • most part of the conversion/update work was already in place for axes so I borrowed code from there for text objects.

(file #31361)

Pantxo Diribarne <pantxo>
Project Member
Wed 02 Oct 2013 04:45:20 AM UTC, original submission:

The following code should use inches for the fontunits which should create something very large. Instead, the "FontSize" property is always interpreted in points.

Rik <rik5>
Project Administrator


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

Attach File(s):

Attached Files
file #31361:  update_fontunits.patch added by pantxo (6kB - application/x-download)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pantxo (Updated the item)
  • -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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 May 2014 09:01:41 PM UTCpantxoAttached File-=>Added update_fontunits.patch, #31361

    Back to the top

    Powered by Savane 3.1-cleanup