AKQJT
V2EX  ›  问与答

segmentation fault 不知道怎么处理了

  •  
  •   AKQJT · Aug 3, 2017 · 3880 views
    This topic created in 3380 days ago, the information mentioned may be changed or developed.

    这个问题不知道发到哪个节点了

    Google 了一圈 也没找到解决方法。

    不知道这里有没有人知道是什么问题

    谢谢了

    text2image --list_available_fonts                      
    
    Fontconfig warning: line 4: empty font directory name ignored
    Fontconfig warning: line 4: empty font directory name ignored
    
    (process:99188): Pango-CRITICAL **: pango_font_face_describe: assertion 'PANGO_IS_FONT_FACE (face)' failed
    
    (process:99188): Pango-CRITICAL **: pango_font_description_to_string: assertion 'desc != NULL' failed
    [1]    99188 segmentation fault  text2image --list_available_fonts
    
    Supplement 1  ·  Aug 3, 2017
    加上这个环境变量就可以了
    PANGOCAIRO_BACKEND=fc
    2 replies  •  2017-08-03 11:07:18 +08:00
    pqee
    pqee
    Aug 3, 2017 via Android❤️1
    1
    上 segmentfault.com 问呀
    AKQJT
    AKQJT
    OP
    Aug 3, 2017
    2
    @pqee LOL
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 12:19 · PVG 20:19 · LAX 04:19 · JFK 07:19
    ♥ Do have faith in what you're doing.