unreadable fonts in spm

5 次查看(过去 30 天)
Raczy
Raczy 2019-6-14
回答: VM 2019-12-23
Hi, I set a path for my spm toolbox and the font in the URL is unreadable. Anybody has already had this problem?

回答(2 个)

Elisabeth Liljestrand
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 2019-12-23
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'),...

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by