[B43] [Bug??] Appearance of Index Cards.

rw
rwfranz
Posts: 903
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Tue Mar 24, 2020 10:29 am Post

I notice that the first text line below the Title line in each index card is shorter in line height than the rest. Is this intentional? The Synopsis is the reverse; there, the first text line below the Title line has more line height available than the other lines.
Just another user.

User avatar
tiho_d
Posts: 1160
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Tue Mar 24, 2020 9:38 pm Post

This is probably best described with a screenshot, as it might depend on many user options.

User avatar
krastev
Posts: 510
Joined: Fri Feb 05, 2016 5:21 am
Platform: Windows
Contact:

Tue Mar 24, 2020 9:49 pm Post

Clipboard Image (3).png
Clipboard Image (3).png (2.98 KiB) Viewed 445 times
Clipboard Image (2).png
Clipboard Image (2).png (2.75 KiB) Viewed 445 times
Krastev
Windows 10 Home 64-bit
Scrivener for Windows Version 1.9.16.0
Testing Scrivener Beta for Windows

User avatar
tiho_d
Posts: 1160
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Wed Mar 25, 2020 12:26 am Post

The second image is not from an Index card but from the Inspector. The synopsis text area have margins around, which make the first line look taller.

User avatar
krastev
Posts: 510
Joined: Fri Feb 05, 2016 5:21 am
Platform: Windows
Contact:

Wed Mar 25, 2020 1:14 am Post

tiho_d wrote:The second image is not from an Index card but from the Inspector. The synopsis text area have margins around, which make the first line look taller.

I know but still, I think this is what @rwfranz meant by pointing out the Synopsis. If you exclude the Outline View and those two places are there any other places where the synopsis is displayed?
Krastev
Windows 10 Home 64-bit
Scrivener for Windows Version 1.9.16.0
Testing Scrivener Beta for Windows

rw
rwfranz
Posts: 903
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Wed Mar 25, 2020 11:21 am Post

tiho_d wrote:This is probably best described with a screenshot, as it might depend on many user options.


Heh. Okay. The normal line height varies with the font selected for the cards, but the change in height seems to be consistent.

Right now, i have the cards at 4x6". The size of the card does not change the 1st line's height relative to the other lines. The font used does not either. The first line of TEXT (not the Title) seems to be about 75% of the rest of the lines. That is, where the text says "Just you and your words with no distractions".
ScrivB43_cards_1st line.png
ScrivB43_cards_1st line.png (19.83 KiB) Viewed 353 times

Note, the font does not change. It just has less headroom.

On the first card (Main Interface), there's an "f" in "interface" with a few pixels of headroom, in the first line. In the third line, there's an "f" in "file" (and also in "following") with nearly twice as much headroom. This can also be seen in the "ll"'s in "all" in the third line, and "following" in the first line.

The first line (using 12-point font, I believe) is 18 pixels high (measured with Gimp crop tool, zoomed in) bottom of the line above to the bottom of the line the text stands on. The second line is 23 pixels high.

If I shift the font to 20 pts, the first line is 30 pixels high; the 2nd line is 38 pixels high.

If I shift to 48 pts, the first line is 69 pixels high; the 2nd is 88 pixels high.

Here's a partial screenshot of the 48-pixel version.
Scrivener_cards1stline_48px.png
Scrivener_cards1stline_48px.png (26.15 KiB) Viewed 353 times


Hope that's enough. As demonstrated in Krastev's post, the Synopsis in the Inspector does not have this issue; the 1st line has more headroom than the rest of the text lines. In the index cards, the first line has about 1/4 less height. Is this intentional? That is, does the Mac version do this, too?
Just another user.

User avatar
tiho_d
Posts: 1160
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Wed Mar 25, 2020 12:44 pm Post

The synopsis text has a top/bottom/left/right margin. Because of this the first line will always be taller. The line spacing depends on the font being used. The line spacing is always 1x. Mac also has margins. Scrivener for Win is ready for release, if we start discussing similar issues. :-)

rw
rwfranz
Posts: 903
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Fri Mar 27, 2020 2:05 pm Post

tiho_d wrote:The synopsis text has a top/bottom/left/right margin. Because of this the first line will always be taller. The line spacing depends on the font being used. The line spacing is always 1x.


Hate to argue here, but the first line is NEVER the same as the rest of the lines in the index cards, no matter what font I use. The Title line has its own font; not talking about that line, either. But the first line of the text on the card (excluding the title line) seems to have a line spacing of about 0.76x.

(and I agree it's a minor thing. I just wonder why that is)
Just another user.