%% todo : use macro, to show the statement tested.
#(ly:progress "~a\n" (ly:expand-environment "${HOME} $HOME $$ "))
-#(ly:font-config-display-fonts)
+
+
+%% very platform dependent.
+%% #(ly:font-config-display-fonts)
#(ly:progress "~A\n" (ly:duration->string (ly:make-duration 2 2 3 7)))
#(ly:parser-parse-string (ly:parser-clone parser) "foo = #1 #(ly:progress \"hello there\n\")")
--- /dev/null
+\version "2.11.28"
+
+\header {
+
+ texidoc = "The thickness setting between markup lines and other
+ lines is consistent."
+
+}
+
+\new Staff {
+ \override TextSpanner #'bound-details #'right #'text =
+ #(markup #:draw-line '(0 . -1))
+ \override TextSpanner #'thickness = #2
+ c'4 \startTextSpan
+ c'4 \stopTextSpan
+}
\version "2.10.0"
-\header {
- texidoc = "Sublist of grob property lists may be also tuned. In the
+\header {
+ texidoc = "Sublist of grob property lists may be also tuned. In the
next example, the @code{beamed-lengths} property of the @code{Stem}
grob is tweaked."
-
}
\relative {
- \override Stem #'details #'beamed-lengths = #'(8 8 8)
- c8[ c]
+ \override Stem #'details #'beamed-lengths = #'(6 10 8)
+ c8[ c] c16[ c] c32[ c]
+ \revert Stem #'details
+ c8[ c] c16[ c] c32[ c]
}
(number-pair?)
"A simple line. Uses the @code{thickness} property."
(let*
- ((th (chain-assoc-get 'thickness props 0.1))
+ ((th (*
+ (ly:output-def-lookup layout 'line-thickness)
+ (chain-assoc-get 'thickness props 1)))
(x (car dest))
(y (cdr dest))
(s (ly:make-stencil
@code{circle-padding} and @code{font-size} properties to determine line
thickness and padding around the markup."
- (let* ((th (chain-assoc-get 'thickness props 0.1))
+ (let* ((th
+ (* (ly:output-def-lookup layout 'line-thickness)
+ (chain-assoc-get 'thickness props 1)))
(size (chain-assoc-get 'font-size props 0))
(pad
(* (magstep size)
@code{box-padding} and @code{font-size} properties to determine line
thickness and padding around the markup."
- (let* ((th (chain-assoc-get 'thickness props 0.1))
+ (let* ((th (*
+ (ly:output-def-lookup layout 'line-thickness)
+ (chain-assoc-get 'thickness props 0.1)))
(size (chain-assoc-get 'font-size props 0))
(pad (* (magstep size)
(chain-assoc-get 'box-padding props 0.2)))
((mag (magstep (chain-assoc-get 'font-size props 0)))
(thickness
(* mag
- (chain-assoc-get 'thickness props 0.16)))
+ (ly:output-def-lookup layout 'line-thickness)
+ (chain-assoc-get 'thickness props 1.6)))
(dy (* mag 0.15))
(number-stencil (interpret-markup layout
(prepend-alist-chain 'font-encoding 'fetaNumber props)
(debug-skylines #f "debug skylines")
(delete-intermediate-files #f
"delete unusable PostScript files")
- (dump-profile #f "dump timing information for each file")
+ (dump-profile #f "dump memory and time information for each file")
+ (dump-cpu-profile #f "dump timing information (system-dependent)")
(dump-signatures #f "dump output signatures of each system. Used for regression testing.")
(eps-box-padding #f "Pad EPS bounding box left edge. Guarantee alignment between systems in LaTeX.")
(ly:progress "\nWriting timing to ~a..." outname)
(format (open-file outname "w")
"time: ~a\ncells: ~a\n"
- (car diff)
+ (if (ly:option 'dump-cpu-profile)
+ (car diff)
+ 0)
(cadr diff)
)))