WPCubed Product Support

Horizontal font scaling

I did a search in the help, and i see you can set the horizontal font scaling using the SetCanvasAttr method, and the field in the TWPPaintExtraParams parameter. Is there any demo that utilizes this? I'd like to see how it can be actually implemented.

Thanks,

Alan

#1 ♥ 0
3.7k Views 2 users read 2 min
support

Hi,

this are RTF-Engine interna which are not documented. You can order customization though.

horizontal font scaling would be difficult to do since it requires the use of CreateFontEx function. It is a big thing to implement it. A mod in SetCanvasAttr would probably not do it (or cause a resource leak).

The horizontal font spacing is implemented already, you can use it with the attribute WPAT_CharSpacing:
"Letter-Spacing" in twips,
0..$8000 = EXPAND,
$8001- $FFFF = COMPRESS by n-$8000 twips

Julian

#2 ♥ 0

Hi Julian -

Thanks for the reply, but are you saying this is not possible w/ WPTools 5? Or, it would require a bit of coding on my end?

Will this be a part of WPTools6? And if so, is there any forecasted timeframe as to when WPTools 6 will arrive?

Let me know.

Thanks!

alan

#3 ♥ 0
  • BUMP *

Julian -

I really need a reply to this. Will this be a feature of WPTools 6?

alan

#4 ♥ 0
This category is archived. No new posts are possible.