View Full Version : Error loading afm character with pslib

09-20-2009, 11:52 AM
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

09-20-2009, 01:06 PM
Have you done an strace on the program? What does that tell you? Perhaps you could post the results for us to see?

09-20-2009, 02:28 PM
If the question is "where are my .enc files" then it's generally stuff/fonts/enc/dvips (and maybe base under that).