Error loading afm character with pslib

This is a discussion on Error loading afm character with pslib within the Linux Programming forums, part of the Platform Specific Boards category; I have a c example program of using pslib he compile fine but when I execute the program he say: ...

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    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

    Code:
    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
    Posts
    1,528
    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
    Posts
    14,185
    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, 04:32 PM
  4. character occurrence program not working
    By Nutshell in forum C Programming
    Replies: 6
    Last Post: 01-21-2002, 09:31 PM
  5. Replies: 12
    Last Post: 01-12-2002, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21