From d1c57171786c3e6ef1cbed7373b6f403d61590b2 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 31 Dec 2002 20:11:38 +0000 Subject: [PATCH] Add a small comment explaining my failure to find any way to get QuickDraw 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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mac/macterm.c b/mac/macterm.c index 6d0904bd..8218f2b1 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -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; -- 2.11.0