Re: [Bug] b15 pv 38: At scale 200% line spacing on Carriage Retrun not correct

  • From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Fri, 25 Jul 2008 10:06:33 -0500

rblist@xxxxxx wrote:
On Microsft Windows with RB 2008 r3.1.

1. Start FTC
2. Scale to 200%
3. Set cursor with mouse in first line at end of word "purpose". So it should look like this: purpose|.
4. Press "Enter" for a line break.
5. Type in some words into the new line
6. Press "Enter" for a line break.
7. Type in some words into the new line
8. Press "Enter" for a line break.
9. [Bug]: You see that the line spacing has added to much space. The line above corrects itself and reduces the line spacing. This looks strange.

This is not a bug. What you are seeing is the compositing
readjusting the line according to the style runs on the line. So
when you hit return you are removing the style run with the large
font which has a taller height so the FTC adjusts the line height.
Otherwise the it would look odd. Lines are drawn according to the
content (largest font size) of each individual line.

FTC Website: 
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts:

  • » Re: [Bug] b15 pv 38: At scale 200% line spacing on Carriage Retrun not correct