unreadable fonts in spm

5 Ansichten (letzte 30 Tage)
Raczy
Raczy am 14 Jun. 2019
Beantwortet: VM am 23 Dez. 2019
Hi, I set a path for my spm toolbox and the font in the URL is unreadable. Anybody has already had this problem?

Antworten (2)

Elisabeth Liljestrand
Elisabeth Liljestrand am 7 Okt. 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 am 23 Dez. 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'),...

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by