2005-05-08 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/pfb.cc (LY_DEFINE): add cast.
+
* scm/framework-ps.scm (write-preamble): embed CFFs if file name
matches .otf
(write-preamble): warn about unknown fonts.
-LY_DEFINE (ly_otf_to_pfa, "ly:otf->cff",
+LY_DEFINE (ly_otf_to_cff, "ly:otf->cff",
1, 0, 0, (SCM otf_file_name),
"Convert the contents of a OTF file to CFF file, returning it as "
" a string.")
FT_Face face = open_ft_face (file_name);
String table = get_otf_table (face, "CFF ");
- SCM asscm = scm_from_locale_stringn (table.get_bytes (),
+ SCM asscm = scm_from_locale_stringn ((char*) table.get_bytes (),
table.length ());
return asscm;