C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-20-2009, 11:52 AM   #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
TheLegend is offline   Reply With Quote
Old 09-20-2009, 01:06 PM   #2
...
 
kermit's Avatar
 
Join Date: Jan 2003
Posts: 1,190
Have you done an strace on the program? What does that tell you? Perhaps you could post the results for us to see?
__________________
Got Ed?

sys-sizes
kermit is offline   Reply With Quote
Old 09-20-2009, 02:28 PM   #3
and the Hat of Guessing
 
tabstop's Avatar
 
Join Date: Nov 2007
Posts: 8,740
If the question is "where are my .enc files" then it's generally stuff/fonts/enc/dvips (and maybe base under that).
tabstop is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Character literals incorrectly interpreted DL1 C Programming 11 04-05-2009 05:35 PM
<string> to LPCSTR? Also, character encoding: UNICODE vs ? Kurisu33 C++ Programming 7 10-09-2006 12:48 AM
Character handling help vandalay C Programming 18 03-29-2004 05:32 PM
character occurrence program not working Nutshell C Programming 6 01-21-2002 10:31 PM
How do i check if a character is the same as another character ? Nutshell C Programming 12 01-12-2002 09:57 AM


All times are GMT -6. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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