[Skencil-users] Font installation again (help needed)
jbiddier
jbiddier at comcast.net
Tue Jun 6 20:28:20 CEST 2006
>
> I can't find the E-mail I posted on how to get Fedora C2 to find fonts
> (I no longer have a RedHat or Fedora Box). That would most likely solve
> your problem, fast. I will look again later to see if I can find it.
> until then:
>
I did not find the E-mail I was looking for, but I did finally find the
Fedora C2 sfds.
1.)
In the config.py file (/usr/lib/skencil-<version>/Sketch/Base directory)
try:
font_path = ['/usr/X11R6/lib/X11/fonts/Type1',
'/usr/share/fonts/default/Type1']
Again use the chkfontpath -l to see the fontpaths (you want the one that
has "default" and "Type1" in the path).
Sorry I can't give exact details, but I don't have Fedora box to
investigate.
2.)
Use the below file data (cut and paste) and replace the current std.sfd
in the Fontmetrics directory
(/usr/lib/skencil-<version>/Resources/Fontmetrics):
# --- Start ---- #
# std.sfd for Fedora. These are the GS fonts.
#
Times-Bold,Times,Bold,-urw-nimbus roman no9
l-bold-r-normal,iso8859-1,n021004l
Times-BoldItalic,Times,Bold Italic,-urw-nimbus roman no9
l-bold-i-normal,iso8859-1,n021024l
Times-Roman,Times,Roman,-urw-nimbus roman no9
l-medium-r-normal,iso8859-1,n021003l
Times-Italic,Times,Italic,-urw-nimbus roman no9
l-medium-i-normal,iso8859-1,n021023l
#
Courier-Bold,Courier,Bold,-urw-nimbus mono
l-bold-r-normal,iso8859-1,n022004l
Courier-BoldOblique,Courier,Bold Oblique,-urw-nimbus mono
l-bold-o-normal,iso8859-1,n022024l
Courier,Courier,Roman,-urw-nimbus mono l-medium-r-normal,iso8859-1,n022003l
Courier-Oblique,Courier,Oblique,-urw-nimbus mono
l-medium-o-normal,iso8859-1,n022023l
#
AvantGarde-DemiOblique,ITC Avant Garde Gothic,Demi Oblique,-urw-urw
gothic l-semibold-o-normal,iso8859-1,a010035l
AvantGarde-Book,ITC Avant Garde Gothic,Book,-urw-urw gothic
l-medium-r-normal,iso8859-1,a010013l
AvantGarde-BookOblique,ITC Avant Garde Gothic,Book Oblique,-urw-urw
gothic l-medium-o-normal,iso8859-1,a010033l
AvantGarde-Demi,ITC Avant Garde Gothic,Demi,-urw-urw gothic
l-semibold-r-normal,iso8859-1,a010015l
#
Helvetica-Bold,Helvetica,Bold,-urw-nimbus sans
l-bold-r-normal,iso8859-1,n019004l
Helvetica-Narrow-Bold,Helvetica,Narrow Bold,-urw-nimbus sans
l-bold-r-condensed,iso8859-1,n019044l
Helvetica-BoldOblique,Helvetica,Bold Oblique,-urw-nimbus sans
l-bold-i-normal,iso8859-1,n019024l
Helvetica-Narrow-BoldOblique,Helvetica,Narrow Bold Oblique,-urw-nimbus
sans l-bold-i-condensed,iso8859-1,n019064l
Helvetica,Helvetica,Roman,-urw-nimbus sans
l-medium-r-normal,iso8859-1,n019003l
Helvetica-Narrow,Helvetica,Narrow,-urw-nimbus sans
l-medium-r-condensed,iso8859-1,n019043l
Helvetica-Oblique,Helvetica,Oblique,-urw-nimbus sans
l-medium-i-normal,iso8859-1,n019023l
Helvetica-Narrow-Oblique,Helvetica,Narrow Oblique,-urw-nimbus sans
l-medium-i-condensed,iso8859-1,n019063l
#
Palatino-Bold,Palatino,Bold,-urw-urw palladio
l-bold-r-normal,iso8859-1,p052004l
Palatino-BoldItalic,Palatino,Bold Italic,-urw-urw palladio
l-bold-i-normal,iso8859-1,p052024l
Palatino-Roman,Palatino,Roman,-urw-urw palladio
l-medium-r-normal,iso8859-1,p052003l
Palatino-Italic,Palatino,Italic,-urw-urw palladio
l-medium-i-normal,iso8859-1,p052023l
#
NewCenturySchlbk-Bold,New Century Schoolbook,Bold,-urw-century
schoolbook l-bold-r-normal,iso8859-1,c059016l
NewCenturySchlbk-BoldItalic,New Century Schoolbook,Bold
Italic,-urw-century schoolbook l-bold-i-normal,iso8859-1,c059036l
NewCenturySchlbk-Roman,New Century Schoolbook,Roman,-urw-century
schoolbook l-medium-r-normal,iso8859-1,c059013l
NewCenturySchlbk-Italic,New Century Schoolbook,Italic,-urw-century
schoolbook l-medium-i-normal,iso8859-1,c059033l
#
Bookman-Demi,ITC Bookman,Demi,-urw-urw bookman
l-bold-r-normal,iso8859-1,b018015l
Bookman-DemiItalic,ITC Bookman,Demi Italic,-urw-urw bookman
l-bold-i-normal,iso8859-1,b018035l
Bookman-Light,ITC Bookman,Light,-urw-urw bookman
l-medium-r-normal,iso8859-1,b018012l
Bookman-LightItalic,ITC Bookman,Light Italic,-urw-urw bookman
l-medium-i-normal,iso8859-1,b018032l
#
Symbol,Symbol,Roman,-urw-standard symbols
l-medium-r-normal,adobe-fontspecific,s050000l
#
ZapfChancery-MediumItalic,ITC Zapf Chancery,Medium Italic,-urw-urw
chancery l-medium-i-normal,iso8859-1,z003034l
# --- End ---- #
3.)
Put the below file data (cut and paste) in the
/usr/X11R6/lib/x11/fonts/Type1:
# ---- Start ----#
# Type1 fonts for Fedora: call it "x11.sfd"
# put this is /usr/X11R6/lib/X11/fonts/Type1
#
Utopia-Regular,Utopia,Regular,-adobe-utopia-medium-r-normal,iso8859-1,UTRG____
Utopia-Italic,Utopia,Italic,-adobe-utopia-medium-i-normal,iso8859-1,UTI_____
Utopia-Bold,Utopia,Bold,-adobe-utopia-bold-r-normal,iso8859-1,UTB_____
Utopia-BoldItalic,Utopia,Bold
Italic,-adobe-utopia-bold-i-normal,iso8859-1,UTBI____
#
Courier10PitchBT-BoldItalic,Courier 10 Pitch,Bold
Italic,-bitstream-courier 10 pitch-bold-i-normal,iso8859-1,c0611bt_
Courier10PitchBT-Bold,Courier 10 Pitch,Bold,-bitstream-courier 10
pitch-bold-r-normal,iso8859-1,c0583bt_
Courier10PitchBT-Italic,Courier 10 Pitch,Italic,-bitstream-courier 10
pitch-medium-i-normal,iso8859-1,c0582bt_
Courier10PitchBT-Roman,Courier 10 Pitch,Roman,-bitstream-courier 10
pitch-medium-r-normal,iso8859-1,c0419bt_
#
CharterBT-Italic,Bitstream Charter,Italic,-bitstream-bitstream
charter-medium-i-normal,iso8859-1,c0649bt_
CharterBT-Roman,Bitstream Charter,Roman,-bitstream-bitstream
charter-medium-r-normal,iso8859-1,c0648bt_
CharterBT-BoldItalic,Bitstream Charter,Bold Italic,-bitstream-bitstream
charter-bold-i-normal,iso8859-1,c0633bt_
CharterBT-Bold,Bitstream Charter,Bold,-bitstream-bitstream
charter-bold-r-normal,iso8859-1,c0632bt_
#
# Use GS version in std.sfd in Fontmetrics
#Courier-Italic,Courier,Italic,-ibm-courier-medium-i-normal,iso8859-1,couri
#Courier-BoldItalic,Courier,Bold
Italic,-ibm-courier-bold-i-normal,iso8859-1,courbi
#Courier-Bold,Courier,Bold,-ibm-courier-bold-r-normal,iso8859-1,courb
#Courier,Courier,Roman,-ibm-courier-medium-r-normal,iso8859-1,cour
#
LuxiMono-BoldOblique,Luxi Mono,Bold Oblique,-b&h-luxi
mono-bold-o-normal,iso8859-1,l047036t
LuxiMono-Oblique,Luxi Mono,Oblique,-b&h-luxi
mono-medium-o-normal,iso8859-1,l047033t
LuxiMono-Bold,Luxi Mono,Bold,-b&h-luxi
mono-bold-r-normal,iso8859-1,l047016t
LuxiMono,Luxi Mono,Regular,-b&h-luxi
mono-medium-r-normal,iso8859-1,l047013t
#
LuxiSans-BoldOblique,Luxi Sans,Bold Oblique,-b&h-luxi
sans-bold-o-normal,iso8859-1,l048036t
LuxiSans-Oblique,Luxi Sans,Oblique,-b&h-luxi
sans-medium-o-normal,iso8859-1,l048033t
LuxiSans-Bold,Luxi Sans,Bold,-b&h-luxi
sans-bold-r-normal,iso8859-1,l048016t
LuxiSans,Luxi Sans,Regular,-b&h-luxi
sans-medium-r-normal,iso8859-1,l048013t
#
LuxiSerif-BoldOblique,Luxi Serif,Bold Oblique,-b&h-luxi
serif-bold-o-normal,iso8859-1,l049036t
LuxiSerif-Oblique,Luxi Serif,Oblique,-b&h-luxi
serif-medium-o-normal,iso8859-1,l049033t
LuxiSerif-Bold,Luxi Serif,Bold,-b&h-luxi
serif-bold-r-normal,iso8859-1,l049016t
LuxiSerif,Luxi Serif,Regular,-b&h-luxi
serif-medium-r-normal,iso8859-1,l049013t
# ---- End ----#
Hope this helps. Ther is no garentee that C5 uses the same names as C2.
You can still use the mksfd.py script to generate the above files.
--J
More information about the Skencil-users
mailing list