home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!wupost!waikato.ac.nz!pdenize
- From: pdenize@waikato.ac.nz
- Newsgroups: comp.sys.acorn
- Subject: Font Cache Thrashing
- Message-ID: <1992Aug28.113253.10423@waikato.ac.nz>
- Date: 28 Aug 92 11:32:53 +1200
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 44
-
-
- I just discovered a font cache that looked like this
-
- *fontlist
- Name Size Dots/inch Use Memory
- ---- ---- --------- --- ------
- 1. AvantGarde.Demi 280 point 90x90 0 2 Kbytes
- 2. AvantGarde.Demi master outlines 0 4 Kbytes
- 3. Avant.Garde.Demi.Oblique 8 point 90x90 0 3 Kbytes
- 4. Avant.Garde.Demi.Oblique master outlines 0 2 Kbytes
- 5. Avant.Garde.Demi.Oblique 8 point 90x90 0 3 Kbytes
- 6. Avant.Garde.Demi.Oblique master outlines 0 2 Kbytes
- ...
- many lines removed
- ...
- 245. Avant.Garde.Demi.Oblique 8 point 90x90 0 3 Kbytes
- 246. Avant.Garde.Demi.Oblique master outlines 0 4 Kbytes
- 247. Avant.Garde.Demi.Oblique 8 point 90x90 0 3 Kbytes
- 248. Avant.Garde.Demi.Oblique master outlines 0 4 Kbytes
- 249. Avant.Garde.Demi.Oblique 8 point 90x90 0 3 Kbytes
- 250. Avant.Garde.Demi.Oblique master outlines 0 4 Kbytes
-
- Cache size: 1024 Kbytes
- free: 3 Kbytes
- *
-
- And it occured to me that something was wrong.
-
- The problem is that Avant-Garde was named differently inside the font. Thus it
- loaded it again and again and again and ...
-
- If your font cache is swapping a lot then you may wish to check for this
- problem yourself.
-
-
- Paul Denize
-
- --------------------------------------------------------------------------
- Paul Denize Internet: PDenize@Waikato.ac.nz
- Department of Computer Science
- University of Waikato phone: ++64 7 8562-889
- Hamilton Ext 8743
- NEW ZEALAND fax : ++64 7 8560-135
- --------------------------------------------------------------------------
-