bugGNU Octave - Bugs: bug #56146, Qt graphics toolkit reports...

 
 

bug #56146: Qt graphics toolkit reports "text_renderer: skipping missing glyph" when creating button, but result is correct

Submitted by:  Valdas <zmogas>
Submitted on:  Wed 17 Apr 2019 02:21:57 PM UTC  
 
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 17 Apr 2019 07:36:29 PM UTC, comment #2:

This is partly related to bug #48446: in order to get an idea of the text extent, we currently use our internal text rendering engine, with the default font (FreeSans). Looks like our copy of FreeSans features '◂' but not '⏮'.
As Rik said, Qt must be using a font that has both characters. So either we wait for bug #48446 to be solved, or we change the default font for uicontrol objects to match Qt's. The former may take a while, the latter may be difficult since Qt's font is probably OS/theme dependent.

Pantxo Diribarne <pantxo>
Project Member
Wed 17 Apr 2019 03:25:47 PM UTC, comment #1:

Confirmed. Although the text engine warning does seem to be accurate. The following does not show the requested glyph.

It seems that uicontrol must be finding a font where the character is known.

Rik <rik5>
Project Administrator
Wed 17 Apr 2019 02:21:57 PM UTC, original submission:

If I execute this code:

figure; uicontrol('style', 'pushbutton', 'string', '⏮')

in console I get:
warning: text_renderer: skipping missing glyph for character '23ee'
warning: called from
uicontrol at line 117 column 8

But Octave creates button with correct char anyways (see screenshot).

I get no warnings when execute: figure; uicontrol('style', 'pushbutton', 'string', '◂')

Valdas <zmogas>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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 (Posted a comment)
  • -email is unavailable- added by zmogas (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-17 rik5 CategoryPlotting => Plotting with OpenGL
        Severity3 - Normal => 2 - Minor
        StatusNone => Confirmed
    2019-04-17 zmogas Attached File- => Added Screenshot_20190417_171844.png, #46782

    Back to the top


    Powered by Savane 3.4