Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Scott Kostyshak
On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:



 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.

 S Bauer



 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.



Which LyX versions are you using? If the problem is still there can
you file a bug report please on www.lyx.org/trac?

Thanks,

Scott


Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 10:57 schrieb Scott Kostyshak skost...@princeton.edu:

 On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
 luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:
 
 
 
 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.
 
 S Bauer
 
 
 
 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.
 
 
 
 Which LyX versions are you using? If the problem is still there can
 you file a bug report please on www.lyx.org/trac?

Yes, please.

I think, the problem is in GuiPainter.cpp line 356 etc.

==
// Qt4 does not display a glyph whose codepoint is the
// same as that of a soft-hyphen (0x00ad), unless it
// occurs at a line-break. As a kludge, we force Qt to
// render this glyph using a one-column line.
if (s.size() == 1  str[0].unicode() == 0x00ad) {
setQPainterPen(computeColor(f.realColor()));
QTextLayout adsymbol(str);
adsymbol.setFont(ff);
adsymbol.beginLayout();
QTextLine line = adsymbol.createLine();
line.setNumColumns(1);
line.setPosition(QPointF(0, -line.ascent()));
adsymbol.endLayout();
line.draw(this, QPointF(x, y));
return textwidth;
}
==

It happens \Omega is 0x00ad - so it's special. But it looks like this special 
code does not work.

Stephan

Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 21:33 schrieb Stephan Witt st.w...@gmx.net:

 Am 11.01.2013 um 10:57 schrieb Scott Kostyshak skost...@princeton.edu:
 
 On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
 luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:
 
 
 
 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.
 
 S Bauer
 
 
 
 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.
 
 
 
 Which LyX versions are you using? If the problem is still there can
 you file a bug report please on www.lyx.org/trac?
 
 Yes, please.
 
 I think, the problem is in GuiPainter.cpp line 356 etc.
 
 ==
   // Qt4 does not display a glyph whose codepoint is the
   // same as that of a soft-hyphen (0x00ad), unless it
   // occurs at a line-break. As a kludge, we force Qt to
   // render this glyph using a one-column line.
   if (s.size() == 1  str[0].unicode() == 0x00ad) {
   setQPainterPen(computeColor(f.realColor()));
   QTextLayout adsymbol(str);
   adsymbol.setFont(ff);
   adsymbol.beginLayout();
   QTextLine line = adsymbol.createLine();
   line.setNumColumns(1);
   line.setPosition(QPointF(0, -line.ascent()));
   adsymbol.endLayout();
   line.draw(this, QPointF(x, y));
   return textwidth;
   }
 ==
 
 It happens \Omega is 0x00ad - so it's special. But it looks like this special 
 code does not work.


Sorry, it's already reported here:

http://www.lyx.org/trac/ticket/7954

Stephan

Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Scott Kostyshak
On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:



 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.

 S Bauer



 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.



Which LyX versions are you using? If the problem is still there can
you file a bug report please on www.lyx.org/trac?

Thanks,

Scott


Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 10:57 schrieb Scott Kostyshak skost...@princeton.edu:

 On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
 luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:
 
 
 
 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.
 
 S Bauer
 
 
 
 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.
 
 
 
 Which LyX versions are you using? If the problem is still there can
 you file a bug report please on www.lyx.org/trac?

Yes, please.

I think, the problem is in GuiPainter.cpp line 356 etc.

==
// Qt4 does not display a glyph whose codepoint is the
// same as that of a soft-hyphen (0x00ad), unless it
// occurs at a line-break. As a kludge, we force Qt to
// render this glyph using a one-column line.
if (s.size() == 1  str[0].unicode() == 0x00ad) {
setQPainterPen(computeColor(f.realColor()));
QTextLayout adsymbol(str);
adsymbol.setFont(ff);
adsymbol.beginLayout();
QTextLine line = adsymbol.createLine();
line.setNumColumns(1);
line.setPosition(QPointF(0, -line.ascent()));
adsymbol.endLayout();
line.draw(this, QPointF(x, y));
return textwidth;
}
==

It happens \Omega is 0x00ad - so it's special. But it looks like this special 
code does not work.

Stephan

Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 21:33 schrieb Stephan Witt st.w...@gmx.net:

 Am 11.01.2013 um 10:57 schrieb Scott Kostyshak skost...@princeton.edu:
 
 On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
 luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:
 
 
 
 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.
 
 S Bauer
 
 
 
 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.
 
 
 
 Which LyX versions are you using? If the problem is still there can
 you file a bug report please on www.lyx.org/trac?
 
 Yes, please.
 
 I think, the problem is in GuiPainter.cpp line 356 etc.
 
 ==
   // Qt4 does not display a glyph whose codepoint is the
   // same as that of a soft-hyphen (0x00ad), unless it
   // occurs at a line-break. As a kludge, we force Qt to
   // render this glyph using a one-column line.
   if (s.size() == 1  str[0].unicode() == 0x00ad) {
   setQPainterPen(computeColor(f.realColor()));
   QTextLayout adsymbol(str);
   adsymbol.setFont(ff);
   adsymbol.beginLayout();
   QTextLine line = adsymbol.createLine();
   line.setNumColumns(1);
   line.setPosition(QPointF(0, -line.ascent()));
   adsymbol.endLayout();
   line.draw(this, QPointF(x, y));
   return textwidth;
   }
 ==
 
 It happens \Omega is 0x00ad - so it's special. But it looks like this special 
 code does not work.


Sorry, it's already reported here:

http://www.lyx.org/trac/ticket/7954

Stephan

Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Scott Kostyshak
On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
 wrote:
