Solved

logical font in win95 vs. win nt

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

746 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

17 Experts available now in Live!

Get 1:1 Help Now