Update font type to match pango naming.

This commit is contained in:
Dave Davenport 2014-11-14 08:06:23 +01:00
parent 05cab7a37a
commit 5c31a16da2
3 changed files with 11 additions and 15 deletions

View File

@ -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

View File

@ -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`

View File

@ -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]