+ /* Brace test */
+ cairo_select_font_face (cr, "Gonville-Brace", 0, 0);
+
+ /* XXX: This font size (in conjunction with the glyph selection)
+ * is a rough guess at best. We should figure out how the brace
+ * font is intended to be used and actually measure to find the
+ * correctly sized glyph. */
+ cairo_set_font_size (cr, 40);
+
+ cairo_translate (cr, 5, 0);
+ score->width -= 5;
+
+ /* XXX: This hard-coded glyph index is pretty ugly. We should
+ * figure out how to lookup the glyph we want, (though, as it
+ * turns out, this brace font pretty much just has numbered glyph
+ * names for different sizes, so it wouldn't be all that different
+ * than just the bare index here). */
+ brace.index = 185;
+ brace.x = 0;
+ brace.y = score->staff_height * 1.5;
+
+ cairo_set_source_rgb (cr, 0.0, 0.0, 0.0); /* black */
+ cairo_show_glyphs (cr, &brace, 1);
+
+ cairo_translate (cr, 2, 0);
+ score->width -= 2;
+