SiberianGuy
SiberianGuy

Reputation: 25282

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 it with changed charset). What are the ways to impelement it?

Upvotes: 1

Views: 850

Answers (2)

CoreyStup
CoreyStup

Reputation: 1488

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().

Upvotes: 1

MSalters
MSalters

Reputation: 179779

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?

Upvotes: 0

Related Questions