From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rk3B9-0004Hs-TL for garchives@archives.gentoo.org; Mon, 09 Jan 2012 00:33:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 665D921C091; Mon, 9 Jan 2012 00:33:26 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id AAA2221C0AE for ; Mon, 9 Jan 2012 00:32:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhYaALI0Ck/O+INq/2dsb2JhbABDpV8CAYZhgQaBcgEBBTIBIzMJAhgcEhQlN4gCtQGDfYcxYwSIOYR7AXaGXYVhiCWEUg X-IronPort-AV: E=Sophos;i="4.71,477,1320642000"; d="scan'208";a="155773590" Received: from 206-248-131-106.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.131.106]) by ironport2-out.teksavvy.com with SMTP; 08 Jan 2012 19:32:22 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Sun, 08 Jan 2012 19:31:35 -0500 From: "Walter Dnes" Date: Sun, 8 Jan 2012 19:31:35 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: xpdf - missing fonts Message-ID: <20120109003135.GB19323@waltdnes.org> References: <20120103234243.GA25770@syscon7.inet> <20120104105247.GA2115@Gee-Mi-Ni.epfl.ch> <4F0459A6.6000302@binarywings.net> <20120104155122.GA3683@syscon7.inet> <20120105085939.GB2064@Gee-Mi-Ni.epfl.ch> <20120105173628.GD23765@syscon7.inet> <20120106164821.GF3378@syscon7.inet> <20120107034004.GA3452@syscon7.inet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20120107034004.GA3452@syscon7.inet> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 7bit X-Archives-Salt: c1b360f9-a9d4-4a27-af32-1ce028d1492f X-Archives-Hash: 686f9fa9a9ba006bb33e83b88bd0b78a --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 06, 2012 at 08:40:04PM -0700, Joseph wrote > On 01/06/12 13:51, walt wrote: > > > >Try turning the NLS useflag on for your installed font packages that use > >NLS. Not all font packages use NLS, dunno why. To see which installed > >fonts use NLS: > > > >#eix -IU nls | grep fonts > > Aparenlty none of them: > > eix -IU nls | grep fonts > [I] media-fonts/font-misc-misc > Description: X.Org miscellaneous fonts I have a suggestion that goes in the opposite direction. It's part of bug https://bugs.gentoo.org/show_bug.cgi?id=368335 For some reason, the default is now to generate Unicode encoding only (I believe it's iso10646), not iso8859-1 or any of the other local encodings. I ran into this when xfreecell refused to start, due to missing a specific iso8859-1 font. The bug can be worked around by editing the file /usr/portage/eclass/xorg-2.eclass I'm attaching my edited version. * Rename your current /usr/portage/eclass/xorg-2.eclass * substitute the version attached to this post * re-emerge all your fonts ***NOTE*** This eclass file tries to produce iso8859-1 only. Modify it if you want other iso code files. File attached... -- Walter Dnes --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=unknown-8bit Content-Disposition: attachment; filename="xorg-2.eclass" Content-Transfer-Encoding: quoted-printable # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.51 2011/11/01= 13:51:05 chithanh Exp $ # @ECLASS: xorg-2.eclass # @MAINTAINER: # x11@gentoo.org # @AUTHOR: # Author: Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal # Author: Donnie Berkholz # @BLURB: Reduces code duplication in the modularized X11 ebuilds. # @DESCRIPTION: # This eclass makes trivial X ebuilds possible for apps, fonts, drivers, # and more. Many things that would normally be done in various functions # can be accessed by setting variables instead, such as patching, # running eautoreconf, passing options to configure and installing docs. # # All you need to do in a basic ebuild is inherit this eclass and set # DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted # with the other X packages, you don't need to set SRC_URI. Pretty much # everything else should be automatic. GIT_ECLASS=3D"" if [[ ${PV} =3D=3D *9999* ]]; then GIT_ECLASS=3D"git-2" XORG_EAUTORECONF=3D"yes" fi # If we're a font package, but not the font.alias one FONT_ECLASS=3D"" if [[ ${PN} =3D=3D font* \ && ${CATEGORY} =3D media-fonts \ && ${PN} !=3D font-alias \ && ${PN} !=3D font-util ]]; then # Activate font code in the rest of the eclass FONT=3D"yes" FONT_ECLASS=3D"font" fi inherit autotools-utils eutils libtool multilib toolchain-funcs flag-o-ma= tic autotools \ ${FONT_ECLASS} ${GIT_ECLASS} EXPORTED_FUNCTIONS=3D"src_unpack src_compile src_install pkg_postinst pkg= _postrm" case "${EAPI:-0}" in 3|4) EXPORTED_FUNCTIONS=3D"${EXPORTED_FUNCTIONS} src_prepare src_configu= re" ;; *) die "EAPI=3D${EAPI} is not supported" ;; esac # exports must be ALWAYS after inherit EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} IUSE=3D"" HOMEPAGE=3D"http://xorg.freedesktop.org/" # @ECLASS-VARIABLE: XORG_EAUTORECONF # @DESCRIPTION: # If set to 'yes' and configure.ac exists, eautoreconf will run. Set # before inheriting this eclass. : ${XORG_EAUTORECONF:=3D"no"} # @ECLASS-VARIABLE: XORG_BASE_INDIVIDUAL_URI # @DESCRIPTION: # Set up SRC_URI for individual modular releases. If set to an empty # string, no SRC_URI will be provided by the eclass. : ${XORG_BASE_INDIVIDUAL_URI=3D"http://xorg.freedesktop.org/releases/indi= vidual"} # @ECLASS-VARIABLE: XORG_MODULE # @DESCRIPTION: # The subdirectory to download source from. Possible settings are app, # doc, data, util, driver, font, lib, proto, xserver. Set above the # inherit to override the default autoconfigured module. if [[ -z ${XORG_MODULE} ]]; then case ${CATEGORY} in app-doc) XORG_MODULE=3Ddoc/ ;; media-fonts) XORG_MODULE=3Dfont/ ;; x11-apps|x11-wm) XORG_MODULE=3Dapp/ ;; x11-misc|x11-themes) XORG_MODULE=3Dutil/ ;; x11-base) XORG_MODULE=3Dxserver/ ;; x11-drivers) XORG_MODULE=3Ddriver/ ;; x11-proto) XORG_MODULE=3Dproto/ ;; x11-libs) XORG_MODULE=3Dlib/ ;; *) XORG_MODULE=3D ;; esac fi # @ECLASS-VARIABLE: XORG_PACKAGE_NAME # @DESCRIPTION: # For git checkout the git repository might differ from package name. # This variable can be used for proper directory specification : ${XORG_PACKAGE_NAME:=3D${PN}} if [[ -n ${GIT_ECLASS} ]]; then : ${EGIT_REPO_URI:=3D"git://anongit.freedesktop.org/git/xorg/${XORG_MODU= LE}${XORG_PACKAGE_NAME} http://anongit.freedesktop.org/git/xorg/${XORG_MO= DULE}${XORG_PACKAGE_NAME}"} elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then SRC_URI=3D"${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2" fi : ${SLOT:=3D0} # Set the license for the package. This can be overridden by setting # LICENSE after the inherit. Nearly all FreeDesktop-hosted X packages # are under the MIT license. (This is what Red Hat does in their rpms) : ${LICENSE:=3DMIT} # Set up autotools shared dependencies # Remember that all versions here MUST be stable XORG_EAUTORECONF_ARCHES=3D"x86-interix ppc-aix x86-winnt" EAUTORECONF_DEPEND+=3D" >=3Dsys-devel/libtool-2.2.6a sys-devel/m4" if [[ ${PN} !=3D util-macros ]] ; then EAUTORECONF_DEPEND+=3D" >=3Dx11-misc/util-macros-1.15.0" # Required even by xorg-server [[ ${PN} =3D=3D "font-util" ]] || EAUTORECONF_DEPEND+=3D" >=3Dmedia-font= s/font-util-1.2.0" fi WANT_AUTOCONF=3D"latest" WANT_AUTOMAKE=3D"latest" for arch in ${XORG_EAUTORECONF_ARCHES}; do EAUTORECONF_DEPENDS+=3D" ${arch}? ( ${EAUTORECONF_DEPEND} )" done DEPEND+=3D" ${EAUTORECONF_DEPENDS}" [[ ${XORG_EAUTORECONF} !=3D no ]] && DEPEND+=3D" ${EAUTORECONF_DEPEND}" unset EAUTORECONF_DEPENDS unset EAUTORECONF_DEPEND if [[ ${FONT} =3D=3D yes ]]; then RDEPEND+=3D" media-fonts/encodings x11-apps/mkfontscale x11-apps/mkfontdir" PDEPEND+=3D" media-fonts/font-alias" DEPEND+=3D" >=3Dmedia-fonts/font-util-1.2.0" # @ECLASS-VARIABLE: FONT_DIR # @DESCRIPTION: # If you're creating a font package and the suffix of PN is not equal to # the subdirectory of /usr/share/fonts/ it should install into, set # FONT_DIR to that directory or directories. Set before inheriting this # eclass. [[ -z ${FONT_DIR} ]] && FONT_DIR=3D${PN##*-} # Fix case of font directories FONT_DIR=3D${FONT_DIR/ttf/TTF} FONT_DIR=3D${FONT_DIR/otf/OTF} FONT_DIR=3D${FONT_DIR/type1/Type1} FONT_DIR=3D${FONT_DIR/speedo/Speedo} # Set up configure options, wrapped so ebuilds can override if need be [[ -z ${FONT_OPTIONS} ]] && FONT_OPTIONS=3D"--with-fontdir=3D\"${EPREFIX= }/usr/share/fonts/${FONT_DIR}\"" [[ ${PN##*-} =3D misc || ${PN##*-} =3D 75dpi || ${PN##*-} =3D 100dpi || = ${PN##*-} =3D cyrillic ]] && IUSE+=3D" nls" fi # If we're a driver package, then enable DRIVER case [[ ${PN} =3D=3D xf86-video-* || ${PN} =3D=3D xf86-input-* ]] && DRIVER=3D= "yes" # @ECLASS-VARIABLE: XORG_STATIC # @DESCRIPTION: # Enables static-libs useflag. Set to no, if your package gets: # # QA: configure: WARNING: unrecognized options: --disable-static : ${XORG_STATIC:=3D"yes"} # Add static-libs useflag where usefull. if [[ ${XORG_STATIC} =3D=3D yes \ && ${FONT} !=3D yes \ && ${CATEGORY} !=3D app-doc \ && ${CATEGORY} !=3D x11-apps \ && ${CATEGORY} !=3D x11-proto \ && ${CATEGORY} !=3D x11-drivers \ && ${CATEGORY} !=3D media-fonts \ && ${PN} !=3D util-macros \ && ${PN} !=3D xbitmaps \ && ${PN} !=3D xorg-cf-files \ && ${PN/xcursor} =3D ${PN} ]]; then IUSE+=3D" static-libs" fi DEPEND+=3D" >=3Ddev-util/pkgconfig-0.23" # @ECLASS-VARIABLE: XORG_DRI # @DESCRIPTION: # Possible values are "always" or the value of the useflag DRI capabiliti= es # are required for. Default value is "no" # # Eg. XORG_DRI=3D"opengl" will pull all dri dependant deps for opengl use= flag : ${XORG_DRI:=3D"no"} DRI_COMMON_DEPEND=3D" x11-base/xorg-server[-minimal] x11-libs/libdrm " DRI_DEPEND=3D" x11-proto/xf86driproto x11-proto/glproto x11-proto/dri2proto " case ${XORG_DRI} in no) ;; always) COMMON_DEPEND+=3D" ${DRI_COMMON_DEPEND}" DEPEND+=3D" ${DRI_DEPEND}" ;; *) COMMON_DEPEND+=3D" ${XORG_DRI}? ( ${DRI_COMMON_DEPEND} )" DEPEND+=3D" ${XORG_DRI}? ( ${DRI_DEPEND} )" IUSE+=3D" ${XORG_DRI}" ;; esac unset DRI_DEPEND unset DRI_COMMONDEPEND if [[ -n "${DRIVER}" ]]; then COMMON_DEPEND+=3D" x11-base/xorg-server[xorg] " fi if [[ -n "${DRIVER}" && ${PN} =3D=3D xf86-input-* ]]; then DEPEND+=3D" x11-proto/inputproto x11-proto/kbproto x11-proto/xproto " fi if [[ -n "${DRIVER}" && ${PN} =3D=3D xf86-video-* ]]; then COMMON_DEPEND+=3D" x11-libs/libpciaccess " # we also needs some protos and libs in all cases DEPEND+=3D" x11-proto/fontsproto x11-proto/randrproto x11-proto/renderproto x11-proto/videoproto x11-proto/xextproto x11-proto/xineramaproto x11-proto/xproto " fi # @ECLASS-VARIABLE: XORG_DOC # @DESCRIPTION: # Possible values are "always" or the value of the useflag doc packages # are required for. Default value is "no" # # Eg. XORG_DOC=3D"manual" will pull all doc dependant deps for manual use= flag : ${XORG_DOC:=3D"no"} DOC_DEPEND=3D" doc? ( app-text/asciidoc app-text/xmlto app-doc/doxygen app-text/docbook-xml-dtd:4.1.2 app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.3 ) " case ${XORG_DOC} in no) ;; always) DEPEND+=3D" ${DOC_DEPEND}" ;; *) DEPEND+=3D" ${XORG_DOC}? ( ${DOC_DEPEND} )" IUSE+=3D" ${XORG_DOC}" ;; esac unset DOC_DEPEND DEPEND+=3D" ${COMMON_DEPEND}" RDEPEND+=3D" ${COMMON_DEPEND}" unset COMMON_DEPEND debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=3D${DEPEND}" debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND=3D${RDEPEND}" debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: PDEPEND=3D${PDEPEND}" # @FUNCTION: xorg-2_pkg_setup # @DESCRIPTION: # Setup prefix compat xorg-2_pkg_setup() { debug-print-function ${FUNCNAME} "$@" [[ ${FONT} =3D=3D yes ]] && font_pkg_setup "$@" } # @FUNCTION: xorg-2_src_unpack # @DESCRIPTION: # Simply unpack source code. xorg-2_src_unpack() { debug-print-function ${FUNCNAME} "$@" if [[ -n ${GIT_ECLASS} ]]; then git-2_src_unpack else unpack ${A} fi [[ -n ${FONT_OPTIONS} ]] && einfo "Detected font directory: ${FONT_DIR}" } # @FUNCTION: xorg-2_patch_source # @DESCRIPTION: # Apply all patches xorg-2_patch_source() { debug-print-function ${FUNCNAME} "$@" # Use standardized names and locations with bulk patching # Patch directory is ${WORKDIR}/patch # See epatch() in eutils.eclass for more documentation EPATCH_SUFFIX=3D${EPATCH_SUFFIX:=3Dpatch} [[ -d "${EPATCH_SOURCE}" ]] && epatch autotools-utils_src_prepare "$@" } # @FUNCTION: xorg-2_reconf_source # @DESCRIPTION: # Run eautoreconf if necessary, and run elibtoolize. xorg-2_reconf_source() { debug-print-function ${FUNCNAME} "$@" case ${CHOST} in *-interix* | *-aix* | *-winnt*) # some hosts need full eautoreconf [[ -e "./configure.ac" || -e "./configure.in" ]] && eautoreconf || ewa= rn "Unable to autoreconf the configure script. Things may fail." ;; *) # elibtoolize required for BSD [[ ${XORG_EAUTORECONF} !=3D no && ( -e "./configure.ac" || -e "./confi= gure.in" ) ]] && eautoreconf || elibtoolize ;; esac } # @FUNCTION: xorg-2_src_prepare # @DESCRIPTION: # Prepare a package after unpacking, performing all X-related tasks. xorg-2_src_prepare() { debug-print-function ${FUNCNAME} "$@" xorg-2_patch_source xorg-2_reconf_source } # @FUNCTION: xorg-2_font_configure # @DESCRIPTION: # If a font package, perform any necessary configuration steps xorg-2_font_configure() { debug-print-function ${FUNCNAME} "$@" if has nls ${IUSE//+} && ! use nls; then if grep -q -s "disable-all-encodings" ${ECONF_SOURCE:-.}/configure; the= n FONT_OPTIONS+=3D" --enable-iso8859-1 --disable-iso10646 --disable-iso10646-1 --disable-iso8859-2 --disable-iso8859-3 --disable-iso8859-4 --disable-iso8859-5 --disable-iso8859-6 --disable-iso8859-7 --disable-iso8859-8 --disable-iso8859-9 --disable-iso8859-10 --disable-iso8859-11 --disable-iso8859-12 --disable-iso8859-13 --disable-iso8859-14 --disable-iso8859-15 --disable-iso8859-16 --disable-jisx0201 --disable-koi8-r" else FONT_OPTIONS+=3D" --disable-iso10646 --disable-iso10646-1 --disable-iso8859-2 --disable-iso8859-3 --disable-iso8859-4 --disable-iso8859-5 --disable-iso8859-6 --disable-iso8859-7 --disable-iso8859-8 --disable-iso8859-9 --disable-iso8859-10 --disable-iso8859-11 --disable-iso8859-12 --disable-iso8859-13 --disable-iso8859-14 --disable-iso8859-15 --disable-iso8859-16 --disable-jisx0201 --disable-koi8-r" fi fi } # @FUNCTION: xorg-2_flags_setup # @DESCRIPTION: # Set up CFLAGS for a debug build xorg-2_flags_setup() { debug-print-function ${FUNCNAME} "$@" # Win32 require special define [[ ${CHOST} =3D=3D *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__ # hardened ldflags [[ ${PN} =3D xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,laz= y # Quite few libraries fail on runtime without these: if has static-libs ${IUSE//+}; then filter-flags -Wl,-Bdirect filter-ldflags -Bdirect filter-ldflags -Wl,-Bdirect fi } # @FUNCTION: xorg-2_src_configure # @DESCRIPTION: # Perform any necessary pre-configuration steps, then run configure xorg-2_src_configure() { debug-print-function ${FUNCNAME} "$@" xorg-2_flags_setup # @VARIABLE: XORG_CONFIGURE_OPTIONS # @DESCRIPTION: # Array of an additional options to pass to configure. # @DEFAULT_UNSET if [[ $(declare -p XORG_CONFIGURE_OPTIONS 2>&-) !=3D "declare -a"* ]]; t= hen # fallback to CONFIGURE_OPTIONS, deprecated. if [[ -n "${CONFIGURE_OPTIONS}" ]]; then eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONF= IGURE_OPTIONS" eqawarn "to preserve namespace." fi local xorgconfadd=3D(${CONFIGURE_OPTIONS}) else local xorgconfadd=3D("${XORG_CONFIGURE_OPTIONS[@]}") fi [[ -n "${FONT}" ]] && xorg-2_font_configure local myeconfargs=3D( --disable-dependency-tracking ${FONT_OPTIONS} "${xorgconfadd[@]}" ) autotools-utils_src_configure "$@" } # @FUNCTION: xorg-2_src_compile # @DESCRIPTION: # Compile a package, performing all X-related tasks. xorg-2_src_compile() { debug-print-function ${FUNCNAME} "$@" autotools-utils_src_compile "$@" } # @FUNCTION: xorg-2_src_install # @DESCRIPTION: # Install a built package to ${D}, performing any necessary steps. # Creates a ChangeLog from git if using live ebuilds. xorg-2_src_install() { debug-print-function ${FUNCNAME} "$@" if [[ ${CATEGORY} =3D=3D x11-proto ]]; then autotools-utils_src_install \ ${PN/proto/}docdir=3D"${EPREFIX}/usr/share/doc/${PF}" \ docdir=3D"${EPREFIX}/usr/share/doc/${PF}" else autotools-utils_src_install \ docdir=3D"${EPREFIX}/usr/share/doc/${PF}" fi if [[ -n ${GIT_ECLASS} ]]; then pushd "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" > /dev/null git log ${EGIT_COMMIT} > "${S}"/ChangeLog popd > /dev/null fi if [[ -e "${S}"/ChangeLog ]]; then dodoc "${S}"/ChangeLog || die "dodoc failed" fi # Don't install libtool archives (even with static-libs) remove_libtool_files all [[ -n ${FONT} ]] && remove_font_metadata } # @FUNCTION: xorg-2_pkg_postinst # @DESCRIPTION: # Run X-specific post-installation tasks on the live filesystem. The # only task right now is some setup for font packages. xorg-2_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" if [[ -n ${FONT} ]]; then create_fonts_scale create_fonts_dir font_pkg_postinst "$@" fi } # @FUNCTION: xorg-2_pkg_postrm # @DESCRIPTION: # Run X-specific post-removal tasks on the live filesystem. The only # task right now is some cleanup for font packages. xorg-2_pkg_postrm() { debug-print-function ${FUNCNAME} "$@" if [[ -n ${FONT} ]]; then # if we're doing an upgrade, postinst will do if [[ ${EAPI} -lt 4 || -z ${REPLACED_BY_VERSION} ]]; then create_fonts_scale create_fonts_dir font_pkg_postrm "$@" fi fi } # @FUNCTION: remove_font_metadata # @DESCRIPTION: # Don't let the package install generated font files that may overlap # with other packages. Instead, they're generated in pkg_postinst(). remove_font_metadata() { debug-print-function ${FUNCNAME} "$@" if [[ ${FONT_DIR} !=3D Speedo && ${FONT_DIR} !=3D CID ]]; then einfo "Removing font metadata" rm -rf "${ED}"/usr/share/fonts/${FONT_DIR}/fonts.{scale,dir,cache-1} fi } # @FUNCTION: create_fonts_scale # @DESCRIPTION: # Create fonts.scale file, used by the old server-side fonts subsystem. create_fonts_scale() { debug-print-function ${FUNCNAME} "$@" if [[ ${FONT_DIR} !=3D Speedo && ${FONT_DIR} !=3D CID ]]; then ebegin "Generating fonts.scale" mkfontscale \ -a "${EROOT}/usr/share/fonts/encodings/encodings.dir" \ -- "${EROOT}/usr/share/fonts/${FONT_DIR}" eend $? fi } # @FUNCTION: create_fonts_dir # @DESCRIPTION: # Create fonts.dir file, used by the old server-side fonts subsystem. create_fonts_dir() { debug-print-function ${FUNCNAME} "$@" ebegin "Generating fonts.dir" mkfontdir \ -e "${EROOT}"/usr/share/fonts/encodings \ -e "${EROOT}"/usr/share/fonts/encodings/large \ -- "${EROOT}/usr/share/fonts/${FONT_DIR}" eend $? } --vkogqOf2sHV7VnPd--