Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: fonts, defoma, and *.dsl files, I'm missing something< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Jan. 12 2005,14:56 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 12 2005,15:25 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Jan. 12 2005,15:33 QUOTE

i extracted a font.deb file and found this postinst file
Code Sample
#!/bin/sh
set -e
# Automatically added by dh_installxfonts
if which update-fonts-dir >/dev/null 2>&1; then
update-fonts-dir misc;update-fonts-alias misc
fi
# End automatically added section

maybe its enough to call:
Code Sample
update-fonts-dir the_dir_the_font_is_in


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Jan. 12 2005,17:32 QUOTE

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
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Jan. 12 2005,19:36 QUOTE

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.
Back to top
Profile PM 
6 replies since Jan. 12 2005,14:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: fonts, defoma, and *.dsl files

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code