On Friday 11 Feb 2005 17:26, Pedro Lopez-Cabanillas wrote:
> More debugging data, from NoteFontMap::HotspotData::getHotspot() at
> notefont.cpp:925
>
> Arguments received for a G clef:
>  size: 8, width = 23, height = 62
> Calculates y at line 940:
>  y = toSize(height = 62, m_scaled.second = 0.0, false);
> Returns:
>  x = 0, y = 0

m_scaled.second defaults to -1.0 if not set, so something must have 
actually set it to 0.0.

Try printing out the values of m_hotspotCharName, s, and y at line 491 
(which should be reached once for each hotspot definition in the 
mapping XML file of a scalable font).


Chris


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to