开发者

WinApi change font charset

开发者 https://www.devze.com 2023-02-07 04:17 出处:网络
I get Windows font by calling GetStockObject API. Then before drawing by GDI+ I need to change this font charset (or to create a copy of 开发者_StackOverflowit with changed charset). What are the ways

I get Windows font by calling GetStockObject API. Then before drawing by GDI+ I need to change this font charset (or to create a copy of 开发者_StackOverflowit with changed charset). What are the ways to impelement it?


This link may help explain now to modify an existing system font. You'd just need to set your alternate charset in your call to CreateFontIndirect().


Windows fonts are generally based on Unicode. They don't use charsets.

Also, this sounds like an XY problem. What real problem are you trying to solve?

0

精彩评论

暂无评论...
验证码 换一张
取 消