Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2137
diff -u -p -r1.2137 ChangeLog
--- ChangeLog	8 Aug 2005 05:37:22 -0000	1.2137
+++ ChangeLog	10 Aug 2005 07:47:27 -0000
@@ -1,3 +1,13 @@
+2005-08-09  Mengjie Yu  <meng-jie.yu@sun.com>
+
+	* htmltext.c: (html_text_prepare_attrs),
+	(html_text_get_pango_info):
+	* htmltext.h:
+	Change function name prepare_attrs to html_text_prepare_attrs and make it 
+	a new public API. We will call it in a11y part.
+
+	Fixes #312189
+
 2005-08-05  Kaushal Kumar  <kakumar@novell.com>
 
 	* htmlengine-edit.c (html_engine_get_insert_level_for_object): Advance clue 
Index: htmltext.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmltext.c,v
retrieving revision 1.282
diff -u -p -r1.282 htmltext.c
--- htmltext.c	9 May 2005 08:09:11 -0000	1.282
+++ htmltext.c	10 Aug 2005 07:47:32 -0000
@@ -1175,8 +1175,8 @@ html_text_remove_unwanted_line_breaks (c
 	}
 }
 
-static PangoAttrList *
-prepare_attrs (HTMLText *text, HTMLPainter *painter)
+PangoAttrList *
+html_text_prepare_attrs (HTMLText *text, HTMLPainter *painter)
 {
 	PangoAttrList *attrs;
 	HTMLClueFlow *flow = NULL;
@@ -1381,7 +1381,7 @@ html_text_get_pango_info (HTMLText *text
 		PangoAttrList *attrs;
 		int i, offset;
 
-		attrs = prepare_attrs (text, painter);
+		attrs = html_text_prepare_attrs (text, painter);
 		items = pango_itemize_with_base_dir (painter->pango_context, get_pango_base_direction (text), text->text, 0, text->text_bytes, attrs, NULL);
 		pango_attr_list_unref (attrs);
 
Index: htmltext.h
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmltext.h,v
retrieving revision 1.75
diff -u -p -r1.75 htmltext.h
--- htmltext.h	9 May 2005 08:09:11 -0000	1.75
+++ htmltext.h	10 Aug 2005 07:47:33 -0000
@@ -362,4 +362,8 @@ html_tmp_fix_pango_glyph_string_get_logi
 						    int               length,
 						    int               embedding_level,
 						    int              *logical_widths);
+
+PangoAttrList *html_text_prepare_attrs (HTMLText *text, 
+					HTMLPainter *painter);
+
 #endif /* _HTMLTEXT_H_ */
