Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lyx font problem in gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Aug 05, 2010 7:06 am    Post subject: lyx font problem in gentoo Reply with quote

I am having the following font problem in displaying certain math characters in lyx that occurs on both of my Gentoo machine, but not on my laptop running Ubuntu.

Math font works generally, but if I have something like the following:
Code:
\[ \frac{\partial}{} = \frac{\frac{\partial}{}}{} \]

The first \partial displays correctly, but the second partial would be displayed as an "@" character.

Also characters like $\star$, $\prime$ works in regular font, but is displayed as something else when they are used in superscript or subscript.

There doesn't seems to be anything options to tweak the math fonts. Anyone?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Thu Aug 05, 2010 12:23 pm    Post subject: Reply with quote

FWIW, these all work as expected for me (lyx 1.6.7)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Aug 05, 2010 2:34 pm    Post subject: Reply with quote

Maybe you can use lsof to see if the same fonts are being used, in Gentoo vs Ubuntu - something like:

lsof | grep -i lyx | egrep -i 'ttf|pfb'
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Fri Aug 06, 2010 1:28 am    Post subject: Reply with quote

On Gentoo, I got:
Code:
$ lsof | grep -i lyx | egrep -i 'ttf|pfb'
lyx        8797           mzhang  mem       REG        8,5    35118    2002998 /usr/share/fonts/Type1/c0649bt_.pfb
lyx        8797           mzhang  mem       REG        8,5    34869    2002989 /usr/share/fonts/Type1/c0648bt_.pfb
lyx        8797           mzhang  mem       REG        8,5   177176    2057004 /usr/share/fonts/droid/DroidSerif-Italic.ttf
lyx        8797           mzhang  mem       REG        8,5   184836    2361764 /usr/share/fonts/droid/DroidSerif-Bold.ttf
lyx        8797           mzhang  mem       REG        8,5    24412    1148638 /usr/share/fonts/lyx/esint10.ttf
lyx        8797           mzhang  mem       REG        8,5    21092    1148632 /usr/share/fonts/lyx/cmex10.ttf
lyx        8797           mzhang  mem       REG        8,5    26348    1148636 /usr/share/fonts/lyx/cmr10.ttf
lyx        8797           mzhang  mem       REG        8,5    32556    1148630 /usr/share/fonts/lyx/cmmi10.ttf
lyx        8797           mzhang  mem       REG        8,5    29392    1148631 /usr/share/fonts/lyx/cmsy10.ttf
lyx        8797           mzhang  mem       REG        8,5    23744    1148637 /usr/share/fonts/lyx/eufm10.ttf
lyx        8797           mzhang  mem       REG        8,5   191032    2057005 /usr/share/fonts/droid/DroidSans-Bold.ttf
lyx        8797           mzhang  mem       REG        8,5   190044     205901 /usr/share/fonts/droid/DroidSans.ttf
lyx        8797           mzhang  mem       REG        8,5   172532     254846 /usr/share/fonts/droid/DroidSerif-Regular.ttf
lyx        8797           mzhang  mem       REG        8,5    21996    1785905 /usr/share/fonts/lyx/wasy10.ttf
lyx        8797           mzhang  mem       REG        8,5    37720    1785902 /usr/share/fonts/lyx/msbm10.ttf
lyx        8797           mzhang  mem       REG        8,5    28388    1148634 /usr/share/fonts/lyx/msam10.ttf


On Ubuntu, I got the same list without the two Type1 fonts. Wondering if that's the issue. If so, I am not sure how to turn it off either. The pcb file belong to media-fonts/font-bitstream-type1. Here is a screen capture.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Aug 06, 2010 7:15 am    Post subject: Reply with quote

Compare the filesizes of the font files, between Gentoo and Ubuntu.

Fonts have "bugs" (e.g. incomplete character sets) and version numbers.
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Fri Aug 06, 2010 7:57 pm    Post subject: Reply with quote

PaulBredbury wrote:
Compare the filesizes of the font files, between Gentoo and Ubuntu.

Fonts have "bugs" (e.g. incomplete character sets) and version numbers.


The lyx fonts under /usr/share/fonts/lyx are identical, I even ran a diff on them.
The fonts under /usr/share/fonts/droid are different. There are a few more files in Gentoo than in Ubuntu, I think it's because Gentoo is using a newer version.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum