[type42] Allow only embedded TrueType fonts.
This is a follow-up to Savannah bug #43659. * src/type42/t42objs.c (T42_Face_Init): Exclusively use the `truetype' font driver for loading the font contained in the `sfnts' array.
This commit is contained in:
parent
3788187e0c
commit
42fcd6693e
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2014-11-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[type42] Allow only embedded TrueType fonts.
|
||||
|
||||
This is a follow-up to Savannah bug #43659.
|
||||
|
||||
* src/type42/t42objs.c (T42_Face_Init): Exclusively use the
|
||||
`truetype' font driver for loading the font contained in the `sfnts'
|
||||
array.
|
||||
|
||||
2014-11-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[type42] Fix Savannah bug #43659.
|
||||
|
|
|
@ -292,7 +292,9 @@
|
|||
FT_Open_Args args;
|
||||
|
||||
|
||||
args.flags = FT_OPEN_MEMORY;
|
||||
args.flags = FT_OPEN_MEMORY | FT_OPEN_DRIVER;
|
||||
args.driver = FT_Get_Module( FT_FACE_LIBRARY( face ),
|
||||
"truetype" );
|
||||
args.memory_base = face->ttf_data;
|
||||
args.memory_size = face->ttf_size;
|
||||
|
||||
|
|
Loading…
Reference in New Issue