unreadable fonts in spm

5 views (last 30 days)
Raczy
Raczy on 14 Jun 2019
Answered: VM on 23 Dec 2019
Hi, I set a path for my spm toolbox and the font in the URL is unreadable. Anybody has already had this problem?

Answers (2)

Elisabeth Liljestrand
Elisabeth Liljestrand on 7 Oct 2019
Hi !
Did you ever solve the problem?
I have a similar problem but not only in the toolbox you mention but in the matlab menu.
Thanks

VM
VM on 23 Dec 2019
Hi,
Follow these intructions:
Except if 'Arial Narrow' is not working, use 'FixedWidthFontName' instead.
cd(spm('Dir'))
load spm_Menu.fig -mat
hgS_070000.properties.DefaulttextFontName='FixedWidthFontName'; hgS_070000.properties.DefaultuicontrolFontName='FixedWidthFontName';
save spm_Menu.fig hgS_070000 -v6
% Edit spm/spm_Welcome.m and modify line: PF.helvetica = 'FixedWidthFontName';
set(0,'defaultTextFontName','FixedWidthFontName')
set(0,'defaultUicontrolFontName','FixedWidthFontName')
% Edit spm/matlabbatch/private/cfg_mlbatch_defaults.m and modify lines:
cfg_defaults.cfg_ui.lfont = {'FontAngle','normal',...
'FontName',get(0,'FixedWidthFontName'),...
cfg_defaults.cfg_ui.bfont = {'FontAngle',get(0, 'factoryUicontrolFontAngle'),...
'FontName',get(0,'FixedWidthFontName'),...

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!