?
Solved

Using TPanose

Posted on 2004-08-19
3
Medium Priority
?
307 Views
Last Modified: 2010-04-05
Defined in Windows.pas. No documentation. Nothing on the web. Nothing in usenet.

I want to get the Panose information from a TTF file.

Anybody know how? Any functions like GetOutLineTextMetrics?

Am I the only person who has ever wanted to do this?

Please don't point me at the TTF reference.
0
Comment
Question by:PureNuts
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 2000 total points
ID: 11840414
It's on the MSDN sites. Look on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_48aa.asp for further information. The Panose is part of the OUTLINETEXTMETRIC structure. Use GetOutlineTextMetrics to get this data. But I guess you already know this. I am wondering about what it is *exactly* that you are looking for that's not on MSDN...
You you want to just open a TTF file, get the panose and do something with it?

Not many people are working with fonts, btw. In general, Arial, Times New Roman and Courier is all we need anyway. :-)
0
 

Author Comment

by:PureNuts
ID: 11840675
"I am wondering about what it is *exactly* that you are looking for that's not on MSDN..."

A brain, it would seem.

I read that section 4 times before posting this bloomin' question.

Well, that was an easy 500 points for you.

And my picture in the "biggest idiots in the world" annual scrapbook.

Doh!

0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11846151
LOL. Well, we all have our moments of blindness... Just think of it this way, it costs you only 500 points, not 500 days... ;)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

864 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