I discovered a strange result in setting a value below:
RVStyle1.TextStyles[0].CharSpacing := SpinNo;
when SpinNo = -4, the charcpacing actually increate from -3. ??
My version is still 1.8.1, don't know that this error is't sloved in 1.9.8
Please help, thanks!
Error about CharSpacing
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Error about CharSpacing
Hi Sergey,Sergey Tkachenko wrote:Value of this property is interpreted by WinAPI. It is passed to SetTextCharacterExtra function.
I see, but can this problem solve in Richview as we are using the RVStyle to assign value?
Error about CharSpacing
Hi Sergey,
Now I know why, it's because when compression meet the edge between two characters, further compression will first cause a 'unlogic' response. value of -4 mentioned is actually when font size at 10.
Now I know why, it's because when compression meet the edge between two characters, further compression will first cause a 'unlogic' response. value of -4 mentioned is actually when font size at 10.
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: