|
Graphviz 14.0.5~dev.20251117.1017
|
#include "config.h"#include <assert.h>#include <limits.h>#include <stdbool.h>#include <stdlib.h>#include <string.h>#include <gvc/gvplugin_render.h>#include <common/utils.h>#include <gvc/gvplugin_textlayout.h>#include <util/agxbuf.h>#include <util/alloc.h>#include <util/gv_math.h>#include <util/xml.h>#include <pango/pangocairo.h>#include "gvgetfontlist.h"Go to the source code of this file.
Macros | |
| #define | FONT_DPI 96. |
| #define | ENABLE_PANGO_MARKUP |
Functions | |
| static void | pango_free_layout (void *layout) |
| static char * | pango_psfontResolve (PostscriptAlias *pa) |
| static int | agxbput_int (void *buffer, const char *s) |
| static bool | pango_textlayout (textspan_t *span, char **fontpath) |
Variables | |
| static gvtextlayout_engine_t | pango_textlayout_engine |
| gvplugin_installed_t | gvtextlayout_pango_types [] |
| #define ENABLE_PANGO_MARKUP |
Definition at line 55 of file gvtextlayout_pango.c.
| #define FONT_DPI 96. |
Definition at line 53 of file gvtextlayout_pango.c.
|
static |
Definition at line 59 of file gvtextlayout_pango.c.
References agxbput(), and len().
Referenced by pango_textlayout().
|
static |
Definition at line 32 of file gvtextlayout_pango.c.
References layout().
Referenced by pango_textlayout().
|
static |
Definition at line 37 of file gvtextlayout_pango.c.
References agxbdisown(), agxbprint(), _PostscriptAlias::family, _PostscriptAlias::stretch, _PostscriptAlias::style, and _PostscriptAlias::weight.
Referenced by pango_textlayout().
|
static |
Definition at line 65 of file gvtextlayout_pango.c.
References agxbclear(), agxbfree(), agxbprint(), agxbput(), agxbput_int(), agxbuse(), error, flags, textfont_t::flags, font, textspan_t::font, FONT_DPI, free(), textspan_t::free_layout, get_font_mapping(), gv_font_map::gv_font, gv_strdup(), gv_xml_escape(), HTML_BF, HTML_IF, HTML_S, HTML_SUB, HTML_SUP, HTML_UL, is_exactly_equal(), textspan_t::layout, layout(), textfont_t::name, NULL, pango_free_layout(), pango_psfontResolve(), POINTS_PER_INCH, textfont_t::postscript_alias, xml_flags_t::raw, textfont_t::size, textspan_t::size, textspan_t::str, pointf_s::x, _PostscriptAlias::xfig_code, pointf_s::y, textspan_t::yoffset_centerline, and textspan_t::yoffset_layout.
| gvplugin_installed_t gvtextlayout_pango_types[] |
Definition at line 277 of file gvtextlayout_pango.c.
|
static |
Definition at line 273 of file gvtextlayout_pango.c.