Graphviz 13.0.0~dev.20250121.0651
|
#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 <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 54 of file gvtextlayout_pango.c.
#define FONT_DPI 96. |
Definition at line 52 of file gvtextlayout_pango.c.
|
static |
Definition at line 58 of file gvtextlayout_pango.c.
References agxbput(), and len().
Referenced by pango_textlayout().
|
static |
Definition at line 31 of file gvtextlayout_pango.c.
References layout().
Referenced by pango_textlayout().
|
static |
Definition at line 36 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 64 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(), 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, xml_escape(), pointf_s::y, textspan_t::yoffset_centerline, and textspan_t::yoffset_layout.
gvplugin_installed_t gvtextlayout_pango_types[] |
Definition at line 269 of file gvtextlayout_pango.c.
|
static |
Definition at line 265 of file gvtextlayout_pango.c.