Page 2 of 2
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:35:26-07:00
by fmw42
and some of the TTF dont work
Redownload them. Some may be corrupt if you tried to copy them from windows to unix.
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:35:51-07:00
by javismiles
by the way considering that ghostscript.xml file contains the below
that would seem to say that PFB would also work
<type name="AvantGarde-Book" fullname="AvantGarde Book" family="AvantGarde" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/default/Type1/a010013l.afm" glyphs="/usr/share/fonts/default/Type1/a010013l.pfb"/>
<type name="AvantGarde-BookOblique" fullname="AvantGarde Book Oblique" family="AvantGarde" foundry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts/default/Type1/a010033l.afm" glyphs="/usr/share/fonts/default/Type1/a010033l.pfb"/>
<type name="AvantGarde-Demi" fullname="AvantGarde DemiBold" family="AvantGarde" foundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/default/Type1/a010015l.afm" glyphs="/usr/share/fonts/default/Type1/a010015l.pfb"/>
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:36:34-07:00
by fmw42
Perhaps, but only via ghostscript.
Try adding them to the ghostscript fonts directory and perhaps also to the type-ghostscript.xml file. Again I am not an expert on this.
When configuring IM, you may have to tell IM where to find those fonts. For example here is my ./configure file for IM
./configure --enable-delegate-build --enable-shared --disable-static \
--with-modules --with-quantum-depth=16 --with-gslib --without-wmf \
--disable-silent-rules --disable-dependency-tracking --disable-openmp \
--with-gs-font-dir=/usr/local/share/ghostscript/fonts/ --with-lqr
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:40:17-07:00
by javismiles
oh
i found the reason!!!
Murphy is back!!
))
some of the fonts had extension TTF instead of ttf
now they work after changing TTF to ttf!!!
oh my !!!
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:40:51-07:00
by fmw42
good for you. at least it was simple!
you could also have specified them in the IM command as /fullpathtofont/fontname.TTF
but it is easier to have them all the same as .ttf so you don't have to know which to use caps.
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:41:45-07:00
by javismiles
thank you my friend, having you there was very important for me to keep trying
so now TTF works,
only thing left is to make PFB work, im going to try again and see
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:42:57-07:00
by fmw42
Hopefully Anthony or Magick can give you more information about the pfb fonts. This is beyond my understanding at the moment.
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:46:36-07:00
by javismiles
OH MY!
changing the extension of the PFB fonts to pfb, also works!
all fonts work now!
oh wow
murphys lesson!!!
windows doesnt care if extension is in capital letters
Linux CARES!
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:48:53-07:00
by fmw42
glad it all worked out!
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:55:36-07:00
by javismiles
thanks to you!
thank you for bringing me luck and support
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T16:59:48-07:00
by fmw42
You found the solution. I had nothing to do with it but offer the wrong ideas!
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T17:03:36-07:00
by javismiles
of course i will have more problems because this moving from windows
to linux server is very very complex
a real mess
well
step by step
Re: Some fonts work and others dont in linux
Posted: 2011-03-18T20:29:51-07:00
by anthony
javismiles wrote:oh
i found the reason!!!
Murphy is back!!
))
some of the fonts had extension TTF instead of ttf
now they work after changing TTF to ttf!!!
oh my !!!
That is probably a failing of the script. It assumes (rightly) that file suffixes are lowercase under linux