Solved

logical font in win95 vs. win nt

Posted on 1998-12-15
3
169 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

792 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