Hi, I think font.ps you sent is a PostScript program which constructs a PS Type1 font dictionary in the VM of PostScript, and it is incompatible with PostScript font file format. I have to note that FreeType is not a PostScript interpreter, it is designed to load a font file conforming PostScript font file format.
Regards, mpsuzuki Goran Bjelanovic wrote: > Hi, > > I'm new with FreeType library. I'm currently dealing with Type1 fonts. As > you know Type1 fonts is actually one PostScript program. > Attachment contains PS file that defines simple font with only two glyphs ( > 'a' and 's' ). FreeType is unable to create a face from this file, and > always returns error code 2. Font program contains all required entries and > GhostScript is able to produce output on them, so font program is correct > one. > > So my question is: > 1. Is FreeType able to parse an arbitrarily PostScript font file. And if it > can't what is the file format it request. > 2. Is there any way to display little more information about error. > > Regards, > Goran > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freetype mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
