Re: Obtaining the dimensions of a glyph (or a stencil) within c++

2010-02-16 Thread Marc Hohl
Patrick McCarty schrieb: Hi Marc, On 2010-02-15, Marc Hohl wrote: I have Stencil segno = Font_interface::get_default_font (me)->find_by_name ("scripts.varsegno"); How can I get the width of the glyph? Or alternatively, can I get the width of the stencil defined as above? Untested, b

Re: Obtaining the dimensions of a glyph (or a stencil) within c++

2010-02-15 Thread Patrick McCarty
Hi Marc, On 2010-02-15, Marc Hohl wrote: > I have > > Stencil segno = Font_interface::get_default_font (me)->find_by_name > ("scripts.varsegno"); > > How can I get the width of the glyph? Or alternatively, can I get > the width of the stencil defined as above? Untested, but something like this

Obtaining the dimensions of a glyph (or a stencil) within c++

2010-02-15 Thread Marc Hohl
Hello, I am still working on a proper way to include the varsegno sign (issue #659). Displaying the varsegno itself with various combinations (repeat signs etc.) works already, but for span-bar.cc, I'll have to remove the varsegno sign itself but the spacing should be the same, so basically, I