[Bug 1106850] New: xfig crashes if noto-sans-cjk-fonts are installed
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 Bug ID: 1106850 Summary: xfig crashes if noto-sans-cjk-fonts are installed Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After I install the fonts noto-sans-cjk-fonts, when I start xfig I got these warnings in the terminal: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-URW-Nimbus Roman No9 L-medium-r-normal--34-*-*-*-*-*-*-*,-kochi-mincho-medium-r-normal--34-*-*-*-*-*-jisx0208.1983-0,-baekmukttf-batang-medium-r-normal--34-*-*-*-*-*-ksc5601.1987-0,-*-times-medium-r-normal--34-*-*-*-*-*-*-*,-*-*-medium-r-normal--34-*-*-*-*-*-*-*,*--34-*-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset and when I select File->Open (or Merge or Save As or Export) xfig crashes and print this error message: Error: Aborting: no fontset found If I remove all the noto-sans-cjk-fonts, then xfig works again. Whatever is causing the problem apparently it got fixed in tumbleweed (xfig works fine also with noto-sans-cjk-fonts installed). It would be good to apply the fix to 15.0 too. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c16 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(comes@naic.edu) | --- Comment #16 from Giacomo Comes <comes@naic.edu> --- I'm cleaning the needinfo request without providing the info requested in comment 3 and 4 because you were able to reproduce the bug and also because I don't have any special setup/locale. I use the default English. I'll add that I did apply the change mentioned in comment 12 to fonts-config in Leap 15.0 before submitting the bug, but that did not solve the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c50 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(comes@naic.edu) | --- Comment #50 from Giacomo Comes <comes@naic.edu> --- (In reply to Dr. Werner Fink from comment #47)
(In reply to Stefan Dirsch from comment #46)
(In reply to Dr. Werner Fink from comment #44)
The bug is about Leap 15 ;)
I know, but we cannot provide maintenance updates for everything. And there have been massive changes in fonts-config between Leap 15 and TW I just noticed ...
This does not help for xfig on Leap 15 with installed noto-snoto-sans-cjk-fontsans-cjk-fonts
@ Giacomo ... can you live with the workaround like removing
rm /usr/share/fonts/encodings/encodings.dir fonts-config
xset fp rehash
The proper workaround sequence is: rm /usr/share/fonts/encodings/encodings.dir touch /usr/share/fonts/truetype (fonts-config check for timestamps and without this touch it does not do a proper job) fonts-config xset fp rehash The problem with this workaround is that when a font rpm get installed/removed/updated, the issue come back. The proper fix for this problem is to also add the patch in comment 40 to fonts-config. In this way adding/removing fonts does not cause trouble. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c51 --- Comment #51 from Giacomo Comes <comes@naic.edu> --- (In reply to Stefan Dirsch from comment #46)
(In reply to Dr. Werner Fink from comment #44)
The bug is about Leap 15 ;)
I know, but we cannot provide maintenance updates for everything. And there have been massive changes in fonts-config between Leap 15 and TW I just noticed ...
I'm lost here. The only difference between fonts-config in Leap 15 and TW is the patch of comment 40. Where are the massive changes? Also is there any reason to not apply such patch in Leap 15? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c52 --- Comment #52 from Stefan Dirsch <sndirsch@suse.com> --- Ok. If this is the only change, which is needed for fonts-config in Leap 15 I'm fine with that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c53 --- Comment #53 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #52)
Ok. If this is the only change, which is needed for fonts-config in Leap 15 I'm fine with that.
done. Submitted for sle15. Once accepted, there will also be an update for Leap 15. Which can take months ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c55 --- Comment #55 from Giacomo Comes <comes@naic.edu> --- (In reply to Stefan Dirsch from comment #53)
(In reply to Stefan Dirsch from comment #52)
Ok. If this is the only change, which is needed for fonts-config in Leap 15 I'm fine with that.
done. Submitted for sle15. Once accepted, there will also be an update for Leap 15. Which can take months ...
Yes, I know. See for example bug 1095664. Bug "fixed" three months ago and still no sign of a Leap update. <irony> Sometime I ask myself why bother to report bugs for Leap. I should just report the bug for TW and wait for the next Leap release. Apparently that's faster. </irony> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c56 --- Comment #56 from Stefan Dirsch <sndirsch@suse.com> --- Giacomo, I'm feeling with you! The thing is, that Leap 15 inherits the sources of sle 15. Therefore I need to submit for sle 15, so I won't lose fixes for our enterprise product. But it takes a rather long time until things get checked in into sle15 and then QA starts testing this and releases updates for it. And AFAIU no Leap updates are available before. And this really can take months. :-( I even tried submitting the fix for leap 15 in parallel. It was declined, since then it could no longer inherit the sources of sle 15. Sigh. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c71 --- Comment #71 from Dr. Werner Fink <werner@suse.com> --- What I see that SLE-12-SP5 does not have xfig-3.2.8a ... also SLE-15 does not have no xfig at all and no customer had ever complained. Beside this I see the warnings: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "7x13bold" to type FontStruct Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset therefore I guess that the mkfontdir hadn't been executed. On tumbleweed it works flawless /suse/werner> rpmqpack | grep noto-sans-cjk-fonts noto-sans-cjk-fonts /suse/werner> xfig works and indeed there is /suse/werner> rpm -qf /usr/bin/mkfontdir mkfontscale-1.2.1-1.6.x86_64 /suse/werner> rpm -q xfig xfig-3.2.8a-2.1.x86_64 /suse/werner> rpm -q noto-sans-cjk-fonts noto-sans-cjk-fonts-20201206-1.1.noarch and the fonts are /suse/werner> find /usr/share/fonts -name 'fonts.dir' -o -name 'encodings.dir' | wc -l 257 all accesible for xfig -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c72 --- Comment #72 from Stefan Dirsch <sndirsch@suse.com> --- Indeed. Originally this bug has been opened against Leap 15.0. Now it gets hijacked by a sle12-sp5 user. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1106850 http://bugzilla.opensuse.org/show_bug.cgi?id=1106850#c74 --- Comment #74 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1106850) was mentioned in https://build.opensuse.org/request/show/920327 Backports:SLE-15 / xfig -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com