mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-07 06:22:47 -05:00
Fonts where boldface is wider than usual are now beaten up so they fit.
Note that this doesn't happen for non-COlor QuickDraw yet, due to the lack of CharExtra(). [originally from svn r141]
This commit is contained in:
9
putty.h
9
putty.h
@ -13,7 +13,6 @@
|
||||
#include <Controls.h>
|
||||
#include <Windows.h>
|
||||
typedef UInt32 DWORD;
|
||||
struct mac_session;
|
||||
#endif /* macintosh */
|
||||
|
||||
#ifndef TRUE
|
||||
@ -48,13 +47,6 @@ struct mac_session;
|
||||
#define ATTR_MASK 0xFFFFFF00UL
|
||||
#define CHAR_MASK 0x000000FFUL
|
||||
|
||||
#ifdef macintosh
|
||||
struct mac_session;
|
||||
typedef struct mac_session *Context;
|
||||
#else /* not macintosh */
|
||||
typedef HDC Context;
|
||||
#endif /* not macintosh */
|
||||
|
||||
#ifdef macintosh
|
||||
#define SEL_NL { 13 }
|
||||
#else
|
||||
@ -252,6 +244,7 @@ typedef struct Session {
|
||||
short fontnum;
|
||||
int font_ascent;
|
||||
int font_leading;
|
||||
int font_boldadjust;
|
||||
WindowPtr window;
|
||||
PaletteHandle palette;
|
||||
ControlHandle scrollbar;
|
||||
|
Reference in New Issue
Block a user