Difference between revisions of "Xorg7/Fonts"

From CBLFS
Jump to navigationJump to search
(Versioning template.)
(Edited to conform to template.)
Line 9: Line 9:
 
Back to Xorg [[Xorg7/Data|Data]]
 
Back to Xorg [[Xorg7/Data|Data]]
  
=Xorg Fonts=
+
= Introduction to Xorg Fonts =
  
 
There are 38 font packages available for Xorg. Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.
 
There are 38 font packages available for Xorg. Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.
Line 19: Line 19:
 
   wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font-{{Xorg-Version}}.wget
 
   wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font-{{Xorg-Version}}.wget
  
=Dependencies=
+
= Dependencies =
  
==Required==
+
== Required ==
  
 
Xorg [[Xorg7/Apps|Apps]] and Xorg [[Xorg7/Data|Data]]
 
Xorg [[Xorg7/Apps|Apps]] and Xorg [[Xorg7/Data|Data]]
  
'''Note:'''
+
<b>Note:</b>
 
The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages.
 
The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages.
 
If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.
 
If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.
  
=Installation=
+
= Non-Multilib =
 
 
==Non-Multilib==
 
  
 
Compile each font package that you wish to install.
 
Compile each font package that you wish to install.
Line 38: Line 36:
 
   make
 
   make
  
There are no test suites for the font pacakges.
+
There are no test suites for the font packages. Install each font package:
 
 
Install each font package.
 
  
 
   make install
 
   make install
Line 46: Line 42:
 
After installing all of the font packages, create symlinks to the TrueType font directories.
 
After installing all of the font packages, create symlinks to the TrueType font directories.
  
   install -v -d -m755 /usr/share/fonts
+
   install -v -d -m755 /usr/share/fonts &&
   ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF
+
   ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
 
   ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
 
   ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
  
==Multilib==
+
= Multilib =
  
===32-Bit===
+
== 32Bit ==
  
==Build the Package==
+
Compile each font package that you wish to install:
 
   
 
   
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
Line 60: Line 56:
 
  make  
 
  make  
  
==Install the Package==
+
There are no test suites for the font packages.  Install each font package:
 
   
 
   
 
  make install
 
  make install
  
===N32===
+
== N32 ==
  
===64-Bit===
+
Compile each font package that you wish to install:
 +
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" CC="gcc ${BUILDN32}" CXX="g++  ${BUILDN32}" \
 +
./configure $XORG_CONFIGN32 &&
 +
make
 +
 
 +
There are no test suites for the font packages.  Install each font package:
 +
 +
make install
 +
 
 +
== 64Bit ==
 +
 
 +
Compile each font package that you wish to install:
  
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
Line 72: Line 80:
 
  make
 
  make
  
==Install the Package==
+
There are no test suites for the font packages.  Install each font package:
  
 
  make install
 
  make install
  install -v -d -m755 /usr/share/fonts
+
 
  ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
+
After installing all of the font packages, create symlinks to the TrueType font directories.
 +
 
 +
  install -v -d -m755 /usr/share/fonts &&
 +
  ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
 
  ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
 
  ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
  
 +
= Semi-Automated Build =
  
==Automated Build==
+
The semi-automated build assumes that you are using subdirectories as discussed in the [[Xorg7/Intro|introduction]].  It also assumes that the font-{{Xorg-Version}}.wget file exists in the main working directory (xc).  After entering the font subdirectory, unpack the tarballs:
 
 
==Unpack the Package==
 
  
 
  for i in *.tar.bz2; do
 
  for i in *.tar.bz2; do
tar xvf $i;
+
  tar xvf $i;
 
  done
 
  done
  
==Make the Packages==
+
Build and install each font package listed in the font-{{Xorg-Version}}.wget file:
  
 
  for dir in `sed "s/.tar.bz2//g" ../font-{{Xorg-Version}}.wget`; do
 
  for dir in `sed "s/.tar.bz2//g" ../font-{{Xorg-Version}}.wget`; do
cd ${dir} &&
+
  cd ${dir} &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
+
  ./configure $XORG_CONFIG32 &&
make &&
+
  make &&
make install &&
+
  make install &&
make distclean &&
+
  make distclean &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 &&  
+
  ./configure $XORG_CONFIG64 &&  
make &&
+
  make &&
make install &&
+
  make install &&
cd ..;
+
  cd ..;
 
  done
 
  done
  
  install -v -d -m755 /usr/share/fonts
+
After installing all of the font packages, create symlinks to the TrueType font directories.
  ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
