bugGNU Octave - Bugs: bug #58002, [MXE Octave] DEBUG: FC_WEIGHT...

 
 

bug #58002: [MXE Octave] DEBUG: FC_WEIGHT didn't match

Submitter:  Ian McCallion <ianmcc>
Submitted:  Mon 16 Mar 2020 07:05:44 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 20 Mar 2020 12:03:23 PM UTC, comment #3: 

Was also in 5.1.0


>> version
ans = 5.1.0
>> system("gs --version")
9.26
ans = 0
>> test_gs
Plot a graph using gnuplot
DEBUG: FC_WEIGHT didn't match
Elapsed time is 1.33492 seconds.
Graph plotted
>>



John Donoghue <lostbard>
Group Member
Wed 18 Mar 2020 02:21:32 PM UTC, comment #2: 

I have attached a comment to this ghostscript bug report: https://forum.manjaro.org/t/ghostscript-problem-april-2019/81385/21.

Ian McCallion <ianmcc>
Wed 18 Mar 2020 01:43:33 PM UTC, comment #1: 

Afaiu, that is a bogus warning when ghostscript uses fontconfig to enumerate the installed fonts.
I don't understand ghostscript or fontconfig good enough to know what has to be done to avoid or suppress this warning.

Markus Mützel <mmuetzel>
Group administrator
Mon 16 Mar 2020 07:05:44 PM UTC, original submission:  

This warning message occurs under some conditions when plotting. The problem started in 5.2.0 but did not occur in 4.4.1.

This code exhibits the problem:


tic()
graphics_toolkit('gnuplot');
figure(1, 'visible', 'off')
fprintf('Plot a graph using %s\n', graphics_toolkit )
myfont={'fontsize',25,'fontweight','bold'};
mygraphs={'-dpng','-S800,800'};
mywidegraphs={'-dpng','-S1800,800'};
set(0, 'defaulttextfontsize', 25)
xrange = 1:10;
ssd=xrange.+rand(1,10);
plot(xrange, [ssd; mean(ssd)*ones(1,10)], 'Linewidth',2);
legend('Actual','Average over touch')
axis([0, xrange(end)+2, min(ssd)-5, 5+max(10,max(ssd))])
xlabel('Row number', myfont{:})
ylabel('Milliseconds', myfont{:})
title('Standard Deviation (Touch only)', myfont{:})
grid ('on')
print (1, [graphics_toolkit, '1.png'], mywidegraphs{:})
toc()
fprintf('Graph plotted\n')


Ian McCallion <ianmcc>

 

(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 lostbard (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by ianmcc (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-18 mmuetzel StatusNone Confirmed
        Release5.2.0 dev
        SummaryDEBUG: FC_WEIGHT didn't match [MXE Octave] DEBUG: FC_WEIGHT didn't match

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code