XSetFont(3X11) MIT X11R4 XSetFont(3X11)Name
XSetFont - GC convenience routines
Syntax
XSetFont(display, gc, font)
Display *display;
GC gc;
Font font;
Arguments
display Specifies the connection to the X server.
font Specifies the font.
gc Specifies the GC.
Description
The function sets the current font in the specified GC.
can generate and errors.
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Font or GContext argument does not name a defined Font.
A value for a GContext argument does not name a defined GContext.
See AlsoXCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11), XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetLineAttributes(3X11), XSet-
State(3X11), XSetTile(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XSetFont(3X11)
Check Out this Related Man Page
XSetFillStyle(3X11) MIT X11R4 XSetFillStyle(3X11)Name
XSetFillStyle, XSetFillRule - GC convenience routines
Syntax
XSetFillStyle(display, gc, fill_style)
Display *display;
GC gc;
int fill_style;
XSetFillRule(display, gc, fill_rule)
Display *display;
GC gc;
int fill_rule;
Arguments
display Specifies the connection to the X server.
fill_rule Specifies the fill-rule you want to set for the specified GC. You can pass or
fill_style
Specifies the fill-style you want to set for the specified GC. You can pass or
gc Specifies the GC.
Description
The function sets the fill-style in the specified GC.
can generate and errors.
The function sets the fill-rule in the specified GC.
can generate and errors.
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a GContext argument does not name a defined GContext.
Some numeric value falls outside the range of values accepted by the request.
Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
defined as a set of alternatives can generate this error.
See AlsoXCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11), XSetClipOrigin(3X11), XSetFont(3X11), XSetLineAttributes(3X11), XSetState(3X11),
XSetTile(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XSetFillStyle(3X11)
Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome.
The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
Just changed the mobile site to use Font Awesome icons.
Here is the new top navbar view (unregistered users)
https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)