]> Dogcows Code - chaz/openbox/commitdiff
and tidy it up a bit
authorMikael Magnusson <mikachu@comhem.se>
Thu, 1 Sep 2005 15:34:03 +0000 (15:34 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 1 Sep 2005 15:34:03 +0000 (15:34 +0000)
render/font.c

index ee8ca4a39e818a8dd1dc124dc60d576dfe0c269d..f46bb660cdb2b7aded0da3be6c9589dda71598dc 100644 (file)
@@ -406,11 +406,10 @@ void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area)
                       t->font->xftfont->ascent + y,
                       (FcChar8*)text->str, l);
 #else /* USE_PANGO */
-    /* layout_line() bases y on the baseline, while
-     * layout() bases y on the top of the ink layout.
-     * We want the baseline to always be in the same place, thusly, we use
-     * layout_line()
-     * The actual line doesn't need to be freed */
+    /* layout_line() bases y on the baseline, while layout() bases y on the
+     * top of the ink layout. We want the baseline to always be in the same
+     * place, thusly, we use layout_line()
+     * The actual line doesn't need to be freed (per the pango docs) */
     pango_xft_render_layout_line(d, &c, pango_layout_get_line(pl, 0),
                                  x * PANGO_SCALE, y * PANGO_SCALE);
     g_object_unref(pl);
This page took 0.025704 seconds and 4 git commands to generate.