luser-dr00g / xpost

A PostScript interpreter in C
Other
93 stars 12 forks source link

FT_Load_Glyph returns error 35 on Linux #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. testfont
2.
3.

What is the expected output? What do you see instead?

Under mingw, I see the correct output. Under Cygwin, I see gibberish, but 
visible gibberish. Under Linux (Ubuntu), I get error 35, which according to 
/usr/include/freetype2/freetype/fterrdef.h means:

  FT_ERRORDEF_( Invalid_Face_Handle,                0x23, \
                "invalid face handle" )

Please use labels and text to provide additional information.

Original issue reported on code.google.com by luser.droog on 15 Dec 2013 at 7:07

GoogleCodeExporter commented 9 years ago
Fixed for Cygwin. This error remains under Linux.

Original comment by luser.droog on 15 Dec 2013 at 8:32

GoogleCodeExporter commented 9 years ago
Output under Cygwin does not appear to be scaled properly.

Original comment by luser.droog on 15 Dec 2013 at 10:30

GoogleCodeExporter commented 9 years ago
The scaling problem appears only to happen when the font glyphs use pixel_mode 
= 1, or true bitmaps. Perhaps a fixed-size font has been selected by mistake.

Original comment by luser.droog on 17 Dec 2013 at 7:52

GoogleCodeExporter commented 9 years ago
I can't seem to access any fonts on Ubuntu. `fc-list` shows lots available. And 
the substitutions appear to be working. findfont reports that the last 
substitute could not be found.

Original comment by luser.droog on 17 Dec 2013 at 7:54

GoogleCodeExporter commented 9 years ago

Original comment by luser.droog on 19 Dec 2013 at 2:49