开发者

WinApi change font charset

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