Redownload them. Some may be corrupt if you tried to copy them from windows to unix.and some of the TTF dont work
Some fonts work and others dont in linux
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Some fonts work and others dont in linux
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
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"/>
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"/>
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Some fonts work and others dont in linux
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
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
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
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 !!!
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 !!!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Some fonts work and others dont in linux
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.
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.
Last edited by fmw42 on 2011-03-18T16:42:00-07:00, edited 1 time in total.
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
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
so now TTF works,
only thing left is to make PFB work, im going to try again and see
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Some fonts work and others dont in linux
Hopefully Anthony or Magick can give you more information about the pfb fonts. This is beyond my understanding at the moment.
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
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!
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!
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
thanks to you!
thank you for bringing me luck and support
thank you for bringing me luck and support
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Some fonts work and others dont in linux
You found the solution. I had nothing to do with it but offer the wrong ideas!
-
- Posts: 180
- Joined: 2010-11-27T01:42:06-07:00
- Authentication code: 8675308
Re: Some fonts work and others dont in linux
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
to linux server is very very complex
a real mess
well
step by step
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Some fonts work and others dont in linux
That is probably a failing of the script. It assumes (rightly) that file suffixes are lowercase under linuxjavismiles 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 !!!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/