411 REFERENCE · Wikibooks
SPM/fonts
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
SPM-FONT-FIXES
Some users may experience problems with fonts being too small. This entry is a compilation of suggested fixes.
Note: Some of these these fixes may work on some platforms and not others. You may have to combine several fixes.
Fix #1Darren Gitelman 26/10/2004 Gitelman2004
This fix has worked on some Windows machines, but does not resolve all problems.
Open spm.m
This file is generally located under ~/spm8/spm.m on *NIX systems, and under C:\spm\spm8\spm.m on Windows
On or around line 631 replace:
if nargin<2, FS=1:36; else FS=varargin{2}; end
with:
if nargin<2, FS=2:36; else FS=varargin{2}; end
Fix #2Joel Winston Winston
Open spm.m
This file is generally located under ~/spm8/spm.m on *NIX systems, and under C:\spm\spm8\spm.m on Windows
On or around line 636 replace:
sf = offset + 0.85*(min(spm('WinScale'))-1);
with:
sf = offset - 0.85*(min(spm('WinScale'))-1);
Combining Fix #1 and Fix #2 may resolve the problem in some situations.Marco Tettamanti 28/10/2004 Tettamanti2004
Mac specific fix
If you are using a Mac open up the spm.m file as indicated above, scroll to line 664 and replace
offset = 1;
with:
offset = 1.4;
and this will solve all your font issues.
Other suggestions for font and display issues have included turning on the Graphics window resize property and viewing the output after printing to a ps file.Darren Gitleman Gitleman
References
Return to SPM