View previous topic :: View next topic |
Author |
Message |
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Thu Aug 05, 2010 7:06 am Post subject: lyx font problem in gentoo |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Thu Aug 05, 2010 12:23 pm Post subject: |
|
|
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Aug 05, 2010 2:34 pm Post subject: |
|
|
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 |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Fri Aug 06, 2010 1:28 am Post subject: |
|
|
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Aug 06, 2010 7:15 am Post subject: |
|
|
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 |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Fri Aug 06, 2010 7:57 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|