Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gvgetfontlist_pango.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <cgraph/alloc.h>
#include <cgraph/gv_ctype.h>
#include <cgraph/strcasecmp.h>
#include <cgraph/strview.h>
#include <cgraph/agxbuf.h>
#include <gvc/gvplugin_textlayout.h>
#include <pango/pangocairo.h>
#include "gvgetfontlist.h"
#include <common/globals.h>
#include "ps_font_equiv.h"
Include dependency graph for gvgetfontlist_pango.c:

Go to the source code of this file.

Data Structures

struct  face_t
 
struct  fontdef_t
 
struct  availfont_t
 
struct  availfonts_t
 

Macros

#define FNT_BOLD   1<<0
 
#define FNT_BOOK   1<<1
 
#define FNT_CONDENSED   1<<2
 
#define FNT_DEMI   1<<3
 
#define FNT_EXTRALIGHT   1<<4
 
#define FNT_ITALIC   1<<5
 
#define FNT_LIGHT   1<<6
 
#define FNT_MEDIUM   1<<7
 
#define FNT_OBLIQUE   1<<8
 
#define FNT_REGULAR   1<<9
 
#define FNT_ROMAN   1<<9
 
#define PS_AVANTGARDE   "AvantGarde"
 
#define PS_BOOKMAN   "Bookman"
 
#define PS_COURIER   "Courier"
 
#define PS_HELVETICA   SAN_5
 
#define PS_NEWCENTURYSCHLBK   "NewCenturySchlbk"
 
#define PS_PALATINO   "Palatino"
 
#define PS_SYMBOL   "Symbol"
 
#define PS_TIMES   SER_3
 
#define PS_CHANCERY   "ZapfChancery"
 
#define PS_DINGBATS   "ZapfDingbats"
 
#define FNT_BOLD_ST   "BOLD"
 
#define FNT_BOOK_ST   "BOOK"
 
#define FNT_CONDENSED_ST   "CONDENSED"
 
#define FNT_DEMI_ST   "DEMI"
 
#define FNT_EXTRALIGHT_ST   "EXTRALIGHT"
 
#define FNT_ITALIC_ST   "ITALIC"
 
#define FNT_LIGHT_ST   "LIGHT"
 
#define FNT_MEDIUM_ST   "MEDIUM"
 
#define FNT_OBLIQUE_ST   "OBLIQUE"
 
#define FNT_REGULAR_ST   "REGULAR"
 
#define FNT_ROMAN_ST   "ROMAN"
 
#define SAN_0   "sans"
 
#define SAN_1   "URW Gothic L"
 
#define SAN_2   "Charcoal"
 
#define SAN_3   "Nimbus Sans L"
 
#define SAN_4   "Verdana"
 
#define SAN_5   "Helvetica"
 
#define SAN_6   "Bitstream Vera Sans"
 
#define SAN_7   "DejaVu Sans"
 
#define SAN_8   "Liberation Sans"
 
#define SAN_9   "Luxi Sans"
 
#define SAN_10   "FreeSans"
 
#define SAN_11   "Arial"
 
#define SER_0   "serif"
 
#define SER_1   "URW Bookman L"
 
#define SER_2   "Times New Roman"
 
#define SER_3   "Times"
 
#define SER_4   "Nimbus Roman No9 L"
 
#define SER_5   "Bitstream Vera Serif"
 
#define SER_6   "DejaVu Serif"
 
#define SER_7   "Liberation Serif"
 
#define SER_8   "Luxi Serif"
 
#define SER_9   "FreeSerif"
 
#define SER_10   "Century Schoolbook L"
 
#define SER_11   "Charcoal"
 
#define SER_12   "Georgia"
 
#define SER_13   "URW Palladio L"
 
#define SER_14   "Norasi"
 
#define SER_15   "Rekha"
 
#define SER_16   "URW Chancery L"
 
#define MON_0   "monospace"
 
#define MON_1   "Nimbus Mono L"
 
#define MON_2   "Inconsolata"
 
#define MON_3   "Courier New"
 
#define MON_4   "Bitstream Vera Sans Mono"
 
#define MON_5   "DejaVu Sans Mono"
 
#define MON_6   "Liberation Mono"
 
#define MON_7   "Luxi Mono"
 
#define MON_8   "FreeMono"
 
