Add a small comment explaining my failure to find any way to get QuickDraw
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 20:11:38 +0000 (20:11 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Dec 2002 20:11:38 +0000 (20:11 +0000)
to give me the missing-character glyph for a font.
While I'm here, change the character we substitute for unmappable ones
to '.', since that's what the charset library uses.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2397 cda61777-01e9-0310-a592-d414129be87e

mac/macterm.c

index 6d0904b..8218f2b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: macterm.c,v 1.27 2002/12/31 01:40:14 ben Exp $ */
+/* $Id: macterm.c,v 1.28 2002/12/31 20:11:38 ben Exp $ */
 /*
  * Copyright (c) 1999 Simon Tatham
  * Copyright (c) 1999, 2002 Ben Harris
@@ -261,7 +261,13 @@ static pascal OSStatus uni_to_font_fallback(UniChar *ucp,
 
     if (olen < 1)
        return kTECOutputBufferFullStatus;
-    *obuf = '?';
+    /*
+     * What I'd _like_ to do here is to somehow generate the
+     * missing-character glyph that every font is required to have.
+     * Unfortunately (and somewhat surprisingly), I can't find any way
+     * to actually ask for it explicitly.  Bah.
+     */
+    *obuf = '.';
     *iusedp = ilen;
     *ousedp = 1;
     return noErr;