Page 1 of 1

Error when replacing with a specific font

Posted: 23 Jul 2024 14:15
by hesisiangchi_
Image
(Click to Play)

If try to change the font in xyplorer to Noto Sans CJK.otc.ttc(https://github.com/notofonts/noto-cjk), or if try do, an error occurs. It will be displayed as ERROR 6 OVERFLOW and will break the entire font rendering of xyplorer and window font rendering and cannot be recovered without rebooting the system. If do not stop at attempting the change and change the font to Noto Sans CJK, xyplorer will not recover from a reboot and window font rendering will break with it every time xyplorer is run. In this case, need to delete and reinstall xyplorer.

My guess is that the problem is caused by the font in question being too large as a TTC file and xyplorer cannot read it.

The noto sans cjk font is a font that can represent both CJKV languages and even some older languages. I hope this can be resolved if possible.

Additionally, if I accidentally lose my licence during the reinstallation process, will I be able to find it on the xyplorer site? (not lost it)


Written with DeepL translator.

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 14:44
by highend
Can't say anything about the font itself, not using it...

You wouldn't need to reinstall XY when this happens though.
Just make sure that no XY instance is running and then you open the XYplorer.ini file and replace the whole [Font] section with these entries:

Code: Select all

[Font]
Name=Segoe UI
MilliSize=9000
Bold=0
Italic=0
InterfaceFont=Segoe UI
InterfaceFontMilliSize=9000
MonospaceFont=Courier New
MonospaceFontMilliSize=9750
EditorFont=Courier New
EditorFontMilliSize=9750
ToolbarFont=Segoe UI
ToolbarFontMilliSize=8250
ToolbarFontBtn=Segoe UI
ToolbarFontBtnMilliSize=8250
StatusBarFontMilliSize=9000
StatusBarSection1WidthAdd=0
StatusBarSection2WidthAdd=0
ThumbsFontPercent=100
ApplyFontMain=63
You wouldn't lose your licence because of this change and if you'd lost is, look into your e-mails.
You can't retrieve it on the XY website.

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 15:04
by admin
hesisiangchi_ wrote: 23 Jul 2024 14:15 If try to change the font in xyplorer to Noto Sans CJK.otc.ttc...
How did you try to do that?

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 15:56
by hesisiangchi_
admin wrote: 23 Jul 2024 15:04
hesisiangchi_ wrote: 23 Jul 2024 14:15 If try to change the font in xyplorer to Noto Sans CJK.otc.ttc...
How did you try to do that?
Click the image in the original text to view the GIF video.
This error occurs if you try to change the font to NOTO SANS CJK in Configuration - Fonts - MAIN CONTENTS, or if you change it.

Add the error message.

Image

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 16:22
by admin
Can you provide a download link to the exact font file you want to use?

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 16:23
by hesisiangchi_
highend wrote: 23 Jul 2024 14:44 Can't say anything about the font itself, not using it...

You wouldn't need to reinstall XY when this happens though.
Just make sure that no XY instance is running and then you open the XYplorer.ini file and replace the whole [Font] section with these entries:

Code: Select all

[Font]
Name=Segoe UI
MilliSize=9000
Bold=0
Italic=0
InterfaceFont=Segoe UI
InterfaceFontMilliSize=9000
MonospaceFont=Courier New
MonospaceFontMilliSize=9750
EditorFont=Courier New
EditorFontMilliSize=9750
ToolbarFont=Segoe UI
ToolbarFontMilliSize=8250
ToolbarFontBtn=Segoe UI
ToolbarFontBtnMilliSize=8250
StatusBarFontMilliSize=9000
StatusBarSection1WidthAdd=0
StatusBarSection2WidthAdd=0
ThumbsFontPercent=100
ApplyFontMain=63
You wouldn't lose your licence because of this change and if you'd lost is, look into your e-mails.
You can't retrieve it on the XY website.
Thank you for your response. It looks like xyplorer can be restored without reinstalling.
I'll have to keep my licence email safe.

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 16:24
by hesisiangchi_
admin wrote: 23 Jul 2024 16:22 Can you provide a download link to the exact font file you want to use?
yes.
https://github.com/googlefonts/noto-cjk ... VF.otf.ttc

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 16:30
by admin
Thanks.

Currently XY is not compatible with TTC. This may change in the future.

Re: Error when replacing with a specific font

Posted: 23 Jul 2024 16:50
by hesisiangchi_
Thank you for your response. I look forward to it.

Re: Error when replacing with a specific font

Posted: 26 Jul 2024 23:21
by hesisiangchi_
Solution: Variable .otf.ttc font files will cause an error, so install them as individual font files or non-variable .ttf.ttc font files.

Re: Error when replacing with a specific font

Posted: 27 Jul 2024 10:46
by admin
Thanks for the info.

In the meantime, I had installed the Noto package you linked to, selected one of the NOTO SANS CJK fonts in XYplorer, and saw the overflow error you saw. What happened next was quite scary: Other applications in Windows were also affected (WTF). For example, all the lists in File Explorer were completely black, just icons, no text. I managed to restart Windows by clicking on captionless ghost buttons, and the thing fixed itself. Pheww.