#define SYM_0   "fantasy"
 
#define SYM_1   "Impact"
 
#define SYM_2   "Copperplate Gothic Std"
 
#define SYM_3   "Cooper Std"
 
#define SYM_4   "Bauhaus Std"
 
#define DING_0   "fantasy"
 
#define DING_1   "Dingbats"
 
#define DING_2   "Impact"
 
#define DING_3   "Copperplate Gothic Std"
 
#define DING_4   "Cooper Std"
 
#define DING_5   "Bauhaus Std"
 
#define FACELIST_SZ   (sizeof(facelist)/sizeof(face_t))
 
#define PS_AVANT_E_SZ   (sizeof(PS_AVANT_E) / sizeof(char *))
 
#define PS_BOOKMAN_E_SZ   (sizeof(PS_BOOKMAN_E) / sizeof(char *))
 
#define PS_COURIER_E_SZ   (sizeof(PS_COURIER_E) / sizeof(char *))
 
#define PS_HELVETICA_E_SZ   (sizeof(PS_HELVETICA_E) / sizeof(char *))
 
#define PS_NEWCENT_E_SZ   (sizeof(PS_NEWCENT_E) / sizeof(char *))
 
#define PS_PALATINO_E_SZ   (sizeof(PS_PALATINO_E) / sizeof(char *))
 
#define PS_TIMES_E_SZ   (sizeof(PS_TIMES_E) / sizeof(char *))
 
#define PS_SYMBOL_E_SZ   (sizeof(PS_SYMBOL_E) / sizeof(char *))
 
#define PS_CHANCERY_E_SZ   (sizeof(PS_CHANCERY_E) / sizeof(char *))
 
#define PS_DINGBATS_E_SZ   (sizeof(PS_DINGBATS_E) / sizeof(char *))
 
#define GV_FONT_LIST_SIZE   (sizeof(gv_ps_fontdefs)/sizeof(fontdef_t))
 

Functions

char * strcasestr (const char *str, const char *pat)
 
static void gv_flist_free_af (availfonts_t gv_af_p)
 
static int get_faces (PangoFontFamily *family)
 
static char * get_avail_faces (int faces, agxbuf *xb)
 
static availfonts_t gv_get_ps_fontlist (PangoFontMap *fontmap)
 
static void copyUpper (agxbuf *xb, char *s)
 
static char * gv_get_font (availfonts_t gv_af_p, PostscriptAlias *ps_alias, agxbuf *xb, agxbuf *xb2)
 
static void printFontMap (gv_font_map *gv_fmap, int sz)
 
gv_font_mapget_font_mapping (PangoFontMap *fontmap)
 

Variables

static face_t facelist []
 
static const char * PS_AVANT_E []
 
static const char * PS_BOOKMAN_E []
 
static const char * PS_COURIER_E []
 
static const char * PS_HELVETICA_E []
 
static const char * PS_NEWCENT_E []
 
static const char * PS_PALATINO_E []
 
static const char * PS_TIMES_E []
 
static const char * PS_SYMBOL_E [] = { SYM_1, SYM_2, SYM_3, SYM_4 }
 
static const char * PS_CHANCERY_E []
 
static const char * PS_DINGBATS_E [] = { DING_1, SYM_1, SYM_2, SYM_3, SYM_4 }
 
static fontdef_t gv_ps_fontdefs []
 
static PostscriptAlias postscript_alias []
 

Macro Definition Documentation

◆ DING_0

#define DING_0   "fantasy"

Definition at line 142 of file gvgetfontlist_pango.c.

◆ DING_1

#define DING_1   "Dingbats"

Definition at line 143 of file gvgetfontlist_pango.c.

◆ DING_2

#define DING_2   "Impact"

Definition at line 144 of file gvgetfontlist_pango.c.

◆ DING_3

#define DING_3   "Copperplate Gothic Std"

Definition at line 145 of file gvgetfontlist_pango.c.

◆ DING_4

#define DING_4   "Cooper Std"

Definition at line 146 of file gvgetfontlist_pango.c.

◆ DING_5

#define DING_5   "Bauhaus Std"

Definition at line 147 of file gvgetfontlist_pango.c.

◆ FACELIST_SZ

#define FACELIST_SZ   (sizeof(facelist)/sizeof(face_t))

