How to adjust the width of a font using the Uniscribe API -


please bear me, new uniscribe hope isn't dumb question have been unable find solution anywhere else. so, here goes...

i trying use uniscribe api reduce width of font; is, given specific font of particular height, able reduce width of each character (and relevant spacings) user-defined percentage.

i have achieved without calling uniscribe functions obtaining logfont structure current font , adjusting lfwidth field percentage of original value. realise average character width seemed have desired result.

however, when try same thing using uniscribe i've noticed lfwidth field gets reset 0 following calls scriptshape(). result, rendered text output using original width. i'm @ loss explain why or around it.

does have idea if it's possible trying do?

you might want start here (look @ generate glyph information section), lead this.

hope helps!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -