2012-07-06 19:41:20 +00:00
|
|
|
/* process with:
|
|
|
|
dot text_layout.gv -Tsvg > text_layout.svg
|
|
|
|
dot text_layout.gv -Tpng > text_layout.png
|
|
|
|
*/
|
|
|
|
digraph textrendering {
|
|
|
|
Text [color=red]
|
|
|
|
text_layout[shape=box]
|
2012-07-07 15:41:31 +00:00
|
|
|
renderer [color=red]
|
2012-07-06 19:41:20 +00:00
|
|
|
|
|
|
|
Text -> text_layout
|
|
|
|
text_layout -> Freetype[dir=both]
|
|
|
|
text_layout -> text_itemizer [dir=both]
|
|
|
|
text_layout -> HarfBuzz [dir=both]
|
|
|
|
text_layout -> text_layout [label="line breaking"]
|
|
|
|
text_layout -> text_line
|
|
|
|
text_line -> format_run
|
|
|
|
format_run -> char_properties
|
|
|
|
format_run -> glyph_info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text_layout -> placement_finder
|
2012-07-07 15:41:31 +00:00
|
|
|
placement_finder -> glyph_positions
|
|
|
|
glyph_positions -> renderer
|
|
|
|
|
2012-07-06 19:41:20 +00:00
|
|
|
// { rank=same; text_layout HarfBuzz Freetype text_itemizer }
|
|
|
|
}
|