Thread: Error loading afm character with pslib

  1. #1
    Registered User
    Join Date
    Sep 2009

    Error loading afm character with pslib

    I have a c example program of using pslib he compile fine but when I execute the program he say:

    PSLib: Font outline could not be loaded for '/usr/share/texmf-texlive/fonts/afm/adobe/helvetic/phvb8a'.
    PSLib: The font encoding vector does not contain the glyph 'onehalf'. Using '?' instead.
    Segmentation fault

    The line referred to the error is

    fraktur = PS_findfont(psdoc,"/usr/share/texmf-texlive/fonts/afm/adobe/helvetic/phvb8a", "",1);
    antiqua = PS_findfont(psdoc, "/usr/share/texmf-texlive/fonts/afm/adobe/helvetic/phvb8a", "" , 0);

    The function don't find the encoding file and I don't now where is the enc file associate to that character

    However i have no problem on the execution of programs that creates only graphics

    Thanks all for the answers

  2. #2
    ... kermit's Avatar
    Join Date
    Jan 2003
    Have you done an strace on the program? What does that tell you? Perhaps you could post the results for us to see?

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    If the question is "where are my .enc files" then it's generally stuff/fonts/enc/dvips (and maybe base under that).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Character literals incorrectly interpreted
    By DL1 in forum C Programming
    Replies: 11
    Last Post: 04-05-2009, 05:35 PM
  2. <string> to LPCSTR? Also, character encoding: UNICODE vs ?
    By Kurisu33 in forum C++ Programming
    Replies: 7
    Last Post: 10-09-2006, 12:48 AM
  3. Character handling help
    By vandalay in forum C Programming
    Replies: 18
    Last Post: 03-29-2004, 05:32 PM
  4. character occurrence program not working
    By Nutshell in forum C Programming
    Replies: 6
    Last Post: 01-21-2002, 10:31 PM
  5. Replies: 12
    Last Post: 01-12-2002, 09:57 AM