Menu

#2892 tk segfaulting due to Xft fonts

obsolete: 8.5.7
open
7
2011-06-06
2011-04-08
Anand
No

Discussion

  • Donal K. Fellows

    • labels: 104343 --> 46. Unix Fonts
    • priority: 5 --> 9
    • assigned_to: nobody --> jenglish
     
  • Don Porter

    Don Porter - 2011-06-02

    status?

     
  • Joe English

    Joe English - 2011-06-03

    > status?

    Unable to reproduce.

    The statement in the stackoverflow thread that Red Hat has recently disabled transient linking is apparently incorrect. (They might have changed *something* ldd-related, but transient linking most certainly still works.)

    Linking libtk.so against `pkg-config --libs xft` will work correctly on any nonmisconfigured system. Tk's autogoo attempts to check for various previously reported misconfigured systems and attempts to work around them, and it is entirely possible that that logic is screwing things up on working systems, but again, I am unable to reproduce the reported problem.

     
  • Don Porter

    Don Porter - 2011-06-06
    • priority: 9 --> 7
     
  • Joe English

    Joe English - 2011-12-06

    I've finally been able to replicate the problem. This condition obtains when there are no fonts installed on the local machine.

    To check: run `fc-list` at the shell prompt. If this does not produce any output, that means no fonts are installed.

    To fix: on CentOS machines, `yum install bitmap-fonts`, bitstream-vera-fonts, or any of the other available 'fonts-*' packages resolves the problem.