if (!pango_dict_->try_retrieve (key, &val))
{
if (be_verbose_global)
- progress_indication ("[" + string (pango_fn));
+ progress_indication ("\n[" + string (pango_fn));
Pango_font *pf = new Pango_font (pango_ft2_fontmap_,
description,
return 0;
if (be_verbose_global)
- progress_indication ("[" + file_name);
+ progress_indication ("\n[" + file_name);
val = Open_type_font::make_otf (file_name);
state_stack_.push_back (yy_current_buffer);
if (be_verbose_global)
- progress_indication (string ("[") + file->name_string ());
+ {
+ string spaces = "";
+ for (size_t i = 0; i < state_stack_.size (); i++)
+ spaces += " ";
+ progress_indication (string ("\n") + spaces + string ("[") + file->name_string ());
+ }
include_stack_.push_back (file);
state_stack_.push_back (yy_current_buffer);
if (be_verbose_global)
- progress_indication (string ("[") + name);
+ {
+ string spaces = "";
+ for (size_t i = 0; i < state_stack_.size (); i++)
+ spaces += " ";
+ progress_indication (string ("\n") + spaces + string ("[") + name);
+ }
include_stack_.push_back (file);
yy_switch_to_buffer (yy_create_buffer (file->get_istream (), YY_BUF_SIZE));
string result (&chars[0], chars.size ());
if (be_verbose_global)
- progress_indication ("]");
+ progress_indication ("]\n");
return result;
}
string file_name = ly_scm2string (pfb_file_name);
if (be_verbose_global)
- progress_indication ("[" + file_name);
+ progress_indication ("\n[" + file_name);
vector<char> pfb_string = gulp_file (file_name, 0);
char *pfa = pfb2pfa ((Byte *) &pfb_string[0], pfb_string.size ());
string file_name = ly_scm2string (otf_file_name);
if (be_verbose_global)
- progress_indication ("[" + file_name);
+ progress_indication ("\n[" + file_name);
FT_Face face = open_ft_face (file_name, 0 /* index */);
string table = get_otf_table (face, "CFF ");
}
if (be_verbose_global)
- message (_f ("Element count %d.", count + element_count ()));
+ message (_f ("Element count %d", count + element_count ()) + "\n");
}
SCM
string file_name = ly_scm2string (ttf_file_name);
if (be_verbose_global)
- progress_indication ("[" + file_name);
+ progress_indication ("\n[" + file_name);
FT_Face face;
string file_name = ly_scm2string (ttf_file_name);
if (be_verbose_global)
- progress_indication ("[" + file_name);
+ progress_indication ("\n[" + file_name);
Memory_out_stream stream;
".pdf"))
(is-eps (string-match "\\.eps$" name))
(paper-size-string (if is-eps
- " -dEPSCrop "
- (ly:format "-dDEVICEWIDTHPOINTS=~$ \
--dDEVICEHEIGHTPOINTS=~$ "
- paper-width paper-height )))
+ "-dEPSCrop"
+ (ly:format "-dDEVICEWIDTHPOINTS=~$\
+ -dDEVICEHEIGHTPOINTS=~$"
+ paper-width paper-height)))
(cmd (simple-format #f
"~a\
~a\
~a\
~a\
- -dCompatibilityLevel=1.4 \
+ -dCompatibilityLevel=1.4\
-dNOPAUSE\
-dBATCH\
- -r1200 \
+ -r1200\
-sDEVICE=pdfwrite\
-sOutputFile=~S\
-c .setpdfwrite\
(if (ly:get-option 'verbose) "" "-q")
(if (or (ly:get-option 'gs-load-fonts)
(ly:get-option 'gs-load-lily-fonts))
-
- " -dNOSAFER "
- " -dSAFER ")
+ "-dNOSAFER"
+ "-dSAFER")
paper-size-string
pdf-name
name)))
(ly:error (_ "cannot find: ~A") x))
(primitive-load file-name)
(if (ly:get-option 'verbose)
- (ly:progress "]"))))
+ (ly:progress "]\n"))))
(define-public DOS
(let ((platform (string-tokenize
;; FIXME: soft-code, localize
(welcome-ly (string-append ly "Welcome_to_LilyPond.ly"))
(cmd (get-editor-command welcome-ly 0 0 0)))
- (ly:message (_ "Invoking `~a'...") cmd)
+ (ly:message (_ "Invoking `~a'...\n") cmd)
(system cmd)
(exit 1)))