Definition at line 167 of file gvgetfontlist_pango.c.

◆ FNT_BOLD

#define FNT_BOLD   1<<0

Definition at line 60 of file gvgetfontlist_pango.c.

◆ FNT_BOLD_ST

#define FNT_BOLD_ST   "BOLD"

Definition at line 83 of file gvgetfontlist_pango.c.

◆ FNT_BOOK

#define FNT_BOOK   1<<1

Definition at line 61 of file gvgetfontlist_pango.c.

◆ FNT_BOOK_ST

#define FNT_BOOK_ST   "BOOK"

Definition at line 84 of file gvgetfontlist_pango.c.

◆ FNT_CONDENSED

#define FNT_CONDENSED   1<<2

Definition at line 62 of file gvgetfontlist_pango.c.

◆ FNT_CONDENSED_ST

#define FNT_CONDENSED_ST   "CONDENSED"

Definition at line 85 of file gvgetfontlist_pango.c.

◆ FNT_DEMI

#define FNT_DEMI   1<<3

Definition at line 63 of file gvgetfontlist_pango.c.

◆ FNT_DEMI_ST

#define FNT_DEMI_ST   "DEMI"

Definition at line 86 of file gvgetfontlist_pango.c.

◆ FNT_EXTRALIGHT

#define FNT_EXTRALIGHT   1<<4

Definition at line 64 of file gvgetfontlist_pango.c.

◆ FNT_EXTRALIGHT_ST

#define FNT_EXTRALIGHT_ST   "EXTRALIGHT"

Definition at line 87 of file gvgetfontlist_pango.c.

◆ FNT_ITALIC

#define FNT_ITALIC   1<<5

Definition at line 65 of file gvgetfontlist_pango.c.

◆ FNT_ITALIC_ST

#define FNT_ITALIC_ST   "ITALIC"

Definition at line 88 of file gvgetfontlist_pango.c.

◆ FNT_LIGHT

#define FNT_LIGHT   1<<6

Definition at line 66 of file gvgetfontlist_pango.c.

◆ FNT_LIGHT_ST

#define FNT_LIGHT_ST   "LIGHT"

Definition at line 89 of file gvgetfontlist_pango.c.

◆ FNT_MEDIUM

#define FNT_MEDIUM   1<<7

Definition at line 67 of file gvgetfontlist_pango.c.

◆ FNT_MEDIUM_ST

#define FNT_MEDIUM_ST   "MEDIUM"

Definition at line 90 of file gvgetfontlist_pango.c.

◆ FNT_OBLIQUE

#define FNT_OBLIQUE   1<<8

Definition at line 68 of file gvgetfontlist_pango.c.

◆ FNT_OBLIQUE_ST

#define FNT_OBLIQUE_ST   "OBLIQUE"

Definition at line 91 of file gvgetfontlist_pango.c.

◆ FNT_REGULAR

#define FNT_REGULAR   1<<9

Definition at line 69 of file gvgetfontlist_pango.c.

◆ FNT_REGULAR_ST

#define FNT_REGULAR_ST   "REGULAR"

Definition at line 92 of file gvgetfontlist_pango.c.

◆ FNT_ROMAN

#define FNT_ROMAN   1<<9

Definition at line 70 of file gvgetfontlist_pango.c.

◆ FNT_ROMAN_ST

#define FNT_ROMAN_ST   "ROMAN"

Definition at line 93 of file gvgetfontlist_pango.c.

◆ GV_FONT_LIST_SIZE

#define GV_FONT_LIST_SIZE   (sizeof(gv_ps_fontdefs)/sizeof(fontdef_t))

Definition at line 239 of file gvgetfontlist_pango.c.

◆ MON_0

#define MON_0   "monospace"

Definition at line 126 of file gvgetfontlist_pango.c.

◆ MON_1

#define MON_1   "Nimbus Mono L"

Definition at line 127 of file gvgetfontlist_pango.c.

◆ MON_2

#define MON_2   "Inconsolata"

Definition at line 128 of file gvgetfontlist_pango.c.

◆ MON_3

#define MON_3   "Courier New"

Definition at line 129 of file gvgetfontlist_pango.c.

◆ MON_4

#define MON_4   "Bitstream Vera Sans Mono"

Definition at line 130 of file gvgetfontlist_pango.c.

