I’m using DirectWrite.
How do I adjust overall letter spacing? I think I want the equivalent of SetTextCharacterExtra in GDI.
I’m using DirectWrite. How do I adjust overall letter spacing? I think I want
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The built-in layout has IDWriteTextLayout1::SetCharacterSpacing on Windows 8. For Windows 7, you would need to use the lower level layers and create your own text layout (which is no small task, but it would allow complete flexibility to add any additional layout features). A base example of a custom layout is here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd941711(v=vs.85).aspx