Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185264 | Differences between
and this patch

Collapse All | Expand All

(-)font.eclass (+24 lines)
Lines 103-108 Link Here
103
	fi
103
	fi
104
}
104
}
105
105
106
# @FUNCTION: font_do_fontpath
107
# @USAGE: [fontdir]
108
# @DESCRIPTION:
109
# Create font catalogue symlinks.
110
font_do_fontpath() {
111
	if use X; then
112
		FONTDIR=${1:-${FONTDIR}}
113
114
		case ${FONTDIR##*/} in
115
			misc)
116
				FONTDIR="${FONTDIR}:unscaled:pri=10" ;;
117
			75dpi)
118
				FONTDIR="${FONTDIR}:unscaled:pri=20" ;;
119
			100dpi)
120
				FONTDIR="${FONTDIR}:unscaled:pri=30" ;;
121
			*)
122
				;;
123
		esac
124
125
		dosym "${FONTDIR%%:*}" "/etc/X11/fontpath.d/${FONTDIR##*/}"
126
	fi
127
}
128
106
#
129
#
107
# Public inheritable functions
130
# Public inheritable functions
108
#
131
#
Lines 126-131 Link Here
126
	font_xfont_config
149
	font_xfont_config
127
	font_xft_config
150
	font_xft_config
128
	font_fontconfig
151
	font_fontconfig
152
	font_do_fontpath
129
153
130
	cd "${S}"
154
	cd "${S}"
131
	dodoc ${DOCS} 2> /dev/null
155
	dodoc ${DOCS} 2> /dev/null

Return to bug 185264