◆ MON_5

#define MON_5   "DejaVu Sans Mono"

Definition at line 131 of file gvgetfontlist_pango.c.

◆ MON_6

#define MON_6   "Liberation Mono"

Definition at line 132 of file gvgetfontlist_pango.c.

◆ MON_7

#define MON_7   "Luxi Mono"

Definition at line 133 of file gvgetfontlist_pango.c.

◆ MON_8

#define MON_8   "FreeMono"

Definition at line 134 of file gvgetfontlist_pango.c.

◆ PS_AVANT_E_SZ

#define PS_AVANT_E_SZ   (sizeof(PS_AVANT_E) / sizeof(char *))

Definition at line 176 of file gvgetfontlist_pango.c.

◆ PS_AVANTGARDE

#define PS_AVANTGARDE   "AvantGarde"

Definition at line 72 of file gvgetfontlist_pango.c.

◆ PS_BOOKMAN

#define PS_BOOKMAN   "Bookman"

Definition at line 73 of file gvgetfontlist_pango.c.

◆ PS_BOOKMAN_E_SZ

#define PS_BOOKMAN_E_SZ   (sizeof(PS_BOOKMAN_E) / sizeof(char *))

Definition at line 181 of file gvgetfontlist_pango.c.

◆ PS_CHANCERY

#define PS_CHANCERY   "ZapfChancery"

Definition at line 80 of file gvgetfontlist_pango.c.

◆ PS_CHANCERY_E_SZ

#define PS_CHANCERY_E_SZ   (sizeof(PS_CHANCERY_E) / sizeof(char *))

Definition at line 214 of file gvgetfontlist_pango.c.

◆ PS_COURIER

#define PS_COURIER   "Courier"

Definition at line 74 of file gvgetfontlist_pango.c.

◆ PS_COURIER_E_SZ

#define PS_COURIER_E_SZ   (sizeof(PS_COURIER_E) / sizeof(char *))

Definition at line 186 of file gvgetfontlist_pango.c.

◆ PS_DINGBATS

#define PS_DINGBATS   "ZapfDingbats"

Definition at line 81 of file gvgetfontlist_pango.c.

◆ PS_DINGBATS_E_SZ

#define PS_DINGBATS_E_SZ   (sizeof(PS_DINGBATS_E) / sizeof(char *))

Definition at line 217 of file gvgetfontlist_pango.c.

◆ PS_HELVETICA

#define PS_HELVETICA   SAN_5

Definition at line 75 of file gvgetfontlist_pango.c.

◆ PS_HELVETICA_E_SZ

#define PS_HELVETICA_E_SZ   (sizeof(PS_HELVETICA_E) / sizeof(char *))

Definition at line 191 of file gvgetfontlist_pango.c.

◆ PS_NEWCENT_E_SZ

#define PS_NEWCENT_E_SZ   (sizeof(PS_NEWCENT_E) / sizeof(char *))

Definition at line 196 of file gvgetfontlist_pango.c.

◆ PS_NEWCENTURYSCHLBK

#define PS_NEWCENTURYSCHLBK   "NewCenturySchlbk"

Definition at line 76 of file gvgetfontlist_pango.c.

◆ PS_PALATINO

#define PS_PALATINO   "Palatino"

Definition at line 77 of file gvgetfontlist_pango.c.

◆ PS_PALATINO_E_SZ

#define PS_PALATINO_E_SZ   (sizeof(PS_PALATINO_E) / sizeof(char *))

Definition at line 201 of file gvgetfontlist_pango.c.

◆ PS_SYMBOL

#define PS_SYMBOL   "Symbol"

Definition at line 78 of file gvgetfontlist_pango.c.

◆ PS_SYMBOL_E_SZ

#define PS_SYMBOL_E_SZ   (sizeof(PS_SYMBOL_E) / sizeof(char *))

Definition at line 209 of file gvgetfontlist_pango.c.

◆ PS_TIMES

#define PS_TIMES   SER_3

Definition at line 79 of file gvgetfontlist_pango.c.

◆ PS_TIMES_E_SZ

#define PS_TIMES_E_SZ   (sizeof(PS_TIMES_E) / sizeof(char *))

Definition at line 206 of file gvgetfontlist_pango.c.

◆ SAN_0

#define SAN_0   "sans"

