From 5c31a16da20a7c6769187434324a56ce99d3c487 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 14 Nov 2014 08:06:23 +0100 Subject: [PATCH] Update font type to match pango naming. --- config/config.c | 2 +- doc/rofi-manpage.markdown | 6 +++--- doc/rofi.1 | 18 +++++++----------- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/config/config.c b/config/config.c index 8a229336..40460c50 100644 --- a/config/config.c +++ b/config/config.c @@ -45,7 +45,7 @@ Settings config = { // Number of columns .menu_columns = 1, // Font - .menu_font = "mono12", + .menu_font = "mono 12", // Foreground color .menu_fg = "#222222", // Background color diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index aed035f9..4108ef90 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -6,7 +6,7 @@ rofi - A window switcher, run dialog and dmenu replacement ## SYNOPSIS -**rofi** [ -width *pct_scr* ] [ -lines *lines* ] [ -columns *columns* ] [ -font *xftfont* ] [ -fg *color* ] +**rofi** [ -width *pct_scr* ] [ -lines *lines* ] [ -columns *columns* ] [ -font *pangofont* ] [ -fg *color* ] [ -bg *color* ] [ -hlfg *color* ] [ -hlbg *color* ] [ -key *combo* ] [ -dkey *comdo* ] [ -rkey *comdo* ] [ -terminal *terminal* ] [ -location *position* ] [ -hmode ] [ -fixed-num-lines ] [ -padding *padding* ] [ -opacity *opacity%* ] [ -display *display* ] [ -bc *color* ] [ -bw *width* ] [ -dmenu [ -p *prompt* ] ] @@ -150,10 +150,10 @@ The default key combinations are: `-font` - Xft font name for use by the menu (default: mono-14). + Pango font name for use by the menu (default: mono 14). - rofi -font monospace-14:medium + rofi -font monospace\ 14 `-hlbg` diff --git a/doc/rofi.1 b/doc/rofi.1 index 8e1821d0..45e88f7f 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -4,7 +4,7 @@ rofi \- A window switcher, run dialog and dmenu replacement .SH SYNOPSIS .PP -\fBrofi\fP [ \-width \fIpct_scr\fP ] [ \-lines \fIlines\fP ] [ \-columns \fIcolumns\fP ] [ \-font \fIxftfont\fP ] [ \-fg \fIcolor\fP ] +\fBrofi\fP [ \-width \fIpct_scr\fP ] [ \-lines \fIlines\fP ] [ \-columns \fIcolumns\fP ] [ \-font \fIpangofont\fP ] [ \-fg \fIcolor\fP ] [ \-bg \fIcolor\fP ] [ \-hlfg \fIcolor\fP ] [ \-hlbg \fIcolor\fP ] [ \-key \fIcombo\fP ] [ \-dkey \fIcomdo\fP ] [ \-rkey \fIcomdo\fP ] [ \-terminal \fIterminal\fP ] [ \-location \fIposition\fP ] [ \-hmode ] [ \-fixed\-num\-lines ] [ \-padding \fIpadding\fP ] [ \-opacity \fIopacity%\fP ] [ \-display \fIdisplay\fP ] [ \-bc \fIcolor\fP ] [ \-bw \fIwidth\fP ] [ \-dmenu [ \-p \fIprompt\fP ] ] @@ -183,11 +183,11 @@ Set the foreground text color (X11 named color or hex #rrggbb) for the menu (def .PP \fB\fC\-font\fR .IP -Xft font name for use by the menu (default: mono\-14). +Pango font name for use by the menu (default: mono 14). .PP .RS .nf - rofi \-font monospace\-14:medium + rofi \-font monospace\\ 14 .fi .RE .PP @@ -496,18 +496,14 @@ Try using a mono\-space font. .SH WEBSITE .PP \fBrofi\fP website can be found at here -.UR https://davedavenport.github.io/rofi/ -.UE +\[la]https://davedavenport.github.io/rofi/\[ra] .PP \fBrofi\fP bugtracker can be found here -.UR https://github.com/DaveDavenport/rofi/issues -.UE +\[la]https://github.com/DaveDavenport/rofi/issues\[ra] .SH AUTHOR .PP Qball Cow -.MT qball@gmpclient.org -.ME +\[la]qball@gmpclient.org\[ra] .PP Original code based on work by: Sean Pringle -.MT sean.pringle@gmail.com -.ME +\[la]sean.pringle@gmail.com\[ra]