bugGNU Octave - Bugs: bug #45788, get extent with missing font in in...

 
 

bug #45788: get extent with missing font in in Windows 8 returns zero height

Submitted by:  jsh <jsh>
Submitted on:  Tue 18 Aug 2015 12:53:02 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 15 Oct 2017 08:35:49 PM UTC, comment #2:

Thanks Hartmut, I'll close this report as fixed even though I don't know what fixed this issue.

Pantxo Diribarne <pantxo>
Project Member
Thu 29 Dec 2016 10:51:52 PM UTC, comment #1:

I have tested this with Octave 4.2.0 under Windows XP:

  • no warning about a missing font is issued any more
  • the return value of the extend is nonzero in all components
  • the return value of the fontname is "bar"

So the (second) issue, as mentioned in the title, seems fixed to me.

Is this overall behavior better now? Can this bug report be closed? Or which of those behaviors is still buggy?

Hartmut <hardy>
Tue 18 Aug 2015 12:53:02 AM UTC, original submission:

The following snippet will in the Qt Gui on Windows 8 results in (1) a warning for a missing font which is ok, (2) extent(4)=0 which should be the height parameter, (3) font='*' which I guess is a substitute for the default font name.

I think the correct result is that font should be set to the actual default font name and the extent(4) should be the actual/corresponding height (this also seem to work fine on Linux).

jsh <jsh>

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by jsh (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Oct 2017 08:35:49 PM UTCpantxoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1