Solved

Using TPanose

Posted on 2004-08-19
3
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

717 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