[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scaling problem
From: |
Han-Wen Nienhuys |
Subject: |
Re: scaling problem |
Date: |
Fri, 3 Aug 2007 15:59:54 -0300 |
2007/7/29, Werner LEMBERG <address@hidden>:
> look at this example:
>
> \new Staff \with {
> % fontSize = #-4
> % \override StaffSymbol #'staff-space = #(magstep -4)
> }
> {
> c''-\tweak #'extra-offset #'(2 . 6)
> -\markup \stencil #(ly:bracket Y '(0 . 5) 0.2 1)
> }
>
> What am I missing? Help, please.
The stencil command is (partly) to blame. Stencils are passed as is to
the backend. The set-global-staff-size command actually sets the
scaling in the final postscript, so that 1.0 distance unit in the
stencil is exactly one global staff space.
If you want a foolproof solution, define a markup-command, that
constructs the brackets, and adjusts lengths with the magstep of
font-size.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: scaling problem,
Han-Wen Nienhuys <=