|
-
August 7th, 1999, 03:15 PM
#1
Given a fonts facename, How can I get it's Filename?
I cannot find any documentation on fonts and retrieving filenames of those fonts.
Given a fonts facename or LOGFONT structure, How can I get it's Filename?
CFontDialog dlg(&m_Text.GetLogFont(), CF_SCREENFONTS, NULL, this);
if(dlg.DoModal()==IDOK)
{
LOGFONT lf;
dlg.GetCurrentFont(&lf);
m_Text.SetTextFont(lf);
m_Text.SetWindowText(/*FONTS FILE NAME??*/);
}
I cannot find any font functions that help with this. I know how to install fonts, but I need to know both the fonts filename and it's facename at the same time.
Anyone know how to do this?????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|