> Stefan Bauer  math.uni-bielefeld.de> writes:
>
>>
>>
>> I have the same setup. In the math edit mode the \Omega is invisible as
>> long as you are working on the formula.
>>
>> S Bauer
>>
>>
>
> If I type \Omega in the math editor I get a bold w.
> It is probably a font misconfiguration but I cannot figure out what to do.
>
>

Which LyX versions are you using? If the problem is still there can
you file a bug report please on www.lyx.org/trac?

Thanks,

Scott


Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 10:57 schrieb Scott Kostyshak :

> On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
>  wrote:
>> Stefan Bauer  math.uni-bielefeld.de> writes:
>> 
>>> 
>>> 
>>> I have the same setup. In the math edit mode the \Omega is invisible as
>>> long as you are working on the formula.
>>> 
>>> S Bauer
>>> 
>>> 
>> 
>> If I type \Omega in the math editor I get a bold w.
>> It is probably a font misconfiguration but I cannot figure out what to do.
>> 
>> 
> 
> Which LyX versions are you using? If the problem is still there can
> you file a bug report please on www.lyx.org/trac?

Yes, please.

I think, the problem is in GuiPainter.cpp line 356 etc.

==
// Qt4 does not display a glyph whose codepoint is the
// same as that of a soft-hyphen (0x00ad), unless it
// occurs at a line-break. As a kludge, we force Qt to
// render this glyph using a one-column line.
if (s.size() == 1 && str[0].unicode() == 0x00ad) {
setQPainterPen(computeColor(f.realColor()));
QTextLayout adsymbol(str);
adsymbol.setFont(ff);
adsymbol.beginLayout();
QTextLine line = adsymbol.createLine();
line.setNumColumns(1);
line.setPosition(QPointF(0, -line.ascent()));
adsymbol.endLayout();
line.draw(this, QPointF(x, y));
return textwidth;
}
==

It happens \Omega is 0x00ad - so it's special. But it looks like this special 
code does not work.

Stephan

Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Stephan Witt
Am 11.01.2013 um 21:33 schrieb Stephan Witt :

> Am 11.01.2013 um 10:57 schrieb Scott Kostyshak :
> 
>> On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
>>  wrote:
>>> Stefan Bauer  math.uni-bielefeld.de> writes:
>>> 
 
 
 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.
 
 S Bauer
 
 
>>> 
>>> If I type \Omega in the math editor I get a bold w.
>>> It is probably a font misconfiguration but I cannot figure out what to do.
>>> 
>>> 
>> 
>> Which LyX versions are you using? If the problem is still there can
>> you file a bug report please on www.lyx.org/trac?
> 
> Yes, please.
> 
> I think, the problem is in GuiPainter.cpp line 356 etc.
> 
> ==
>   // Qt4 does not display a glyph whose codepoint is the
>   // same as that of a soft-hyphen (0x00ad), unless it
>   // occurs at a line-break. As a kludge, we force Qt to
>   // render this glyph using a one-column line.
>   if (s.size() == 1 && str[0].unicode() == 0x00ad) {
>   setQPainterPen(computeColor(f.realColor()));
>   QTextLayout adsymbol(str);
>   adsymbol.setFont(ff);
>   adsymbol.beginLayout();
>   QTextLine line = adsymbol.createLine();
>   line.setNumColumns(1);
>   line.setPosition(QPointF(0, -line.ascent()));
>   adsymbol.endLayout();
>   line.draw(this, QPointF(x, y));
>   return textwidth;
>   }
> ==
> 
> It happens \Omega is 0x00ad - so it's special. But it looks like this special 
> code does not work.


Sorry, it's already reported here:

http://www.lyx.org/trac/ticket/7954

Stephan

Re: Math font problem under Mac OS X Lion

2012-11-21 Thread Stefan Bauer

I have the same setup. In the math edit mode the \Omega is invisible as 
long as you are working on the formula. 

S Bauer



Re: Math font problem under Mac OS X Lion

2012-11-21 Thread Stefan Bauer

I have the same setup. In the math edit mode the \Omega is invisible as 
long as you are working on the formula. 

S Bauer



Re: Math font problem under Mac OS X Lion

2012-11-21 Thread Stefan Bauer

I have the same setup. In the math edit mode the \Omega is invisible as 
long as you are working on the formula. 

S Bauer



Math font problem under Mac OS X Lion

2012-11-19 Thread Luca Brandolini
I am running LyX under Mac OS X 10.7.5.  In the math edit mode the mathematical 
symbols are not displayed correctly. For example instead of an integral I get 
an accented o.
I tried  running LyX debug mode (-dbg mathed) and in the log I found lines of 
the kind
 font cmm not available and I can't fake it

I tried to reinstall LyX but I had the same behavior.

Luca Brandolini



Math font problem under Mac OS X Lion

2012-11-19 Thread Luca Brandolini
I am running LyX under Mac OS X 10.7.5.  In the math edit mode the mathematical 
symbols are not displayed correctly. For example instead of an integral I get 
an accented o.
I tried  running LyX debug mode (-dbg mathed) and in the log I found lines of 
the kind
 font cmm not available and I can't fake it

I tried to reinstall LyX but I had the same behavior.

Luca Brandolini



Math font problem under Mac OS X Lion

2012-11-19 Thread Luca Brandolini
I am running LyX under Mac OS X 10.7.5.  In the math edit mode the mathematical 
symbols are not displayed correctly. For example instead of an integral I get 
an accented "o".
I tried  running LyX debug mode (-dbg mathed) and in the log I found lines of 
the kind
 "font cmm not available and I can't fake it"

I tried to reinstall LyX but I had the same behavior.

Luca Brandolini