Zydeo icon indicating copy to clipboard operation
Zydeo copied to clipboard

Installer doesn't install all the fonts

Open ygaeon opened this issue 9 years ago • 0 comments

OS: Windows 10 Pro x64

I got the popup "Zydeo encountered a problem and had to close."

After some researching (using Process Monitor) I found some problems:

  1. The C:...\Roaming\Zydeo directory hadn't been created and thus no error.log was produced. ... after creating the folder manually I could get Zydeo to create the error log.

The error.log says:

2016-10-15 12:44  --  Fatal error 
System.Exception: Requested font not available.
   at ZD.Gui.HanziRenderer.createFont(IdeoFamily fam, IdeoScript script, Single size, FontStyle style)
   at ZD.Gui.HanziRenderer.GetCharSize(IdeoFamily fam, Single size)
   at ZD.Gui.CharPicker.calibrateFont()
   at ZD.Gui.LookupControl..ctor(ZenControlBase owner, ICedictEngineFactory dictFact, ITextProvider tprov)
   at ZD.Gui.MainForm..ctor(ICedictEngineFactory dictFact, ITextProvider tprov)
   at ZD.Program.mainCore()
   at ZD.Program.Main()

In Process Monitor I could find that Zydeo failed to load the following fonts (from it's own font folder)

  • NotoSans-Regular.ttf
  • NotoSans-Bold.ttf
  • NotoSans-Italic.ttf
  • NotoSans-BoldItalic.ttf

I used the Installers method of downloading these files:

  • http://zydeo.net/downloadinstaller?file=NotoSans-Regular.ttf
  • http://zydeo.net/downloadinstaller?file=NotoSans-Bold.ttf
  • http://zydeo.net/downloadinstaller?file=NotoSans-Italic.ttf
  • http://zydeo.net/downloadinstaller?file=NotoSans-BoldItalic.ttf

... which worked quite well.

Unfortunately the issue persisted with yet other fonts (that wasn't possible to download using the above method):

  • NotoSansHans-Light.otf
  • NotoSansHant-Light.otf

I found the files here:

  • https://github.com/zydeo/Zydeo/raw/master/_work/NotoSansHans-Light.otf
  • https://github.com/zydeo/Zydeo/blob/master/_work/NotoSansHant-Light.otf

... and downloaded them into Zydeo\Fonts\

Unfortunately Zydeo still doesn't start, still failing in the HanziRenderer.

ygaeon avatar Oct 15 '16 05:10 ygaeon