SPM/fonts

From Wikibooks, open books for an open world
< SPM
Jump to: navigation, search


[edit] 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 #1[1]

This fix has worked on some Windows machines, but does not resolve all problems.

  1. Open spm.m
    • This file is generally located under ~/spm8/spm.m on *NIX systems, and under C:\spm\spm8\spm.m on Windows
  2. 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 #2[2]

  1. Open spm.m
    • This file is generally located under ~/spm8/spm.m on *NIX systems, and under C:\spm\spm8\spm.m on Windows
  2. On or around line 636 replace:
   sf  = offset + 0.85*(min(spm('WinScale'))-1);

with:

   sf  = offset - 0.85*(min(spm('WinScale'))-1);
  • You may also try to change 0.85 to a slightly smaller number.

Combining Fix #1 and Fix #2 may resolve the problem in some situations.[3]


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.[4]

[edit] References

  1. Darren Gitelman (26/10/2004) 
  2. Joel Winston 
  3. Marco Tettamanti (28/10/2004) 
  4. Darren Gitleman 

Return to SPM

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export