The GetTextCharsetInfo function obtains information about the character set of the font that is currently selected into a specified device context.
// handle to device context
// pointer to structure to receive Unicode and code page data
// reserved; must be zero
If a TrueType font is currently selected into the device context, the FONTSIGNATURE structure receives information that identifies the codepage and Unicode subranges for which the font provides glyphs.
If a font other than TrueType is currently selected into the device context, the FONTSIGNATURE structure receives zeroes. In this case, use the TranslateCharsetInfo function to obtain generic font-signature information for the character set.
The lpSig parameter can be NULL if you do not need the FONTSIGNATURE
information. In this case, you can also call the GetTextCharset
function, which is equivalent to calling GetTextCharsetInfo with lpSig
set to NULL.
If the function fails, the return value is DEFAULT_CHARSET.
FONTSIGNATURE, GetTextCharset, TranslateCharsetInfo
|file: /Techref/os/win/api/win32/func/src/f41.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2022/5/23 18:02,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f41.htm"> GetTextCharsetInfo</A>
|Did you find what you needed?|
PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220523
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!