diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-01-26 08:53:02 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2017-01-26 08:53:02 +0000 |
| commit | 9bd36f8f6615ea7daa54fbd9b7b7f378f17787df (patch) | |
| tree | 9087c94bb14464c24c63e2cff84db30bd6fd5533 /src/libnrtype | |
| parent | defaults to about.svg when localized versions fail (diff) | |
| download | inkscape-9bd36f8f6615ea7daa54fbd9b7b7f378f17787df.tar.gz inkscape-9bd36f8f6615ea7daa54fbd9b7b7f378f17787df.zip | |
Add font name to debugging output.
(bzr r15454)
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Compute.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index e6da9ba63..80541c228 100644 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -210,6 +210,7 @@ class Layout::Calculator */ static void dumpPangoItemsOut(ParagraphInfo *para){ std::cout << "Pango items: " << para->pango_items.size() << std::endl; + font_factory * factory = font_factory::Default(); for(unsigned pidx = 0 ; pidx < para->pango_items.size(); pidx++){ std::cout << "idx: " << pidx @@ -217,6 +218,8 @@ static void dumpPangoItemsOut(ParagraphInfo *para){ << para->pango_items[pidx].item->offset << " length: " << para->pango_items[pidx].item->length + << " font: " + << factory->ConstructFontSpecification( para->pango_items[pidx].font ) << std::endl; } } |
