re-enable non-truetype fonts

This commit is contained in:
peterl%netscape.com 1998-08-11 23:54:29 +00:00
parent 1837f75725
commit 9a185f19c1

View File

@ -78,7 +78,7 @@ nsDrawingSurface nsDeviceContextWin :: GetDrawingSurface(nsIRenderingContext &aC
int CALLBACK fontcallback(ENUMLOGFONT FAR *lpelf, NEWTEXTMETRIC FAR *lpntm,
int FontType, LPARAM lParam)
{
if ((NULL != lpelf) && (TRUETYPE_FONTTYPE == FontType))
if (NULL != lpelf)
*((PRBool *)lParam) = PR_TRUE;
return 0;