Solved

Using TPanose

Posted on 2004-08-19
3
299 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 500 total points
Comment Utility
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
Comment Utility
"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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

11 Experts available now in Live!

Get 1:1 Help Now