#include "stdafx.h"
#include "2UtilFont.h"	// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

void MFCopy (FCFontCharInfo& fci, const MC2FontCharInfo& fci2)
{
	fci.dwMask = fci2.dwMask;
	fci.mmHeight = fci2.mmHeight;
	fci.wWeight = fci2.wWeight;
	fci.byItalic = fci2.byItalic;
	fci.byUnderline = fci2.byUnderline;
	fci.byStrikeOut = fci2.byStrikeOut;
	fci.byCharSet = fci2.byCharSet;
	fci.byPitchAndFamily = fci2.byPitchAndFamily;
	fci.dummy = fci2.dummy;
	fci.wOffset = fci2.wOffset;
	fci.nCharAfter = fci2.nCharAfter;
	fci.crColor = fci2.crColor;
	wcscpy(fci.szFaceName, TStrToWStr(fci2.szFaceName));
} // MFCopy.

void MFCopy (MC2FontCharInfo& fci2, const FCFontCharInfo& fci)
{
	fci2.dwMask = fci.dwMask;
	fci2.mmHeight = fci.mmHeight;
	fci2.wWeight = fci.wWeight;
	fci2.byItalic = fci.byItalic;
	fci2.byUnderline = fci.byUnderline;
	fci2.byStrikeOut = fci.byStrikeOut;
	fci2.byCharSet = fci.byCharSet;
	fci2.byPitchAndFamily = fci.byPitchAndFamily;
	fci2.dummy = fci.dummy;
	fci2.wOffset = fci.wOffset;
	fci2.nCharAfter = fci.nCharAfter;
	fci2.crColor = fci.crColor;
	_tcscpy(fci2.szFaceName, WStrToTStr(fci.szFaceName));
} // MFCopy.

