bugGNU Octave - Bugs: bug #64890, Font display scrambled for some...

 
 

bug #64890: Font display scrambled for some fonts and sizes

Submitter:  Bill Eaton <wpeaton>
Submitted:  Mon 13 Nov 2023 06:32:30 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 8.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Nov 2023 09:29:31 AM UTC, comment #2: 

This is a duplicate of bug #49216, which has indeed been present for a while. Closing this report and marking as dependent on 49216.

Pantxo Diribarne <pantxo>
Group Member
Mon 13 Nov 2023 09:15:05 PM UTC, comment #1: 

Missing attachments?

Anonymous
Mon 13 Nov 2023 06:32:30 PM UTC, original submission:  

I think this behavior has been present for a while (i.e. in previous versions of Octave < 8.2), but I'm just reporting it now.

For some fonts (Calibri and Cambria and probably others), and some sizes (11 through 17), the on-screen display in plots (titles, xlabel, ylabel, xticks, yticks) is gibberish. BUT the printed files are fine. The code below (and identical attached script) reproduce the problem.


figure;
plot(1:10, 1:10);
xlabel('xlabel'); ylabel('ylabel'); title('title');
set(gca, 'FontName', 'Calibri');
set(gca, 'FontSize', 12); % display screwy for sizes 11-17
print('printed_file.png');
+verbatim+

Attached file 'screen_cap.png' shows the gibberish text displayed. And 'printed_file.png' shows legible text.

Bill Eaton <wpeaton>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #55328:  printed_file.png added by wpeaton (19KiB - image/png)
file #55326:  plot_font_test.m added by wpeaton (203B - application/octet-stream)
file #55327:  screen_cap.png added by wpeaton (12KiB - image/png)

 

Digest:
   bug dependencies.

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 wpeaton (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-11-14 pantxo CategoryGUI Plotting with OpenGL
        StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #49216
    2023-11-13 wpeaton Attached File- Added screen_cap.png, #55327
        Attached File- Added printed_file.png, #55328
    2023-11-13 wpeaton Attached File- Added plot_font_test.m, #55326

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code