-Tall characters clipped by cursor border
Moderators: Hacker, petermad, Stefan2, white
-Tall characters clipped by cursor border
Moving the cursor over a file name in the main TC file lists can cause the top or bottom pixels of the file name to disappear for tall characters, which occur with certain font / font size / character/ computer combinations. The missing pixels occur where high or low pixels are covered by the cursor border. The SelectionFocus setting does not appear to make a difference. If I go to another folder tab in the same panel and then return to the original folder tab, the missing pixels are restored.
Checked:
-- TC 8.51 B3.
-- Arial, Regular, 7-point and 8-point. Underscores disappear on a new Windows 7 desktop computer but not on a 4-year-old Windows XP desktop computer or a 4-year-old Windows 7 laptop. The underscores sometimes reappear if the cursor is moved back over the file names. The actual file names are not affected.
-- MS Gothic, Regular, 8-point. The tops of tall characters are clipped; the tops don't reappear if the cursor is moved back over the file names. This font is on the 4-year-old XP computer only.
Checked:
-- TC 8.51 B3.
-- Arial, Regular, 7-point and 8-point. Underscores disappear on a new Windows 7 desktop computer but not on a 4-year-old Windows XP desktop computer or a 4-year-old Windows 7 laptop. The underscores sometimes reappear if the cursor is moved back over the file names. The actual file names are not affected.
-- MS Gothic, Regular, 8-point. The tops of tall characters are clipped; the tops don't reappear if the cursor is moved back over the file names. This font is on the 4-year-old XP computer only.
Here is a screenshot:
http://www.pbase.com/ralph_s/image/154849709/original.jpg
Despite the .jpg in the generic address above, the actual extension is .png. The file size is 32388 bytes.
Font: Arial, Regular, 8-point
The cursor was moved from the top of the upper panel, down to the 4th file.
The following characters were clipped: [ ] @ ( ) _
The underscore disappeared entirely.
The lower panel shows that the actual file names did not change.
I could make a screenshot later for the MS Gothic font, if the Arial example above is not sufficient.
Although I was confused at first by invisible underscores, I do not notice this problem often. If modifying TC to prevent clipped pixels would be difficult or would slow TC significantly, then I could live with the current situation and perhaps find another font for the file lists.
@Aezay: I don't use file icons, but as you say, they would provide a work-around. Thanks
http://www.pbase.com/ralph_s/image/154849709/original.jpg
Despite the .jpg in the generic address above, the actual extension is .png. The file size is 32388 bytes.
Font: Arial, Regular, 8-point
The cursor was moved from the top of the upper panel, down to the 4th file.
The following characters were clipped: [ ] @ ( ) _
The underscore disappeared entirely.
The lower panel shows that the actual file names did not change.
I could make a screenshot later for the MS Gothic font, if the Arial example above is not sufficient.
Although I was confused at first by invisible underscores, I do not notice this problem often. If modifying TC to prevent clipped pixels would be difficult or would slow TC significantly, then I could live with the current situation and perhaps find another font for the file lists.
@Aezay: I don't use file icons, but as you say, they would provide a work-around. Thanks
Last edited by Ralph on 2014-03-16, 00:58 UTC, edited 1 time in total.
To increase line spacing you could use MinLineHeight in [Configuration] section in your main INI file.
There's no need to increase icon's size.
From Help
There's no need to increase icon's size.
From Help
MinLineHeight=0 Sets minimum line height (in pixels) in file lists if the given value is >0. If it is negative, the absolute value is added to the normal line height, e.g. MinLineHeight=-2, height=16 -> 18
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This happens when using the solid color frame cursor. There are currently no plans to change it, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
That's why I use the inverted cursor.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
The 32-bit version of TC allows disappearing underscores, but the 64-bit version does not. I am using TC 8.51 B3 and the Arial 8-point font.
If I set SelectionFocus, the cursor border consists of a 1-pixel-thick outer border having the color I chose, and a 1-pixel-thick inner border having the default color. I wonder if the extra inner border is involved with the disappearing underscores.
Both the 32-bit and 64-bit versions of TC 8.51 B3 give cursor borders 2 pixels thick on a new Windows 7 desktop computer, but only 1 pixel thick on a 4-year-old Windows 7 laptop. I would prefer a 1-pixel-thick border in all cases.
(Incidentally, the SelectionFocus entry in Help \ "Settings in the file wincmd.ini (Part 1)" would be easier to find if it included the word "color." I could place this minor comment in a separate topic if that would be appropriate.)
@Ghisler: I am not sure what is meant by "This happens when using the solid color frame cursor."
Are you referring to the adding of $3000000 to the SelectionFocus hex color? I tried adding $1000000 or commenting out SelectionFocus in WinCmd.ini, but the disappearing underscores were not affected.
If I set SelectionFocus, the cursor border consists of a 1-pixel-thick outer border having the color I chose, and a 1-pixel-thick inner border having the default color. I wonder if the extra inner border is involved with the disappearing underscores.
Both the 32-bit and 64-bit versions of TC 8.51 B3 give cursor borders 2 pixels thick on a new Windows 7 desktop computer, but only 1 pixel thick on a 4-year-old Windows 7 laptop. I would prefer a 1-pixel-thick border in all cases.
(Incidentally, the SelectionFocus entry in Help \ "Settings in the file wincmd.ini (Part 1)" would be easier to find if it included the word "color." I could place this minor comment in a separate topic if that would be appropriate.)
@Ghisler: I am not sure what is meant by "This happens when using the solid color frame cursor."
Are you referring to the adding of $3000000 to the SelectionFocus hex color? I tried adding $1000000 or commenting out SelectionFocus in WinCmd.ini, but the disappearing underscores were not affected.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The 64-bit vesion always redraws the complete line. The 32-bit doesn't so it works better on older, slower computers.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com