Comment 6 for bug 1508928

Revision history for this message
Simon Li (simon-lsm) wrote : Re: [Bug 1508928] Re: Program crashed after adding new Chinese fonts

 Hi Eduard,

I have uninstalled the original Inkscape 0.92.1, installed the same Chinese
fonts that I had uploaded to the forum some time ago (I am the one who
initiated the topic "Cannot add new Chinese fonts in Inkscape" in the
forum) and then opened your file. The Inkscape software can run run
smoothly without crash, so I think you have succeeded the prevent the
problem from happening. When I install the 0.92.1 again, it crashed and
cannot open, just like the 0.91 build. I may need to use FileZilla to
delete the font again if I need to use the 0.92.1 build.

Questions for you:
1. Can I continue to use this build? But I found that it doesn't require
installation and it is a bit slow.

2. Preventing from crashing is good, but I hope you can improve it a step
more to let the software displays the fonts that I added...

Thanks a lot.

Simon

「Eduard Braun <email address hidden>」在 2017年5月11日 週四,上午8:54 寫道:

> I just committed a potential fix for this issue:
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15687
> http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15428
>
> I discovered that sometimes invalid characters were contained in the
> font name that caused all kinds of ugly problems. To avoid those
> Inkscape now checks for invalid characters in font names and refuses to
> load affected fonts (that means you won't be able to use them in
> Inkscape, but at least Inkscape should not crash anymore).
>
> As I was never able to reproduce the crash on startup:
> Could somebody who was affected by this issue please check if my changes
> prevent Inkscape from crashing? I uploaded a testing build of Inkscape
> 0.92.x (the stable branch) at [1].
>
>
> [1]
>
> https://download.tuxfamily.org/inkscape/win64/inkscape_0.92.x_r15429_win64_MSYS2.7z
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1508928
>
> Title:
> Program crashed after adding new Chinese fonts
>
> Status in Inkscape:
> New
>
> Bug description:
> I am using Inkscape 0.91 on Windows 8.1, 64 bit.
>
> After I had added new Chinese fonts to the Windows, the Inkscape
> program shut down automatically when I click at Text> Text and Font,
> or clicking the Font dialogue box in Inkscape. The problem still
> exists after I have deleted the newly added font and even reinstalled
> Inkscape. I am sure the new fonts can work because I can use them
> without any problem in Microsoft Word.
>
> I have uploaded one of the font file for you to try at the link below,
> and also attached the same file here:
> https://www.filepicker.io/api/file/hYopCHUjS5uPU6tStIDd
>
> I am very frustrated now because I cannot even change English fonts,
> please offer help ASAP, thanks...
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1508928/+subscriptions
>