- GList *items = pango_itemize (context_,
- str.to_str0 (),
- 0, str.length (), attribute_list_,
- NULL);
+ return text_stencil (str, true);
+}
+
+Stencil
+Pango_font::text_stencil (string str) const
+{
+ return text_stencil (str, false);
+}
+
+Stencil
+Pango_font::text_stencil (string str, bool tight) const
+{
+ GList *items
+ = pango_itemize (context_,
+ str.c_str (),
+ 0, str.length (), attribute_list_,
+ NULL);