[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DEBUG: FC_WEIGHT didn't match

From: Ian McCallion
Subject: Re: DEBUG: FC_WEIGHT didn't match
Date: Thu, 13 Feb 2020 12:31:50 +0000

On Thu, 13 Feb 2020 at 11:13, Ian McCallion <address@hidden> wrote:
On Thu, 13 Feb 2020 at 03:04, Kai Torben Ohlhus <address@hidden> wrote:
On 2/13/20 1:49 AM, Ian McCallion wrote:
> I have just updated to the latest windows version:
>   > ver
>   Microsoft Windows [Version 10.0.18363.592]
> and now I get a message I've never seen before: "DEBUG: FC_WEIGHT didn't
> match" on the print statement in the code below. This applies under
> Octave versions 4.4.1 and 5.2.0. 
> A quick internet search suggests it's a ghostscript problem, but I've
> tried removing myfont and the set statement and neither makes any
> difference. Apparently it's a fontconfig problem but nowhere am I
> explicitly using fontconfig.
> Any ideas how to get rid of the debug message?
> Cheers... Ian
> -------------------------------------------------------
>   <snip>
> ---------------------------------------------------------------

Sorry, I cannot reproduce the message.  In your example
"listRowsInTouch" is not defined.

Apologies! I was hoping/expecting someone on the list to recognise the error.

An updated version of the code is attached which runs standalone on my machine and produces the error.

Did you reinstall Octave since updating MS Windows?

No. I will try that now, but I will need to re-download it so it will take some time. 

I've now uninstalled and reinstalled:
   GNU Octave Version: 5.2.0 (hg id: eb46a9f47164)
   GNU Octave License: GNU General Public License
   Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64 
and I still get the "DEBUG: FC_WEIGHT didn't match" message.

Code is below. 

Cheers... Ian


msThreshold = .5;
% 23a. Set graphing defaults used by all subsequent plots
set(0, 'defaulttextfontsize', 15)

% 23b. Create png file of SD By Row
thisfig = figure(1, 'visible','on');
xrange = 1:length(listRowsInTouch);
plot(xrange, [ssd; mean(ssd)*ones(1,db.nRowsInTouch); msThreshold*ones(1,db.nRowsInTouch)], 'Linewidth',2);
thislegend=legend('Actual','Average over touch','Threshold');
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, fsOutStdByRow, mywidegraphs{:});

reply via email to

[Prev in Thread] Current Thread [Next in Thread]