AKQJT
V2EX  ›  问与答

segmentation fault 不知道怎么处理了

  •  
  •   AKQJT · Aug 3, 2017 · 3478 views
    This topic created in 3208 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
        1
    pqee  
       Aug 3, 2017 via Android   ❤️ 1
    segmentfault.com 问呀
    AKQJT
        2
    AKQJT  
    OP
       Aug 3, 2017
    @pqee LOL
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1456 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:58 · PVG 00:58 · LAX 09:58 · JFK 12:58
    ♥ Do have faith in what you're doing.