Definition at line 95 of file gvgetfontlist_pango.c.

◆ SAN_1

#define SAN_1   "URW Gothic L"

Definition at line 96 of file gvgetfontlist_pango.c.

◆ SAN_10

#define SAN_10   "FreeSans"

Definition at line 105 of file gvgetfontlist_pango.c.

◆ SAN_11

#define SAN_11   "Arial"

Definition at line 106 of file gvgetfontlist_pango.c.

◆ SAN_2

#define SAN_2   "Charcoal"

Definition at line 97 of file gvgetfontlist_pango.c.

◆ SAN_3

#define SAN_3   "Nimbus Sans L"

Definition at line 98 of file gvgetfontlist_pango.c.

◆ SAN_4

#define SAN_4   "Verdana"

Definition at line 99 of file gvgetfontlist_pango.c.

◆ SAN_5

#define SAN_5   "Helvetica"

Definition at line 100 of file gvgetfontlist_pango.c.

◆ SAN_6

#define SAN_6   "Bitstream Vera Sans"

Definition at line 101 of file gvgetfontlist_pango.c.

◆ SAN_7

#define SAN_7   "DejaVu Sans"

Definition at line 102 of file gvgetfontlist_pango.c.

◆ SAN_8

#define SAN_8   "Liberation Sans"

Definition at line 103 of file gvgetfontlist_pango.c.

◆ SAN_9

#define SAN_9   "Luxi Sans"

Definition at line 104 of file gvgetfontlist_pango.c.

◆ SER_0

#define SER_0   "serif"

Definition at line 108 of file gvgetfontlist_pango.c.

◆ SER_1

#define SER_1   "URW Bookman L"

Definition at line 109 of file gvgetfontlist_pango.c.

◆ SER_10

#define SER_10   "Century Schoolbook L"

Definition at line 118 of file gvgetfontlist_pango.c.

◆ SER_11

#define SER_11   "Charcoal"

Definition at line 119 of file gvgetfontlist_pango.c.

◆ SER_12

#define SER_12   "Georgia"

Definition at line 120 of file gvgetfontlist_pango.c.

◆ SER_13

#define SER_13   "URW Palladio L"

Definition at line 121 of file gvgetfontlist_pango.c.

◆ SER_14

#define SER_14   "Norasi"

Definition at line 122 of file gvgetfontlist_pango.c.

◆ SER_15

#define SER_15   "Rekha"

Definition at line 123 of file gvgetfontlist_pango.c.

◆ SER_16

#define SER_16   "URW Chancery L"

Definition at line 124 of file gvgetfontlist_pango.c.

◆ SER_2

#define SER_2   "Times New Roman"

Definition at line 110 of file gvgetfontlist_pango.c.

◆ SER_3

#define SER_3   "Times"

Definition at line 111 of file gvgetfontlist_pango.c.

◆ SER_4

#define SER_4   "Nimbus Roman No9 L"

Definition at line 112 of file gvgetfontlist_pango.c.

◆ SER_5

#define SER_5   "Bitstream Vera Serif"

Definition at line 113 of file gvgetfontlist_pango.c.

◆ SER_6

#define SER_6   "DejaVu Serif"

Definition at line 114 of file gvgetfontlist_pango.c.

◆ SER_7

#define SER_7   "Liberation Serif"

Definition at line 115 of file gvgetfontlist_pango.c.

◆ SER_8

#define SER_8   "Luxi Serif"

Definition at line 116 of file gvgetfontlist_pango.c.

◆ SER_9

#define SER_9   "FreeSerif"

Definition at line 117 of file gvgetfontlist_pango.c.

◆ SYM_0

#define SYM_0   "fantasy"

Definition at line 136 of file gvgetfontlist_pango.c.

◆ SYM_1

#define SYM_1   "Impact"

Definition at line 137 of file gvgetfontlist_pango.c.

◆ SYM_2

#define SYM_2   "Copperplate Gothic Std"

Definition at line 138 of file gvgetfontlist_pango.c.

◆ SYM_3

#define SYM_3   "Cooper Std"

Definition at line 139 of file gvgetfontlist_pango.c.

◆ SYM_4

#define SYM_4   "Bauhaus Std"

Definition at line 140 of file gvgetfontlist_pango.c.

Function Documentation

