Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

New Xorg and lucidatypewriter font is gone?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
32 posts
  • 1
  • 2
  • Next
Author
Message
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

New Xorg and lucidatypewriter font is gone?

  • Quote

Post by _savage » Fri Oct 01, 2004 4:15 pm

Hello,

I recently emerged the new Xorg, which broke xemacs/ddd/xpdf and applications that require motif. Fixed that, and had to emerge xemacs etc anew. The problem is that the lucida typewriter font is gone now?? It was my fav font for all the apps :-( It's gone and I can't find a package that brings it over into the system again.

Does anybody know how I can install it (again)? The xorg.conf file uses the same font path settings, so I assume that the problem isn't there...

Thanks heaps,
Jens
Jens Troeger
http://savage.light-speed.de/
Top
fctk
Veteran
Veteran
Posts: 1424
Joined: Wed Jan 28, 2004 8:08 pm
Location: Milan, Italy, EU

  • Quote

Post by fctk » Sat Oct 02, 2004 12:04 pm

bring the font file and install it. http://freedesktop.org/~xorg/X11R6.7.0/doc/fonts2.html
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Mon Oct 04, 2004 8:30 am

I read it, but I'm not sure what I'm supposed to do to fix my problem? :oops:
Jens Troeger
http://savage.light-speed.de/
Top
didl
Retired Dev
Retired Dev
User avatar
Posts: 1106
Joined: Tue Sep 09, 2003 11:01 pm
Location: Pittsburgh, PA

Re: New Xorg and lucidatypewriter font is gone?

  • Quote

Post by didl » Mon Oct 04, 2004 1:54 pm

_savage wrote: The problem is that the lucida typewriter font is gone now?? It was my fav font for all the apps :-(\
It's my favorite font as well and I DO have it with 6.8.0-r1. Are you
sure you emerged with USE=bitmap-fonts. It should be on
by default, but maybe you missed it.
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Tue Oct 05, 2004 8:34 am

I re-emerged it with USE="bitmap-fonts" but it didn't help. Interestingly, I opened a gnome-terminal which I set up ages ago with lucidatypewriter, and it uses lucida!? But then, when I open xemacs, lucida misses from the Options menu; same with ddd: I can't set it up there.

I'm lost...
Jens

PS: those are the kind of errors that I keep getting

Code: Select all

savage@tigger ~ > xlock -mode blank
xlock: can not find font: -b&h-lucida-medium-r-normal-sans-24-*-*-*-*-*-iso8859-1, using fixed...
savage@tigger ~ > ddd
Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-9-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-9-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-9-*-*-*-*-iso8859-*", using font "fixed" instead
Not sure if that helps at all though...
Jens Troeger
http://savage.light-speed.de/
Top
fctk
Veteran
Veteran
Posts: 1424
Joined: Wed Jan 28, 2004 8:08 pm
Location: Milan, Italy, EU

  • Quote

Post by fctk » Tue Oct 05, 2004 12:46 pm

is lucida present in xfontselect?
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Tue Oct 05, 2004 5:31 pm

It is in "xfontsel", yes....
Jens Troeger
http://savage.light-speed.de/
Top
JaguarIV
n00b
n00b
User avatar
Posts: 21
Joined: Fri Aug 16, 2002 4:32 am
Location: Fremont, California

  • Quote

Post by JaguarIV » Thu Oct 14, 2004 9:34 pm

I am having the same problem. Just upgraded xorg to 6.8.0-r1. ddd can't find lucidatypewriter. It appears in the "famly" list in xfontsel, but if I select it, no characters are shown in the xfontsel preview area. Any help is appreciated.

Thanks!
JaguarIV
Top
hepta_sean
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Tue Apr 27, 2004 9:45 pm
Location: Berlin, Germany

  • Quote

Post by hepta_sean » Thu Oct 14, 2004 10:53 pm

I think I'm having a related problem: Some Java apps complain about the following:

Code: Select all

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
This is also present in xfontsel, but not with an encoding of "iso8859" (only "iso10646"). So the question becomes: How do I get the lucida fonts with the right encoding back?
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Fri Oct 15, 2004 8:35 am

Oh sheesh yes, I have those all over the place... Did I mention that gnome-terminal does have access to "lucidatypewriter" while xemacs/ddd can't find it?

I am lost...
Jens Troeger
http://savage.light-speed.de/
Top
Scottaroo
n00b
n00b
Posts: 30
Joined: Tue Feb 11, 2003 2:25 am
Location: Indianapolis, IN

LucidiaTypewriter

  • Quote

Post by Scottaroo » Mon Oct 18, 2004 4:26 am

Greetings:

I'm having trouble with this too. I need the font because I have some OLD commercial software that wants that font PERIOD.

Anyway, it looks like the new stuff from x.org has the font, but that they have changed the character set from ISO8859 (western) to ISO10646 (unicode). Why they would stop shipping 8859 I don't know, but that's what it looks like. I've downloaded the x.org source for 6.7 and am compiling that. I'm going to try yanking the fonts that I need out of that and dropping them into my fonts folder.

If I can make it work, I'll post the results here.
If Microsoft is your answer, you obviously did not understand the question.
Top
Scottaroo
n00b
n00b
Posts: 30
Joined: Tue Feb 11, 2003 2:25 am
Location: Indianapolis, IN

Success

  • Quote

Post by Scottaroo » Mon Oct 18, 2004 5:12 pm

Greetings:

Here's what I did to get the LucidaTypewriter fonts that I needed back. I'm not an X Font expert, so there may be a better way to do this: The problem was that X.org 6.8 seems to install only ISO10646 (unicode) fonts while many apps are specifying ISO8859 (western) in their font requests. Basically, I downloaded the X.org 6.7 release, built it, and installed its ISO8859 fonts.

Downloaded the source for x.org 6.7 from x.org at:
http://www.x.org/pub/X11R6.7/tars/

I picked up all 7 files because I didn't know which one(s) I really needed and didn't want to fool around with it.

I unpacked the source into my home folder and built it. I didn't do this as root because I was afraid of screwing up my current X install:

Code: Select all

for file in X11R6.7.0-src*
do
tar xzvpf ${file}
done
This created an xc folder in my home directory. X.org recommends building the code in a separate directory. I looked through the makefile to see if there was a target to just build the fonts, but I didn't see anything. So, following the directions in the BUILD file I:

Code: Select all

mkdir build
cd build
lndir ../xc
make World
When that finished (about 25 minutes later), I had a bunch of font files in ~/build/fonts. The LucidiaTypewriter fonts are in ~/build/fonts/bdf/100dpi. All of the files lut*.gz are the individual font files. These need to be in /usr/share/fonts/100dpi. The problem is that there is some overlap, so I only copied the files that did not already exist:

Code: Select all

su -
cd /home/sreese/build/fonts/bdf/100dpi
cp -i --reply=no lut*.gz /usr/share/fonts/100dpi
Now, I needed to make X aware of the fonts. I don't use xfs, so this might be different if you do. There seem to be two files that need to be updated, fonts.cache-1 and fonts.dir. There is a different program to update each:

Code: Select all

fc-cache /usr/share/fonts/100dpi
mkfontdir /usr/share/fonts/100dpi
exit
And then I cleaned up the leftovers from the build:

Code: Select all

cd
rm -rf buld
rm -rf xc
I had to restart X before it would recognize the new fonts, but after that everything seemed OK. You can use the xfontsel program to verify that the ISO8859 fonts are installed.
If Microsoft is your answer, you obviously did not understand the question.
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Mon Oct 18, 2004 5:18 pm

I wonder if there is a configure or compile option to build the ISO font files... Have you checked that? Just curious (and, frankly, lazy) ;-) But thanks heaps for the post!
Jens Troeger
http://savage.light-speed.de/
Top
hepta_sean
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Tue Apr 27, 2004 9:45 pm
Location: Berlin, Germany

Re: Success

  • Quote

Post by hepta_sean » Mon Oct 18, 2004 7:08 pm

Hello!

First of all, many thanks for the tip.

I think I found out, how to do that without building the complete X11R6.7:
Scottaroo wrote:Downloaded the source for x.org 6.7 from x.org at:
http://www.x.org/pub/X11R6.7/tars/
I still had them in my /usr/portage/distfiles. Might be worth a look for others, too.
I picked up all 7 files because I didn't know which one(s) I really needed and didn't want to fool around with it.
I think, you only need X11R6.7.0-src1.tar.gz.

I just did:

Code: Select all

sean@lois ~ $ tar -tzf /usr/portage/distfiles/X11R6.7.0-src1.tar.gz | grep fonts | grep lu | grep bdf | xargs tar -xzf /usr/portage/distfiles/X11R6.7.0-src1.tar.gz
This unpacked the bdf (Bitmap Distribution Format) versions of all the Lucida fonts into xc/fonts/bdf/75dpi and xc/fonts/bdf/100dpi.

Since all the fonts in /usr/share/fonts/100dpi are pcf (Portable Compiled Format) I figured (I'm also not a font expert) I'll have to convert them:

Code: Select all

sean@lois ~ $ cd xc/fonts/bdf/100dpi
sean@lois ~/xc/fonts/bdf/100dpi $ for a in *-L1.bdf; do bdftopcf -t $a | gzip -9 > ${a/%\.bdf}.pcf.gz; done
sean@lois ~/xc/fonts/bdf/100dpi $ cd ../75dpi
sean@lois ~/xc/fonts/bdf/75dpi $ for a in *-L1.bdf; do bdftopcf -t $a | gzip -9 > ${a/%\.bdf}.pcf.gz; done
I stole the invocation of bdftopcf piped into gzip from the xorg-ebuild.
These need to be in /usr/share/fonts/100dpi. The problem is that there is some overlap, so I only copied the files that did not already exist:

Code: Select all

su -
cd /home/sreese/build/fonts/bdf/100dpi
cp -i --reply=no lut*.gz /usr/share/fonts/100dpi
Since I only converted the missing "-L1" fonts, this is not an issue anymore.

I just did:

Code: Select all

sean@lois ~/xc/fonts/bdf/75dpi $ sudo cp -i *.gz /usr/share/fonts/75dpi
sean@lois ~/xc/fonts/bdf/75dpi $ cd ../100dpi
sean@lois ~/xc/fonts/bdf/100dpi $ sudo cp -i *.gz /usr/share/fonts/100dpi
EDIT: The permissions were a little borked. I had to do:

Code: Select all

sean@lois ~ $ sudo chmod o+r /usr/share/fonts/75dpi/lu*
sean@lois ~ $ sudo chmod o+r /usr/share/fonts/100dpi/lu*
Now, I needed to make X aware of the fonts. I don't use xfs, so this might be different if you do. There seem to be two files that need to be updated, fonts.cache-1 and fonts.dir. There is a different program to update each:

Code: Select all

fc-cache /usr/share/fonts/100dpi
mkfontdir /usr/share/fonts/100dpi
exit
This part stays the same.
And then I cleaned up the leftovers from the build:

Code: Select all

cd
rm -rf buld
rm -rf xc
This also stays the same minus rm -rf build.

Regards, sean.
Top
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

  • Quote

Post by aethyr » Mon Oct 18, 2004 7:40 pm

I don't use xorg, but someone here should file a bug on this at Gentoo's bugzilla (or upstream if you're more technically inclined). At the very least, a Gentoo dev should then be able to bring this up to the xorg developers if it is a real problem (which it seems like it is, judging by the posts here).
Top
Scottaroo
n00b
n00b
Posts: 30
Joined: Tue Feb 11, 2003 2:25 am
Location: Indianapolis, IN

Is it a bug?

  • Quote

Post by Scottaroo » Mon Oct 18, 2004 9:19 pm

Greetings aethyr:

I'm not sure that it's a bug in xorg. When a program asks for a font it can specify the charset that it wants, or just let the font server pick one. The new charsets (ISO10646) have all of the glyphs that the older ones (ISO8859) did, so there is no reason that any program would have to use 8859 instead of 10646. If the program that I'm using would have simply specified LucidaTypewriter 12 point, it would have worked just fine. It was because of its insistance on 8859 that it failed. Additionally, it wouldn't allow me to change what it was asking for.

Maybe asking for an additional fonts-only package would be appropriate. The only package that I had trouble with was a proprietary, binary-only package. I know that some other folks had issues with terminal and such, but I wonder if a more appropriate fix would be to fix the broken apps instead of forcing xorg to be backwards compatible forever.

Anyone else have any ideas?
If Microsoft is your answer, you obviously did not understand the question.
Top
dewback
n00b
n00b
User avatar
Posts: 23
Joined: Wed Apr 23, 2003 3:02 pm
Location: Germany

Re: Success

  • Quote

Post by dewback » Fri Oct 29, 2004 2:32 pm

Scottaroo wrote: Now, I needed to make X aware of the fonts. I don't use xfs, so this might be different if you do. There seem to be two files that need to be updated, fonts.cache-1 and fonts.dir. There is a different program to update each:

Code: Select all

fc-cache /usr/share/fonts/100dpi
mkfontdir /usr/share/fonts/100dpi
exit
What about

Code: Select all

fc-cache /usr/share/fonts/75dpi
mkfontdir /usr/share/fonts/75dpi
?
back with gentoo!
Top
Scottaroo
n00b
n00b
Posts: 30
Joined: Tue Feb 11, 2003 2:25 am
Location: Indianapolis, IN

  • Quote

Post by Scottaroo » Sat Oct 30, 2004 4:12 pm

I am only using the 100dpi fonts. If you want both the 75 and 100 dpi fonts, then you would run those commands on both directories.
If Microsoft is your answer, you obviously did not understand the question.
Top
maystorm
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Sun Jun 02, 2002 8:32 pm
Location: Germany, not far away

  • Quote

Post by maystorm » Thu Nov 25, 2004 6:14 pm

hepta_sean wrote:I think I'm having a related problem: Some Java apps complain about the following:

Code: Select all

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
After doing a number of package upgrades recently, I encountered two problems: the first one was that I suddenly got the same error message when running Java apps. Thanks to the before-mentioned procedure (installing lu* fonts from xorg v6.7) I got rid of this error message.

However, I'm still left with the second problem; I've described it in this thread:

Strange fonts problem in Java apps: pixel height doubled?

Can this problem be related to the other one with the missing fonts?

TIA!
Linux user #216018
Top
hepta_sean
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Tue Apr 27, 2004 9:45 pm
Location: Berlin, Germany

  • Quote

Post by hepta_sean » Thu Nov 25, 2004 7:48 pm

maystorm wrote:However, I'm still left with the second problem; I've described it in this thread:

Strange fonts problem in Java apps: pixel height doubled?

Can this problem be related to the other one with the missing fonts?
I also had this problem. And it came roughly at the same time with the other one. So I would think they are somehow related.

Strangely enough, it went away without me (knowingly) doing anything, so I can't help you much.

Wild guess: Perhaps Java still substitutes some other fonts, because it didn't find the other ones, when they were gone. Might remerging Java help? (At least it doesn't take too long: IIRC the Javas are just unpacked without much compilation.)

Greetings,
sean
Top
maystorm
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Sun Jun 02, 2002 8:32 pm
Location: Germany, not far away

  • Quote

Post by maystorm » Thu Nov 25, 2004 10:27 pm

hepta_sean wrote:Wild guess: Perhaps Java still substitutes some other fonts, because it didn't find the other ones, when they were gone. Might remerging Java help? (At least it doesn't take too long: IIRC the Javas are just unpacked without much compilation.)
Just remerged "dev-java/blackdown-jdk-1.4.2.01" but to no avail.

However, this problem could still be some sort of a font caching issue; would Java have some global configuration files??

BTW, I noticed that also Java Applets running in Mozilla directly from the Web show this problem on my box... :cry:
Linux user #216018
Top
hepta_sean
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Tue Apr 27, 2004 9:45 pm
Location: Berlin, Germany

  • Quote

Post by hepta_sean » Thu Nov 25, 2004 11:47 pm

maystorm wrote:However, this problem could still be some sort of a font caching issue; would Java have some global configuration files??
AFAICS it is not used anymore, but there was the directory /etc/.java/.
Moreover there is still the directory ~/.java/.
I can't see anything like a font cache in there, but I'd say delete them both, anyway. Can't really do any harm.
Top
maystorm
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Sun Jun 02, 2002 8:32 pm
Location: Germany, not far away

  • Quote

Post by maystorm » Fri Nov 26, 2004 9:03 am

I've removed ~/.java/ (/etc/.java/ or /etc/java/ were not existing anyway). Unfortunately, this didn't help.

I'm relying on a Java trading software, and this has not only become a cosmetic issue since some text information is almost unreadable. Here an example:

http://img109.exs.cx/img109/2453/shot_2 ... -53-45.png

All help/hints/etc really appreciated!
Linux user #216018
Top
vktgz
n00b
n00b
User avatar
Posts: 65
Joined: Mon Jun 21, 2004 12:59 pm
Location: Gentown, Tuxland

  • Quote

Post by vktgz » Fri Nov 26, 2004 4:34 pm

LucidaBright, LucidaSans and LucidaTypewriter fonts in TrueType format are included in blackdown-jre. copy them from blackdown-jre/lib/fonts to /usr/share/fonts/TTF anr run fc-cache -fv
Top
maystorm
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Sun Jun 02, 2002 8:32 pm
Location: Germany, not far away

  • Quote

Post by maystorm » Fri Nov 26, 2004 9:54 pm

@vktgz:

Unfortunately, this doesn't help. Thanx anyway.
Linux user #216018
Top
Post Reply

32 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic