xterm/xterm-man-paths.patch

54 lines
1.8 KiB
Diff
Raw Permalink Normal View History

diff --git a/minstall.in b/minstall.in
index ec3c936..e4f2911 100644
--- a/minstall.in
+++ b/minstall.in
@@ -109,6 +109,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^.//'`
2013-01-10 11:36:25 +00:00
USE_Name=${USE_chr0}${USE_chr1}
USE_NAME=`echo "$USE_name" | tr "$lower" "$upper"`
2010-02-02 17:29:15 +00:00
+fontpath=/usr/share/X11/fonts
+xorgcfgdir=/etc/X11
+xorgcfgfil=xorg.conf
+X_MANSECT=7
2012-10-09 16:32:56 +00:00
+
2013-01-10 11:36:25 +00:00
sed -e 's%__vendorversion__%"X Window System"%' \
-e 's%__app_version__%Patch\ \#'"$PATCH_NUM"% \
-e 's%__app_date__%'"$PATCH_YMD"% \
@@ -135,6 +140,9 @@ sed -e 's%__vendorversion__%"X Window System"%' \
-e "s%__wtmp_name__%@WTMP_NAME@%g" \
-e "s%__wtmp_path__%@WTMP_PATH@%g" \
2017-06-01 14:44:13 +00:00
-e 's%/\\(\*\*%/*%g' \
+ -e s%__fontpath__%$fontpath%g \
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
"$OLD_FILE" >$NEW_FILE
2013-01-10 11:36:25 +00:00
# diff -u $OLD_FILE $NEW_FILE
2010-02-02 17:29:15 +00:00
diff --git a/xterm.man b/xterm.man
index 1792099..9b63f79 100644
--- a/xterm.man
+++ b/xterm.man
@@ -2580,19 +2580,18 @@ Since X11R6, bitmap fonts have been scaled.
2012-10-09 16:32:56 +00:00
The font server claims to provide the bold font that \fI\*n\fP requests,
but the result is not always readable.
2011-08-30 13:56:40 +00:00
XFree86 introduced a feature which can be used to suppress the scaling.
2014-12-08 10:57:13 +00:00
-In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''
-or \*(``/etc/X11/xorg.conf\*(''), you
2011-07-15 11:41:31 +00:00
+In the X server's configuration file (e.g., \*(``__xorgcfgdir__/__xorgcfgfil__\*(''), you
can add \*(``:unscaled\*('' to the end of the directory specification for the
\*(``misc\*('' fonts,
2012-10-09 16:32:56 +00:00
which comprise the fixed-pitch fonts that are used by \fI\*n\fP.
For example
2011-08-30 13:56:40 +00:00
.NS
-FontPath "/usr/lib/X11/fonts/misc/"
2012-10-09 16:32:56 +00:00
+FontPath "__fontpath__/misc/"
2011-08-30 13:56:40 +00:00
.NE
2012-11-26 16:33:21 +00:00
.IP
would become
2011-08-30 13:56:40 +00:00
.NS
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
+FontPath "__fontpath__/misc/:unscaled"
.NE
2012-11-26 16:33:21 +00:00
.IP
Depending on your configuration, the font server may have its own configuration