fonts, defoma, and *.dsl filesForum: Other Help Topics Topic: fonts, defoma, and *.dsl files started by: clacker Posted by clacker on Jan. 12 2005,14:56
I've been trying to make a dsl for the program lilypond. I've been able to install it on a liveCD system without any problems. It requires defoma and ec-fonts-mftraced, and tex as well. The program runs fine when I first install it from *.deb files, but then it can't find the fonts when the lilypond.dsl I made gets loaded. Any help on how fonts are loaded would be helpful.I tried mktexlsr defoma-font -qt reregister-all /etc/defoma/hints/ecfonts.hints but the application still couldn't find the fonts (ecrm10.pfa files, which is there). Is there something I'm missing? Here is how I made the dsl, if that's any help: loaded the dsl-dpkg.dsl and gnu-utils.dsl set up the /etc/apt/sources.list file ran apt-get update ran touch mymarker ran apt-get install lilypond tried it out and it worked ran find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | tee files removed all of the /ramdisk's from that file so the dsl will be OK tar -czvf lilypond.dsl --no-recursion --numeric-owner -T files Once it works I can go back and remove files that are already in other dsl files, like python and GTK stuff. Posted by mikshaw on Jan. 12 2005,15:25
I don't know why it works prior to creating an extension.If you're running the program only in X you might be able to use xset: xset +fp /path/to/fonts I don't know if this works with all fonts and applications. Posted by henk1955 on Jan. 12 2005,15:33
i extracted a font.deb file and found this postinst file
maybe its enough to call:
Posted by ke4nt1 on Jan. 12 2005,17:32
Also, look in some of my other gtk2 type extensions for the startup wrappers... They have the lines in there to setup/update defoma. Copy, paste - then execute.. ( make sure you don't have any open apps that may require ttf fonts,when running this executable or defoma will give you an error.. ) 73 ke4nt Posted by clacker on Jan. 12 2005,19:36
mikshaw, thanks, but that didn't work.ke4nt1, thanks, but that didn't work. I had an update-fonts-alias and an update-fonts-size but no update-fonts-dir. None of the install scripts you had contained anything I could even try to execute in my package. Who knows. Font's are like the printer: easy in windows but almost impossible in Linux. I'll try using a different program. I think the reason I'm not getting a compleate recovery of the files is from errors in tar, but they scroll by too quickly to see. I tried: tar -xzvf lilypond.dsl > output 2> myerrors but I got two zero length files. I could use any advice on that., too. Posted by ke4nt1 on Jan. 12 2005,21:50
Hmm.. defoma, but no pango... ....??Try running " defoma-reconfigure " as root, and see if that rebuilds your font configuration from scratch.. there is also the command " defoma-app " , with several options available in Debian .. clean, update, purge I'm not in front of my box right now.. so I'm not sure if that app is included in the defoma package or in DSL.. defoma runs in perl, so don't remove it just yet.. another item to mention, when you apt-get it, and it runs fine, what executables do you see it running after the debs are downloaded, but before apt-get exits ? DO you have to CHOOSE to use defoma as your font manager? That would be the defoma-reconfigure executing .. 73 ke4nt Posted by clacker on Jan. 13 2005,13:46
Nope, no pango. 49 deb files was enough, I guess.defoma-reconfigure didn't help I had used defoma-app update gs but that didn't help. gs still couldn't find the ecrm10 font. I checked by runnig the gs command and typing in /ecrm10 findfont and I got an error saying that the font couldn't be found. When I throw the font in with the other gs fonts, it's OK in gs, but still fails in lilypond. Then I put all of the *.pfa and *.tfm files in with their lilypond cousins and lilypond went a little further before failing. Now it was dvips that caused the failure. I'll try later, but I have very little hope right now. How can you find the one missing line or files out of 65 Megs of compressed files? And it's not like it doesn't work from the deb files. |