http://msdn.microsoft.com/en-us/library/dd317704(VS.85).aspx
This is all that I've found on the subject, and it implies that it's not
directly possible. So how does WordPad do it?
David
Well, I just scanned the registy for instances of "known hidden" fonts,
and found there's a REG_MULTI_SZ list of "Inactive Fonts" here:
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Font Management\
And, sure enough, when I hid or showed fonts they were added to or
removed from the list.
--
.NET: It's About Trust!
http://vfred.mvps.org
Thanks, I should be able to work with that. EnumFonts returns ~ 169 fonts,
both shown and hidden. And, there are ~ 267 hidden fonts in this registry
list. A list of 'active' fonts might have made life easier.
David
That's funny! Have you run into any good explanation why they're there
in the first place? I wasn't even aware of that <ahem> feature.
The hidden property first appeared in Vista, but apparently was not
implemented (hide/show have no effect). It's main purpose is to hide
international fonts that are not appropriate for the current local. Since
this doesn't work on Vista, I'm thinking of going with plan B, just use a
list of common fonts that shipped with most versions of windows.
David
No, I was wrong, this first appeared in Windows 7.
David
That's funny! Have you run into any good explanation why they're there
in the first place? I wasn't even aware of that <ahem> feature.
--
<burp!> Excuse me...
So this is just yet another reason the \windows folder is 13gb now?
Jeeeez... But's it just doesn't make sense that a published mechanism
doesn't exist to filter them out. It seems they're fairly unusable,
for most purposes?