◆ copyUpper()

static void copyUpper ( agxbuf xb,
char *  s 
)
static

Definition at line 414 of file gvgetfontlist_pango.c.

References agxbputc(), and gv_toupper().

Referenced by gv_get_font().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_avail_faces()

static char * get_avail_faces ( int  faces,
agxbuf xb 
)
static

Definition at line 317 of file gvgetfontlist_pango.c.

References agxbprint(), agxbuse(), facelist, and FACELIST_SZ.

Referenced by gv_get_font().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_faces()

static int get_faces ( PangoFontFamily *  family)
static

Definition at line 267 of file gvgetfontlist_pango.c.

References facelist, FACELIST_SZ, face_t::flag, and strcasestr().

Referenced by gv_get_ps_fontlist().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_font_mapping()

gv_font_map * get_font_mapping ( PangoFontMap *  fontmap)

Definition at line 496 of file gvgetfontlist_pango.c.

References agxbfree(), gv_calloc(), gv_flist_free_af(), gv_font_map::gv_font, gv_get_font(), gv_get_ps_fontlist(), gv_font_map::gv_ps_fontname, _PostscriptAlias::name, postscript_alias, printFontMap(), Verbose, and _PostscriptAlias::xfig_code.

Referenced by pango_textlayout().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gv_flist_free_af()

static void gv_flist_free_af ( availfonts_t  gv_af_p)
static

Definition at line 261 of file gvgetfontlist_pango.c.

References availfont_t::fontname, availfonts_t::fonts, free(), and GV_FONT_LIST_SIZE.

Referenced by get_font_mapping().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gv_get_font()

static char * gv_get_font ( availfonts_t  gv_af_p,
PostscriptAlias ps_alias,
agxbuf xb,
agxbuf xb2 
)
static

Definition at line 426 of file gvgetfontlist_pango.c.

References agxbdisown(), agxbprint(), agxbput(), agxbputc(), copyUpper(), availfont_t::faces, availfont_t::fontname, availfonts_t::fonts, get_avail_faces(), GV_FONT_LIST_SIZE, availfont_t::gv_ps_fontname, _PostscriptAlias::name, NULL, strcasestr(), _PostscriptAlias::stretch, _PostscriptAlias::style, and _PostscriptAlias::weight.

Referenced by get_font_mapping().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gv_get_ps_fontlist()

static availfonts_t gv_get_ps_fontlist ( PangoFontMap *  fontmap)
static

Definition at line 333 of file gvgetfontlist_pango.c.

References strview_t::data, fontdef_t::eq_sz, fontdef_t::equiv, availfont_t::faces, fontdef_t::fontname, availfont_t::fontname, availfonts_t::fonts, fontdef_t::generic_name, get_faces(), GV_FONT_LIST_SIZE, gv_ps_fontdefs, availfont_t::gv_ps_fontname, NULL, strview(), and strview_str().

Referenced by get_font_mapping().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printFontMap()

static void printFontMap ( gv_font_map gv_fmap,
int  sz 
)
static

Definition at line 479 of file gvgetfontlist_pango.c.

References font, and gv_font_map::gv_font.

Referenced by get_font_mapping().

Here is the caller graph for this function:

◆ strcasestr()

char * strcasestr ( const char *  str,
const char *  pat 
)

Definition at line 31 of file gvgetfontlist_pango.c.

References NULL, and str.

Referenced by get_faces(), and gv_get_font().

Here is the caller graph for this function:

Variable Documentation

◆ facelist

face_t facelist[]
static
Initial value:
= {
}
#define FNT_MEDIUM_ST
#define FNT_DEMI
#define FNT_BOOK
#define FNT_DEMI_ST
#define FNT_LIGHT
#define FNT_REGULAR_ST
#define FNT_ITALIC
#define FNT_LIGHT_ST
#define FNT_ITALIC_ST
#define FNT_MEDIUM
#define FNT_REGULAR
#define FNT_BOOK_ST
#define FNT_BOLD_ST
#define FNT_BOLD
#define FNT_CONDENSED_ST
#define FNT_EXTRALIGHT_ST
#define FNT_ROMAN_ST
#define FNT_OBLIQUE_ST
#define FNT_ROMAN
#define FNT_CONDENSED
#define FNT_OBLIQUE
#define FNT_EXTRALIGHT

