[EMAIL PROTECTED] wrote:
Author: larsbj
Date: Sat Oct 21 13:15:37 2006
New Revision: 15442
URL: http://www.lyx.org/trac/changeset/15442
Log:
Fix some unicode conversion problems, more work needed.
void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & /*dim*/) const
{
// FIXME UNICODE
- mathed_string_dim(mi.base.font, from_utf8(name_), dim_);
+ vector<char_type> n(name_.begin(), name_.end());
+ mathed_string_dim(mi.base.font, n, dim_);
What's wrong with from_utf8(). Georg said me that you are cheating by
doing this automatic cast. Could you please elaborate?
It looks to be that you are going backward with this commit instead of
finishing the unicode road with a proper use of docstring.
Abdel.