]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ttf.cc
Issue 4325: Replace most uses of scm_{from,to}_locale_* with fixed encodings
[lilypond.git] / lily / ttf.cc
index 6a68f00c3d4697f9af9f39f65c3ea2c07e011ede..c46b9e9f75ed0343b0e3e4e1798cff2273444cb5 100644 (file)
@@ -570,7 +570,7 @@ LY_DEFINE (ly_ttf_2_pfa, "ly:ttf->pfa",
   Memory_out_stream stream;
 
   create_type42_font (&stream, file_name, i);
-  SCM asscm = scm_from_locale_stringn (stream.get_string (),
+  SCM asscm = scm_from_latin1_stringn (stream.get_string (),
                                        stream.get_length ());
 
   debug_output ("]", false);