// Determine the number of fonts.
//
if((lNumFonts = ::GpiQueryFonts( *phPS
- ,QF_PUBLIC
+ ,QF_PUBLIC | QF_PRIVATE
,NULL
,&lTemp
,(LONG) sizeof(FONTMETRICS)
pFattrs->lMatch = 0;
pFaceName->usSize = sizeof(FACENAMEDESC);
- pFaceName->usWidthClass = FWIDTH_NORMAL;
+ pFaceName->usWeightClass = FWEIGHT_DONT_CARE;
+ pFaceName->usWidthClass = FWIDTH_DONT_CARE;
pFaceName->usReserved = 0;
pFaceName->flOptions = 0;
break;
case wxMODERN:
- sFaceName = wxT("Arial") ;
+ sFaceName = wxT("Courier New") ;
break;
case wxSWISS:
case wxDEFAULT:
default:
- sFaceName = wxT("System Proportional") ;
+ sFaceName = wxT("System VIO") ;
}
switch (pFont->GetWeight())
int nEmHeight = 0;
int nXHeight = 0;
- anDiff[0] = wxGpiStrcmp(pFM[i].szFamilyname, zFontFaceName);
+ anDiff[0] = wxGpiStrcmp(pFM[i].szFacename, zFontFaceName);
anDiff[1] = abs(pFM[i].lEmHeight - nPointSize);
anDiff[2] = abs(pFM[i].usWeightClass - usWeightClass);
anDiff[3] = abs((pFM[i].fsSelection & 0x2f) - fsSelection);
//
// Fill in the FATTRS with the best match from FONTMETRICS
//
- pFattrs->usRecordLength = sizeof(FATTRS); // sets size of structure
- pFattrs->fsSelection = pFM[nIndex].fsSelection; // uses default selection
- pFattrs->lMatch = pFM[nIndex].lMatch; // force match
- pFattrs->idRegistry = pFM[nIndex].idRegistry; // uses default registry
- pFattrs->usCodePage = pFM[nIndex].usCodePage; // code-page
- pFattrs->lMaxBaselineExt = 0; // OUTLINE fonts need this set to 0 as they use other attributes to match
- pFattrs->lAveCharWidth = 0; // OUTLINE fonts need this set to 0 as they use other attributes to match
- pFattrs->fsType = 0;// pfm->fsType; /* uses default type */
- pFattrs->fsFontUse = 0;
-
+ pFattrs->usRecordLength = sizeof(FATTRS); // Sets size of structure
+ pFattrs->fsSelection = pFM[nIndex].fsSelection; // Uses default selection
+ pFattrs->lMatch = pFM[nIndex].lMatch; // Force match
+ pFattrs->idRegistry = pFM[nIndex].idRegistry; // Uses default registry
+ pFattrs->usCodePage = pFM[nIndex].usCodePage; // Code-page
+ pFattrs->fsType = 0; // Uses default type
+ pFattrs->lMaxBaselineExt = 0;
+ pFattrs->lAveCharWidth = 0;
+ pFattrs->fsFontUse = FATTR_FONTUSE_OUTLINE | // only outline fonts allowed
+ FATTR_FONTUSE_TRANSFORMABLE; // may be transformed
+#if 0
+ pFattrs->lMaxBaselineExt = pFM[nIndex].lMaxBaselineExt;
+ pFattrs->lAveCharWidth = pFM[nIndex].lAveCharWidth;
+#endif
wxStrcpy(pFattrs->szFacename, pFM[nIndex].szFacename);
// Debug
strcpy(zFontFaceName, pFM[nIndex].szFacename);
CODE LOADONCALL
EXPORTS
-;From library: F:\Dev\Wx2\WxWindows\lib\wx.lib
+;From library: F:\DEV\WX2\WXWINDOWS\LIB\wx.lib
;From object file: dummy.cpp
;PUBDEFs (Symbols available from object file):
wxDummyChar
OnCmdLineHelp__9wxAppBaseFR15wxCmdLineParser
;wxTrap()
wxTrap__Fv
+ ;wxAppBase::OnRun()
+ OnRun__9wxAppBaseFv
;wxAppBase::OnExit()
OnExit__9wxAppBaseFv
;wxAssertIsEqual(int,int)
sm_classwxFontData__10wxFontData
;wxPageSetupDialogData::SetPaperSize(wxPaperSize)
SetPaperSize__21wxPageSetupDialogDataF11wxPaperSize
- ;wxFontData::~wxFontData()
- __dt__10wxFontDataFv
;wxConstructorForwxColourData()
wxConstructorForwxColourData__Fv
;wxColourData::~wxColourData()
__dt__12wxColourDataFv
+ ;wxFontData::~wxFontData()
+ __dt__10wxFontDataFv
;wxPrintData::wxPrintData(const wxPrintData&)
__ct__11wxPrintDataFRC11wxPrintData
;wxPrintDialogData::sm_classwxPrintDialogData
;wxEncodingConverter::wxEncodingConverter()
__ct__19wxEncodingConverterFv
CompareCharsetItems
+ ;wxEncodingConverter::Convert(const char*,wchar_t*)
+ Convert__19wxEncodingConverterFPCcPw
;wxEncodingConverter::Init(wxFontEncoding,wxFontEncoding,int)
Init__19wxEncodingConverterF14wxFontEncodingT1i
+ ;wxEncodingConverter::Convert(const wchar_t*,char*)
+ Convert__19wxEncodingConverterFPCwPc
;wxEncodingConverter::Convert(const wxString&)
Convert__19wxEncodingConverterFRC8wxString
;wxEncodingConverter::GetPlatformEquivalents(wxFontEncoding,int)
GetPlatformEquivalents__19wxEncodingConverterF14wxFontEncodingi
;wxEncodingConverter::Convert(const char*,char*)
Convert__19wxEncodingConverterFPCcPc
+ ;wxEncodingConverter::Convert(const wchar_t*,wchar_t*)
+ Convert__19wxEncodingConverterFPCwPw
;From object file: ..\common\event.cpp
;PUBDEFs (Symbols available from object file):
;wxSetCursorEvent::sm_classwxSetCursorEvent
sm_classwxLocaleModule__14wxLocaleModule
;wxLanguageInfoArray::RemoveAt(unsigned int,unsigned int)
RemoveAt__19wxLanguageInfoArrayFUiT1
- ;wxLocale::GetSystemEncoding()
- GetSystemEncoding__8wxLocaleFv
+ ;wxLocale::CreateLanguagesDB()
+ CreateLanguagesDB__8wxLocaleFv
;wxLocale::~wxLocale()
__dt__8wxLocaleFv
;wxLocale::GetSystemLanguage()
GetSystemLanguage__8wxLocaleFv
- ;wxLocale::CreateLanguagesDB()
- CreateLanguagesDB__8wxLocaleFv
+ ;wxLocale::GetSystemEncoding()
+ GetSystemEncoding__8wxLocaleFv
;wxLanguageInfoArray::Index(const wxLanguageInfo&,unsigned long) const
Index__19wxLanguageInfoArrayCFRC14wxLanguageInfoUl
;wxLanguageInfoArray::wxLanguageInfoArray(const wxLanguageInfoArray&)
FindClass__11wxClassInfoFPCc
;wxObject::sm_classwxObject
sm_classwxObject__8wxObject
+ ;wxClassInfo::~wxClassInfo()
+ __dt__11wxClassInfoFv
;wxClassInfo::InitializeClasses()
InitializeClasses__11wxClassInfoFv
;From object file: ..\common\odbc.cpp
SetZoom__18wxPrintPreviewBaseFi
;wxPrintout::GetPageInfo(int*,int*,int*,int*)
GetPageInfo__10wxPrintoutFPiN31
- ;wxPrinterBase::~wxPrinterBase()
- __dt__13wxPrinterBaseFv
+ ;wxPreviewControlBar::OnFirst()
+ OnFirst__19wxPreviewControlBarFv
;wxPreviewControlBar::sm_eventTable
sm_eventTable__19wxPreviewControlBar
+ ;wxPrinterBase::~wxPrinterBase()
+ __dt__13wxPrinterBaseFv
;wxPreviewFrame::CreateCanvas()
CreateCanvas__14wxPreviewFrameFv
;wxPreviewControlBar::CreateButtons()
OnBeginDocument__10wxPrintoutFiT1
;wxPrintPreviewBase::Init(wxPrintout*,wxPrintout*)
Init__18wxPrintPreviewBaseFP10wxPrintoutT1
+ ;wxPreviewControlBar::OnGoto()
+ OnGoto__19wxPreviewControlBarFv
;wxPrintout::~wxPrintout()
__dt__10wxPrintoutFv
;wxPrintout::OnEndDocument()
__dt__14wxPreviewFrameFv
;wxPreviewControlBar::OnPrevious()
OnPrevious__19wxPreviewControlBarFv
+ ;wxPreviewControlBar::OnLast()
+ OnLast__19wxPreviewControlBarFv
;wxPreviewControlBar::GetEventTable() const
GetEventTable__19wxPreviewControlBarCFv
;wxPreviewFrame::wxPreviewFrame(wxPrintPreviewBase*,wxFrame*,const wxString&,const wxPoint&,const wxSize&,long,const wxString&)
__vft18wxwxListStringNode10wxNodeBase
;From object file: ..\common\strconv.cpp
;PUBDEFs (Symbols available from object file):
+ ;wxCSConv::wxCSConv(const wxCSConv&)
+ __ct__8wxCSConvFRC8wxCSConv
+ __vft8wxCSConv8wxMBConv
+ __vft12wxMBConvUTF78wxMBConv
+ ;wxMBConv::cMB2WC(const char*) const
+ cMB2WC__8wxMBConvCFPCc
+ ;wxCSConv::SetName(const char*)
+ SetName__8wxCSConvFPCc
+ ;wxMBConvUTF7::MB2WC(wchar_t*,const char*,unsigned int) const
+ MB2WC__12wxMBConvUTF7CFPwPCcUi
;wxStrConvModule::sm_classwxStrConvModule
sm_classwxStrConvModule__15wxStrConvModule
+ ;wxMBConvUTF8::WC2MB(char*,const wchar_t*,unsigned int) const
+ WC2MB__12wxMBConvUTF8CFPcPCwUi
+ ;wxMBConvUTF8::MB2WC(wchar_t*,const char*,unsigned int) const
+ MB2WC__12wxMBConvUTF8CFPwPCcUi
+ __vft12wxMBConvUTF88wxMBConv
wxConvCurrent
- wxConvFile
+ ;wxMBConv::WC2MB(char*,const wchar_t*,unsigned int) const
+ WC2MB__8wxMBConvCFPcPCwUi
+ ;wxCSConv::Clear()
+ Clear__8wxCSConvFv
+ ;wxCSConv::~wxCSConv()
+ __dt__8wxCSConvFv
+ ;wxCSConv::operator=(const wxCSConv&)
+ __as__8wxCSConvFRC8wxCSConv
+ wxConvUTF7
+ wxConvLocal
+ wxConvUTF8
+ ;wxMBConvUTF7::WC2MB(char*,const wchar_t*,unsigned int) const
+ WC2MB__12wxMBConvUTF7CFPcPCwUi
+ ;wxCSConv::WC2MB(char*,const wchar_t*,unsigned int) const
+ WC2MB__8wxCSConvCFPcPCwUi
+ ;wxCSConv::MB2WC(wchar_t*,const char*,unsigned int) const
+ MB2WC__8wxCSConvCFPwPCcUi
+ ;wxCSConv::LoadNow()
+ LoadNow__8wxCSConvFv
+ ;wxCSConv::wxCSConv(const char*)
+ __ct__8wxCSConvFPCc
wxConvLibc
+ ;wxMBConv::MB2WC(wchar_t*,const char*,unsigned int) const
+ MB2WC__8wxMBConvCFPwPCcUi
;wxConstructorForwxStrConvModule()
wxConstructorForwxStrConvModule__Fv
+ __vft8wxMBConv
+ ;wxMBConv::cWC2MB(const wchar_t*) const
+ cWC2MB__8wxMBConvCFPCw
;From object file: ..\common\stream.cpp
;PUBDEFs (Symbols available from object file):
;wxStreamBuffer::SetBufferIO(void*,unsigned int,unsigned long)
find_first_of__8wxStringCFPCcUi
;operator+(const wxString&,const wxString&)
__pl__FRC8wxStringT1
+ ;wxString::wxString(const wchar_t*,wxMBConv&,unsigned int)
+ __ct__8wxStringFPCwR8wxMBConvUi
;wxString::wxString(const void*,const void*)
__ct__8wxStringFPCvT1
;wxArrayString::Sort(int(*)(const wxString&,const wxString&))
AfterLast__8wxStringCFc
;wxString::find(char,unsigned int) const
find__8wxStringCFcUi
- ;wxVsnprintf(char*,unsigned int,const char*,char*)
- wxVsnprintf__FPcUiPCcT1
;wxString::rfind(const wxString&,unsigned int) const
rfind__8wxStringCFRC8wxStringUi
;wxString::replace(unsigned int,unsigned int,const char*,unsigned int)
__pl__FRC8wxStringPCc
;wxArrayString::operator==(const wxArrayString&) const
__eq__13wxArrayStringCFRC13wxArrayString
+ ;wxString::operator=(const wchar_t*)
+ __as__8wxStringFPCw
;wxString::StartsWith(const char*,wxString*) const
StartsWith__8wxStringCFPCcP8wxString
;wxArrayString::Remove(const char*)
ToDouble__8wxStringCFPd
;wxString::wxString(char,unsigned int)
__ct__8wxStringFcUi
- ;wxSnprintf(char*,unsigned int,const char*,...)
- wxSnprintf__FPcUiPCce
;wxString::ToULong(unsigned long*,int) const
ToULong__8wxStringCFPUli
;wxString::Right(unsigned int) const
__dt__20wxTopLevelWindowBaseFv
;wxTopLevelWindowBase::OnCloseWindow(wxCloseEvent&)
OnCloseWindow__20wxTopLevelWindowBaseFR12wxCloseEvent
+ ;wxTopLevelWindowBase::IsLastBeforeExit() const
+ IsLastBeforeExit__20wxTopLevelWindowBaseCFv
;wxTopLevelWindowBase::DoScreenToClient(int*,int*) const
DoScreenToClient__20wxTopLevelWindowBaseCFPiT1
;wxTopLevelWindowBase::Destroy()
wxGetTopLevelParent__FP8wxWindow
;From object file: ..\common\wxchar.cpp
;PUBDEFs (Symbols available from object file):
+ wcslen
+ ;wxMB2WC(wchar_t*,const char*,unsigned int)
+ wxMB2WC__FPwPCcUi
+ ;wxVsnprintf(char*,unsigned int,const char*,char*)
+ wxVsnprintf__FPcUiPCcT1
+ ;wxWC2MB(char*,const wchar_t*,unsigned int)
+ wxWC2MB__FPcPCwUi
+ ;wxSnprintf(char*,unsigned int,const char*,...)
+ wxSnprintf__FPcUiPCce
;wxOKlibc()
wxOKlibc__Fv
- ;wcslen(const wchar_t*)
- wcslen__FPCw
;From object file: ..\common\wxexpr.cpp
;PUBDEFs (Symbols available from object file):
;wxExpr::GetAttributeValue(const wxString&,long&) const