+
 
 +
  install -v -d -m755 /usr/share/fonts &&
 +
  ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
 
  ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
 
  ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
 
 
 
  
 
Next install the Xorg [[Xorg7/Xserver|Xserver]]
 
Next install the Xorg [[Xorg7/Xserver|Xserver]]
Line 117: Line 126:
 
Each Xorg font package installs a multitude of files.  The interested party can issue the following 'make install' command to create a complete list of files installed and their installed location in the main working directory (xc):
 
Each Xorg font package installs a multitude of files.  The interested party can issue the following 'make install' command to create a complete list of files installed and their installed location in the main working directory (xc):
  
    make install 2>&1 | tee ../../<name_of_font>.files
+
make install 2>&1 | tee ../../<name_of_font>.files
  
 
The 38 font packages, listed alphabetically, are:
 
The 38 font packages, listed alphabetically, are:

Revision as of 10:15, 21 December 2006

Download Source:
http://xorg.freedesktop.org/releases/individual/font/

Back to Xorg Data

Introduction to Xorg Fonts

There are 38 font packages available for Xorg. Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.

Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows. This will prevent multiple versions from being downloaded when multiple versions exist.

 wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/font-7.1.wget
 cd font
 wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font-7.1.wget

Dependencies

Required

Xorg Apps and Xorg Data

Note: The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages. If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.

Non-Multilib

Compile each font package that you wish to install.

 ./configure $XORG_CONFIG
 make

There are no test suites for the font packages. Install each font package:

 make install

After installing all of the font packages, create symlinks to the TrueType font directories.

 install -v -d -m755 /usr/share/fonts &&
 ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
 ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF

Multilib

32Bit

Compile each font package that you wish to install:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
make 

There are no test suites for the font packages. Install each font package:

make install

N32

Compile each font package that you wish to install:

PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" CC="gcc ${BUILDN32}" CXX="g++  ${BUILDN32}" \
./configure $XORG_CONFIGN32 &&
make 

There are no test suites for the font packages. Install each font package:

make install

64Bit

Compile each font package that you wish to install:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 && 
make

There are no test suites for the font packages. Install each font package:

make install

After installing all of the font packages, create symlinks to the TrueType font directories.

install -v -d -m755 /usr/share/fonts &&
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF

Semi-Automated Build

The semi-automated build assumes that you are using subdirectories as discussed in the introduction. It also assumes that the font-7.1.wget file exists in the main working directory (xc). After entering the font subdirectory, unpack the tarballs:

for i in *.tar.bz2; do
 tar xvf $i;
done

Build and install each font package listed in the font-7.1.wget file:

for dir in `sed "s/.tar.bz2//g" ../font-7.1.wget`; do
 cd ${dir} &&
 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
 ./configure $XORG_CONFIG32 &&
 make &&
 make install &&
 make distclean &&
 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
 ./configure $XORG_CONFIG64 && 
 make &&
 make install &&
 cd ..;
done

After installing all of the font packages, create symlinks to the TrueType font directories.

install -v -d -m755 /usr/share/fonts &&
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF

Next install the Xorg Xserver

Contents

Each Xorg font package installs a multitude of files. The interested party can issue the following 'make install' command to create a complete list of files installed and their installed location in the main working directory (xc):

make install 2>&1 | tee ../../<name_of_font>.files

The 38 font packages, listed alphabetically, are:

  • encodings
  • font-adobe-100dpi
  • font-adobe-75dpi
  • font-adobe-utopia-100dpi
  • font-adobe-utopia-75dpi
  • font-adobe-utopia-type1
  • font-alias
  • font-arabic-misc
  • font-bh-100dpi
  • font-bh-75dpi
  • font-bh-lucidatypewriter-100dpi
  • font-bh-lucidatypewriter-75dpi
  • font-bh-ttf
  • font-bh-type1
  • font-bitstream-100dpi
  • font-bitstream-75dpi
  • font-bitstream-speedo
  • font-bitstream-type1
  • font-cronyx-cyrillic
  • font-cursor-misc
  • font-daewoo-misc
  • font-dec-misc
  • font-ibm-type1
  • font-isas-misc
  • font-jis-misc
  • font-micro-misc
  • font-misc-cyrillic
  • font-misc-ethiopic
  • font-misc-meltho
  • font-misc-misc
  • font-mutt-misc
  • font-schumacher-misc
  • font-screen-cyrillic
  • font-sony-misc
  • font-sun-misc
  • font-util
  • font-winitzki-cyrillic
  • font-xfree86-type1