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
-/* $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
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
if (olen < 1)
return kTECOutputBufferFullStatus;
if (olen < 1)
return kTECOutputBufferFullStatus;
+ /*
+ * 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;
*iusedp = ilen;
*ousedp = 1;
return noErr;