From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Subject: Re: Wasteful internationalization Newsgroups: comp.lang.ada References: <51p83bF1k9di7U1@mid.individual.net> <51rhs3F1m1jliU1@mid.individual.net> <1170179201.13783.76.camel@localhost> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit Message-ID: Date: Sat, 03 Feb 2007 00:49:45 GMT NNTP-Posting-Host: 83.250.96.174 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1170463785 83.250.96.174 (Sat, 03 Feb 2007 01:49:45 CET) NNTP-Posting-Date: Sat, 03 Feb 2007 01:49:45 CET Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:8861 Date: 2007-02-03T00:49:45+00:00 List-Id: Stephen Leake wrote: > That's a "small box" on my display. Apparently I'm missing that font. > > Which is a good reason to not use such characters in programs. How > many people would know how to install the right fonts? (hint; not me > :) And how do you figure out what fonts they will need? I don't see the problem. There are two cases: Characters that the program itself uses, and Unicode text data that the program processes and displays. The first case might apply to a physics program that uses certain mathematical symbols. This is no different from dynamic linking. You have complete control over which characters your program uses, so you know what fonts it needs just like you know what libraries it needs. For Windows the common practice is to distribute all the necessary DLLs with your program. (At least I think it still is. I don't follow the events in the Windows world very closely.) Just handle fonts the same way – distribute them with the program. The modern Unix-like operating systems that I know anything about are typically based on some kind of package manager that handles dependencies. When packaging the program you specify which library packages it depends on, and the user's package manager will ensure that they are installed. Again, just handle fonts the same way – make the program depend on the necessary fonts. The second case applies to web browsers, email and Usenet clients, word processors and so on. These programs should ideally be able to display any Unicode character. That's impossible in practice as long as Unicode is growing. Users may also prefer not to have so many fonts installed. You might not want to have 60000 Chinese characters occupying disk space if you can't read Chinese anyway. This is no reason to limit these programs to ASCII. They're much more useful with Unicode support and an incomplete set of fonts than with only ASCII support. They just need to cope with missing fonts and display something else instead – and that's exactly what they do. > I assume these problems will eventually be solved. But I don't trust > Microsoft to solve them in a nice way ("the program you are trying to > compile requires font foobar. Please deposit $20.00 to download it" :). Yes, some fonts cost money, as do some libraries. There are also free and gratis fonts, just like there are free and gratis libraries. -- Björn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu