home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!ldo
- From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Alg. for Detection of Monspaced Fonts
- Message-ID: <1992Dec17.162443.12862@waikato.ac.nz>
- Date: 17 Dec 92 16:24:43 +1300
- References: <scott.724029618@phylo> <6534.2b28a410@hayes.com> <de19-141292204941@mac06-pg2.umd.edu>
- Followup-To: comp.sys.mac.programmer
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 24
-
- In article <de19-141292204941@mac06-pg2.umd.edu>, de19@umail.umd.edu (Dana S Emery) writes:
- >
- > Computer code, Email and plaintext documents often look best when rendered
- > in a monospaced font, especially when they contain tabular material which
- > was laid out using a monospaced font. The user is not always knowledgable
- > as to what fonts are monospaced, and program help is often considered
- > welcome for this.
-
- And such material typically only uses a restricted character set as well,
- doesn't it? Typically 95 characters (standard ASCII), or some other number
- less than 256. So it would be practical to check the width information for
- all the characters you're interested in, and make sure they're all the same.
- Simple.
-
- > BTW, dont try to analyse the entirety of ALL fonts, some are rather a bit
- > larger than you would think :-).
-
- Just a thought: all the writing systems with large character sets that I can
- think of (Chinese, Japanese and Korean) are actually monospaced, aren't they?
-
- Lawrence D'Oliveiro fone: +64-7-856-2889
- Computer Services Dept fax: +64-7-838-4066
- University of Waikato electric mail: ldo@waikato.ac.nz
- Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
-