ubuntu GIMP 字体显示异常 解决方法
今天用GIMP的时候发现字体出了问题
报错如下
Fontconfig warning: FcPattern object width does not accept value [75 100)
/snap/gimp/380/usr/bin/gimp: Gimp-Text-严重: gimp_font_factory_load_names: assertion 'fontset' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GdkPixbuf-CRITICAL **: 12:21:22.032: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:25382): GLib-ERROR **: 12:21:22.032: ../../../../glib/gmem.c:333: overflow allocating 18446744073709551615*18446744073709551615 bytes
(script-fu:25464): LibGimpBase-WARNING **: 12:21:22.168: script-fu: gimp_wire_read(): error
追踪与中断点陷阱 (核心已转储)
主要的问题是Fontconfig warning: FcPattern object width does not accept value [75 100)
找到了一个解决方法,在终端输入以下内容
sudo rm -rf ~/.cache/fontconfig
最近好像没啥东西写就水一点文章吧 qwq