Bug#836329: [Pkg-lyx-devel] Bug#836329: fonts-lyx: bad fonts rendered with matplotlib

2016-09-21 Thread Sandro Tosi
On Wed, Sep 7, 2016 at 6:59 AM, Georg Baum
 wrote:
> Hi,
>
> we have two related problems here:
>
> 1) At http://www.lyx.org/trac/changeset/f496ec373bafa/lyxgit we changed the
> font style from "Regular" to "LyX" to work around a qt shortcoming. This is
> probably the reason why cmr10.ttf is not used any longer to display the
> superscript 3. Note that the discussion at the bug
> http://www.lyx.org/trac/ticket/9229 which was solved by this change did
> include the former maintainers of the Debian LyX package. We did try hard
> not to break any package depending on LyX fonts.

i appreciate the effort in trying not to break any package, is there
something that can be done to address the breakage of matplotlib from
within fonts-lyx?

> 2) The font replacement algorithm used by matplotlib has a bug. It seems it
> uses some kind of symbol font which causes the omega instead of the
> superscript 3. This symbol does not come from the additionally queried
> cmex10.ttf font, I believe this font is tested because cmr10.ttf did not
> work, but is then discarded as well.

could you jump on https://github.com/matplotlib/matplotlib/issues/6976
and discuss this on that issue? matplotlib maints are curious to know
more about that

thanks!

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



Bug#836329: [Pkg-lyx-devel] Bug#836329: fonts-lyx: bad fonts rendered with matplotlib

2016-09-07 Thread Georg Baum

Hi,

we have two related problems here:

1) At http://www.lyx.org/trac/changeset/f496ec373bafa/lyxgit we changed 
the font style from "Regular" to "LyX" to work around a qt shortcoming. 
This is probably the reason why cmr10.ttf is not used any longer to 
display the superscript 3. Note that the discussion at the bug 
http://www.lyx.org/trac/ticket/9229 which was solved by this change did 
include the former maintainers of the Debian LyX package. We did try 
hard not to break any package depending on LyX fonts.


2) The font replacement algorithm used by matplotlib has a bug. It seems 
it uses some kind of symbol font which causes the omega instead of the 
superscript 3. This symbol does not come from the additionally queried 
cmex10.ttf font, I believe this font is tested because cmr10.ttf did not 
work, but is then discarded as well.



Georg