Truncation a name without the need for this
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
1) What's the font name and size?
2) Please post the filename here as letters (not as picture).
3) Please attach screenshots here in the forum, not as external link.
2) Please post the filename here as letters (not as picture).
3) Please attach screenshots here in the forum, not as external link.
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
I only use the font "Code2000", because it is a font with full UNICODE support.admin wrote:1) What's the font name and size?
Fonts from Microsoft are not.
I need to support all UNICODE code points in the font, because I use a lot of different languages (English, Russian, Japanese, Polish, German, Chinese, Korean).
admin wrote:2) Please post the filename here as letters (not as picture).
admin wrote:3) Please attach screenshots here in the forum, not as external link.
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
I installed the font and tested your files: no problem!
Maybe it's caused by using Windows XP in Classic Theme? I'll continue thinking about it...FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
In the next beta version, you can do this:
Result should be something like this:
These three values should be identical, but they are not.
83/85/83
This means the font is not correctly constructed, in other words the font has a bug.
Now it seams that the Win 8.1 API works around that bug, but the XP API does not.
Over here (Win 8.1) that string has 83 pixels, and is not truncated.
Code: Select all
text get("textmetrics", "uPpEr_FAQ");
Code: Select all
Text: uPpEr_FAQ
Width: 83/85/83 pixels
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
83/85/83
This means the font is not correctly constructed, in other words the font has a bug.
Now it seams that the Win 8.1 API works around that bug, but the XP API does not.
Over here (Win 8.1) that string has 83 pixels, and is not truncated.
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
Thanks a lot. I will look for another full UNICODE font.admin wrote: This means the font is not correctly constructed, in other words the font has a bug.
But why do Explorer and CubicExplorer display these names correctly?
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
I can tell you more after you did the test:
Next beta...
BTW, it might just be one buggy character, maybe the capital "Q"...
Code: Select all
text get("textmetrics", "uPpEr_FAQ");
BTW, it might just be one buggy character, maybe the capital "Q"...
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
I just downloaded version 18.70. The problem is present.admin wrote:I can tell you more after you did the test:Next beta...Code: Select all
text get("textmetrics", "uPpEr_FAQ");
Ok. I will wait next beta version to run the test (text get("textmetrics", "uPpEr_FAQ");).
I also noticed that the Explorer also truncates names in "List" mode.
Also I want to say that the problem is not in the symbol "Q". Folder "_Tor" was also truncated. Folder "TOR" was not truncated. I'm assuming the problem is with the upper/lower case of letters. Good luck.admin wrote:BTW, it might just be one buggy character, maybe the capital "Q"...
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
Thanks for the info.
The new beta is available now.
The new beta is available now.
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
-------------------------------------
text get("textmetrics", "uPpEr_FAQ");
Text: uPpEr_FAQ
Width: 83 pixels (83/85/83)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "lower_faq");
Text: lower_faq
Width: 74 pixels (74/74/74)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "_Tor");
Text: _Tor
Width: 34 pixels (34/36/34)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "TOR");
Text: TOR
Width: 30 pixels (30/30/30)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "uPpEr_FAQ");
Text: uPpEr_FAQ
Width: 83 pixels (83/85/83)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "lower_faq");
Text: lower_faq
Width: 74 pixels (74/74/74)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "_Tor");
Text: _Tor
Width: 34 pixels (34/36/34)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
text get("textmetrics", "TOR");
Text: TOR
Width: 30 pixels (30/30/30)
Height: 19 pixels
Fontname: Code2000
Fontsize: 11,25
Fontbold: No
Fontitalic: No
-------------------------------------
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
Curious results. I cannot see any suspicious pattern or character.
Anyway, I think I can work around that truncation (next beta). Always a pleasure to surpass Explorer...
Anyway, I think I can work around that truncation (next beta). Always a pleasure to surpass Explorer...
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
Thank you so much. I'll look forward to the new version.admin wrote:Anyway, I think I can work around that truncation (next beta). Always a pleasure to surpass Explorer...
-
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Truncation a name without the need for this
Yes! Now everything is displayed perfectly. Thank you so much! XYplorer is the best file manager. Thank you.admin wrote:Did it work?
-
- Site Admin
- Posts: 60635
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Truncation a name without the need for this
Had to limit this workaround to XP. It lead to other problems in other Windows versions.
See viewtopic.php?p=157277#p157277
See viewtopic.php?p=157277#p157277
FAQ | XY News RSS | XY Twitter