Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| [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 is not unidocde, it is some font internal encoding.
--
Lgb