Definition at line 154 of file gvgetfontlist_pango.c.

Referenced by get_avail_faces(), and get_faces().

◆ gv_ps_fontdefs

fontdef_t gv_ps_fontdefs[]
static
Initial value:
= {
}
static const char * PS_TIMES_E[]
#define PS_COURIER
#define PS_HELVETICA
static const char * PS_BOOKMAN_E[]
#define PS_NEWCENTURYSCHLBK
#define SAN_0
#define MON_0
#define PS_DINGBATS_E_SZ
static const char * PS_CHANCERY_E[]
static const char * PS_COURIER_E[]
#define PS_AVANT_E_SZ
static const char * PS_SYMBOL_E[]
static const char * PS_NEWCENT_E[]
#define PS_PALATINO_E_SZ
#define PS_SYMBOL
#define DING_0
static const char * PS_HELVETICA_E[]
#define PS_PALATINO
static const char * PS_AVANT_E[]
#define PS_HELVETICA_E_SZ
static const char * PS_PALATINO_E[]
#define PS_COURIER_E_SZ
#define PS_BOOKMAN_E_SZ
#define PS_NEWCENT_E_SZ
#define PS_DINGBATS
static const char * PS_DINGBATS_E[]
#define PS_BOOKMAN
#define PS_TIMES_E_SZ
#define PS_CHANCERY_E_SZ
#define PS_SYMBOL_E_SZ
#define PS_AVANTGARDE
#define SER_0
#define SYM_0
#define PS_CHANCERY
#define PS_TIMES

Definition at line 227 of file gvgetfontlist_pango.c.

Referenced by gv_get_ps_fontlist().

◆ postscript_alias

PostscriptAlias postscript_alias[]
static
Initial value:
= {
}

Definition at line 256 of file gvgetfontlist_pango.c.

Referenced by get_font_mapping().

◆ PS_AVANT_E

const char* PS_AVANT_E[]
static
Initial value:
= {
}
#define SAN_3
#define SAN_4
#define SAN_8
#define SAN_2
#define SAN_7
#define SAN_5
#define SAN_1
#define SAN_10
#define SAN_6
#define SAN_9

Definition at line 173 of file gvgetfontlist_pango.c.

◆ PS_BOOKMAN_E

const char* PS_BOOKMAN_E[]
static
Initial value:
= {
}
#define SER_8
#define SER_4
#define SER_6
#define SER_2
#define SER_3
#define SER_1
#define SER_9
#define SER_5
#define SER_7

Definition at line 178 of file gvgetfontlist_pango.c.

◆ PS_CHANCERY_E

const char* PS_CHANCERY_E[]
static
Initial value:
= {
}
#define SER_11
#define SER_16

Definition at line 211 of file gvgetfontlist_pango.c.

◆ PS_COURIER_E

const char* PS_COURIER_E[]
static
Initial value:
= {
}
#define MON_8
#define MON_4
#define MON_5
#define MON_2
#define MON_7
#define MON_6
#define MON_1
#define MON_3

Definition at line 183 of file gvgetfontlist_pango.c.

◆ PS_DINGBATS_E

const char* PS_DINGBATS_E[] = { DING_1, SYM_1, SYM_2, SYM_3, SYM_4 }
static

Definition at line 216 of file gvgetfontlist_pango.c.

◆ PS_HELVETICA_E

const char* PS_HELVETICA_E[]
static
Initial value:

Definition at line 188 of file gvgetfontlist_pango.c.

◆ PS_NEWCENT_E

const char* PS_NEWCENT_E[]
static
Initial value:
= {
}
#define SER_12
#define SER_10

Definition at line 193 of file gvgetfontlist_pango.c.

◆ PS_PALATINO_E

const char* PS_PALATINO_E[]
static
Initial value:
= {
}
#define SER_15
#define SER_14
#define SER_13

Definition at line 198 of file gvgetfontlist_pango.c.

◆ PS_SYMBOL_E

const char* PS_SYMBOL_E[] = { SYM_1, SYM_2, SYM_3, SYM_4 }
static

Definition at line 208 of file gvgetfontlist_pango.c.

◆ PS_TIMES_E

const char* PS_TIMES_E[]
static
Initial value:

Definition at line 203 of file gvgetfontlist_pango.c.