#include "fontbase.h"
Go to the source code of this file.
Classes | |
class | ATMFont |
A class description of our ATM fonts. Mainly uses all base class functions at the moment, apart from the type. More... | |
class | ATMFontMan |
A static class to allow access to Type 1 fonts. There are few functions in this class which should be called directly. The OILFontMan provides the generic interface of font calls within this application. More... | |
Defines | |
#define | XSATM_GetUtilVersion 1 |
#define | XSATM_ATMProperlyLoaded 2 |
#define | XSATM_ATMGetVersion 3 |
#define | XSATM_ATMGetOutline 4 |
#define | XSATM_ATMForceExactWidth 5 |
#define | XSATM_ATMBeginFontChange 6 |
#define | XSATM_ATMEndFontChange 7 |
#define | XSATM_ATMForceFontChange 8 |
#define | XSATM_ATMFontStatus 9 |
#define | XSATM_ATMAddFont 10 |
#define | XSATM_ATMRemoveFont 11 |
#define | MinVer_GetVersion 0x0100 |
#define | MinVer_ProperlyLoaded 0x0100 |
#define | MinVer_GetOutline 0x0100 |
#define | MinVer_ForceExactWidth 0x0101 |
#define | MinVer_BeginFontChange 0x0205 |
#define | MinVer_EndFontChange 0x0205 |
#define | MinVer_ForceFontChange 0x0300 |
#define | MinVer_FontStatus 0x0205 |
#define | MinVer_AddFont 0x0205 |
#define | MinVer_RemoveFont 0x0205 |
Typedefs | |
typedef LPSTR | lpData |
typedef LPATMFixedPoint | lpFixPnt1 |
typedef LPATMFixedPoint LPATMFixedPoint | lpFixPnt2 |
typedef WORD(FAR * | LPFNATMPROPERLYLOADED )(void) |
typedef WORD(FAR * | LPFNATMGETUTILVERSION )(void) |
typedef WORD(FAR * | LPFNATMGETVERSION )(void) |
typedef INT32(FAR * | LPFNATMGETOUTLINE )(HDC hDC, unsigned char c, LPATMFixedMatrix lpMatrix, LPFNMYMOVETO lpProcMoveTo, LPFNMYLINETO lpProcLineTo, LPFNMYCURVETO lpProcCurveTo, LPFNMYCLOSEPATH lpProcClosePath, LPSTR lpData) |
typedef BOOL(FAR * | LPFNATMFORCEEXACTWIDTH )(void) |
typedef INT32(FAR * | LPFNATMFONTSTATUS )(LPSTR lpMenuName, WORD style, LPSTR lpMetricsFile, LPSTR lpFontFile) |
typedef INT32(FAR * | LPFNATMADDFONT )(LPSTR lpMenuName, WORD style, LPSTR lpMetricsFile, LPSTR lpFontFile) |
typedef INT32(FAR * | LPFNATMREMOVEFONT )(LPSTR lpMenuName, WORD style) |
typedef INT32(FAR * | LPFNATMBEGINFONTCHANGE )() |
typedef INT32(FAR * | LPFNATMENDFONTCHANGE )() |
Functions | |
typedef | BOOL (FAR PASCAL *LPFNMYCLOSEPATH)(LPSTR lpData) |
INT32 APIENTRY | ATMFontMan_CallBackCacheNamedFont (ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm, INT32 FontType, LPARAM lParam) |
The call back function providing all font data. | |
INT32 APIENTRY | ATMFontMan_CallBackValidateFont (ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm, INT32 FontType, LPARAM lParam) |
The call back function providing all font data. | |
INT32 APIENTRY | ATMFontMan_CallBackDispatchFont (ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm, INT32 FontType, LPARAM lParam) |
The call back function providing all font data. | |
INT32 APIENTRY | ATMFontMan_CallBackFindClosestFont (ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm, INT32 FontType, LPARAM lParam) |
The call back function for searching for a match to a panose number. |
|
Definition at line 140 of file atmfonts.h. |
|
Definition at line 136 of file atmfonts.h. |
|
Definition at line 137 of file atmfonts.h. |
|
Definition at line 139 of file atmfonts.h. |
|
Definition at line 135 of file atmfonts.h. |
|
Definition at line 138 of file atmfonts.h. |
|
Definition at line 134 of file atmfonts.h. |
|
Definition at line 132 of file atmfonts.h. |
|
Definition at line 133 of file atmfonts.h. |
|
Definition at line 141 of file atmfonts.h. |
|
Definition at line 128 of file atmfonts.h. |
|
Definition at line 124 of file atmfonts.h. |
|
Definition at line 125 of file atmfonts.h. |
|
Definition at line 127 of file atmfonts.h. |
|
Definition at line 123 of file atmfonts.h. |
|
Definition at line 126 of file atmfonts.h. |
|
Definition at line 122 of file atmfonts.h. |
|
Definition at line 121 of file atmfonts.h. |
|
Definition at line 120 of file atmfonts.h. |
|
Definition at line 129 of file atmfonts.h. |
|
Definition at line 119 of file atmfonts.h. |
|
Definition at line 145 of file atmfonts.h. |
|
Definition at line 148 of file atmfonts.h. |
|
Definition at line 148 of file atmfonts.h. |
|
Definition at line 174 of file atmfonts.h. |
|
Definition at line 181 of file atmfonts.h. |
|
Definition at line 182 of file atmfonts.h. |
|
Definition at line 169 of file atmfonts.h. |
|
Definition at line 167 of file atmfonts.h. |
|
Definition at line 158 of file atmfonts.h. |
|
Definition at line 154 of file atmfonts.h. |
|
Definition at line 156 of file atmfonts.h. |
|
Definition at line 152 of file atmfonts.h. |
|
Definition at line 179 of file atmfonts.h. |
|
The call back function providing all font data.
Definition at line 1209 of file atmfonts.cpp. 01215 { 01216 UNREFERENCED_PARAMETER (lpntm); 01217 01218 if (FontType & DEVICE_FONTTYPE) 01219 { 01220 String_64 FontName(lpelf->elfLogFont.lfFaceName); 01221 01222 if (lParam==NULL || (_tcsncicmp(FontName, *((String_64 * )lParam), 64) == 0)) 01223 { 01224 FontManager* pFontMan = GetApplication()->GetFontManager(); 01225 pFontMan->SetTempFont(FC_ATM, &FontName, lpelf); 01226 return FALSE; 01227 } 01228 } 01229 return TRUE; 01230 }
|
|
The call back function providing all font data.
Definition at line 1313 of file atmfonts.cpp. 01319 { 01320 UNREFERENCED_PARAMETER (lpntm); 01321 if (FontType & DEVICE_FONTTYPE) 01322 { 01323 // Hide aliases... 01324 if(!ATMInstall::IsFontAlias(lpelf->elfLogFont.lfFaceName)) 01325 { 01326 return ((OILEnumFonts*)lParam)->NewFont(FC_ATM, lpelf); 01327 } 01328 } 01329 return TRUE; 01330 }
|
|
The call back function for searching for a match to a panose number.
Definition at line 1279 of file atmfonts.cpp. 01285 { 01286 UNREFERENCED_PARAMETER (lpntm); 01287 01288 if (FontType & DEVICE_FONTTYPE) 01289 { 01290 String_64 FontName(lpelf->elfLogFont.lfFaceName); 01291 01292 FontManager* pFontMan = GetApplication()->GetFontManager(); 01293 return pFontMan->FindClosestFontFullTry(FC_ATM, &FontName, lpelf); 01294 } 01295 01296 return TRUE; 01297 }
|
|
The call back function providing all font data.
Definition at line 1246 of file atmfonts.cpp. 01252 { 01253 UNREFERENCED_PARAMETER (lpntm); 01254 01255 if (FontType & DEVICE_FONTTYPE) 01256 { 01257 String_64 FontName(lpelf->elfLogFont.lfFaceName); 01258 01259 FontManager* pFontMan = GetApplication()->GetFontManager(); 01260 pFontMan->ValidateItem(FC_ATM, &FontName, lpelf); 01261 } 01262 return TRUE; 01263 }
|
|
|