Solved

logical font in win95 vs. win nt

Posted on 1998-12-15
3
167 Views
Last Modified: 2013-12-03
i created a logical font and used "ARIAL" as my 'facename'.  using win nt, when i printed the font to the printer, the arial font looks okay. but in win 95, the printed font was converted to courier.  i checked for the installed fonts and arial was there.  is there a difference in using win 95 vs. win nt?
0
Comment
Question by:janim
3 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1450192
Maybe it should be written like "Arial".
0
 

Author Comment

by:janim
ID: 1450193
nope!  i wrote it as "Arial".  I just made it all capital letters in this question.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 total points
ID: 1450194
There's no difference in the LOGFONT structure.

The problem is that CreateFont & CreateFontIndirect using a matching algorithm to find what Windows consider the closest match.

Makesure you fill in the all other attributes of LOGFONT correctly for the font you want.  I also suggest you use DRAFT_QUALITY, as with PROOF_QUALITY Windows is more fussy about getting an "ideal" appearance even if the font doesn't exactly match your requirements.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now