зеркало из https://github.com/github/putty.git
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. [originally from svn r2397]
This commit is contained in:
Родитель
548555ded4
Коммит
3777de60cb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче