Index: uspace/app/gfxdemo/gfxdemo.c
===================================================================
--- uspace/app/gfxdemo/gfxdemo.c	(revision f7c12b31590a80fc5aa38db903e609c2055972e4)
+++ uspace/app/gfxdemo/gfxdemo.c	(revision 400a16d0bdcef60cab1a36ca3c1231c9a546a6af)
@@ -706,5 +706,5 @@
 		goto error;
 
-	pos.x = rect.p1.x - 1;
+	pos.x = rect.p1.x;
 	pos.y = rect.p0.y;
 	fmt.halign = gfx_halign_right;
@@ -729,5 +729,5 @@
 		goto error;
 
-	pos.x = rect.p1.x - 1;
+	pos.x = rect.p1.x;
 	pos.y = (rect.p0.y + rect.p1.y - 1) / 2;
 	fmt.halign = gfx_halign_right;
@@ -746,5 +746,5 @@
 
 	pos.x = (rect.p0.x + rect.p1.x - 1) / 2;
-	pos.y = rect.p1.y - 1;
+	pos.y = rect.p1.y;
 	fmt.halign = gfx_halign_center;
 	rc = gfx_puttext(font, &pos, &fmt, "Bottom center");
@@ -752,6 +752,6 @@
 		goto error;
 
-	pos.x = rect.p1.x - 1;
-	pos.y = rect.p1.y - 1;
+	pos.x = rect.p1.x;
+	pos.y = rect.p1.y;
 	fmt.halign = gfx_halign_right;
 	rc = gfx_puttext(font, &pos, &fmt, "Bottom right");
Index: uspace/lib/gfxfont/include/types/gfx/text.h
===================================================================
--- uspace/lib/gfxfont/include/types/gfx/text.h	(revision f7c12b31590a80fc5aa38db903e609c2055972e4)
+++ uspace/lib/gfxfont/include/types/gfx/text.h	(revision 400a16d0bdcef60cab1a36ca3c1231c9a546a6af)
@@ -42,9 +42,9 @@
 /** Text horizontal alignment */
 typedef enum {
-	/** Align text left */
+	/** Align text left (start at anchor point) */
 	gfx_halign_left,
-	/** Align text on the center */
+	/** Align text on the center (center around anchor point) */
 	gfx_halign_center,
-	/** Align text right */
+	/** Align text right (end just before anchor point) */
 	gfx_halign_right,
 	/** Justify text on both left and right edge */
@@ -54,9 +54,9 @@
 /** Text vertical alignment */
 typedef enum {
-	/** Align top */
+	/** Align top (starts at anchor point) */
 	gfx_valign_top,
-	/** Align center */
+	/** Align center (centered around anchor point) */
 	gfx_valign_center,
-	/** Align bottom */
+	/** Align bottom (end just before anchor point) */
 	gfx_valign_bottom,
 	/** Align to baseline */
Index: uspace/lib/gfxfont/src/text.c
===================================================================
--- uspace/lib/gfxfont/src/text.c	(revision f7c12b31590a80fc5aa38db903e609c2055972e4)
+++ uspace/lib/gfxfont/src/text.c	(revision 400a16d0bdcef60cab1a36ca3c1231c9a546a6af)
@@ -191,5 +191,5 @@
 			break;
 		case gfx_halign_right:
-			spos->x -= width - 1;
+			spos->x -= width;
 			break;
 		default:
@@ -210,5 +210,5 @@
 			break;
 		case gfx_valign_bottom:
-			cpos.y -= fmetrics.descent;
+			cpos.y -= fmetrics.descent + 1;
 			break;
 		default:
Index: uspace/lib/ui/src/wdecor.c
===================================================================
--- uspace/lib/ui/src/wdecor.c	(revision f7c12b31590a80fc5aa38db903e609c2055972e4)
+++ uspace/lib/ui/src/wdecor.c	(revision 400a16d0bdcef60cab1a36ca3c1231c9a546a6af)
@@ -345,6 +345,6 @@
 			geom->title_bar_rect.p0 = geom->interior_rect.p0;
 			geom->title_bar_rect.p1.x = geom->interior_rect.p1.x;
-			geom->title_bar_rect.p1.y = geom->interior_rect.p0.y
-			    + wdecor_tbar_h;
+			geom->title_bar_rect.p1.y = geom->interior_rect.p0.y +
+			    wdecor_tbar_h;
 		}
 
