/usr/include/libspreadsheet-1.12/spreadsheet/style-font.h is in gnumeric 1.12.32-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_STYLE_FONT_H_
# define _GNM_STYLE_FONT_H_
#include "gnumeric.h"
#include "libgnumeric.h"
#include <pango/pango.h>
G_BEGIN_DECLS
struct _GnmFont {
int ref_count;
char *font_name;
double size_pts;
struct _GnmGOFont {
GOFont const *font;
GOFontMetrics *metrics;
} go;
PangoContext *context;
unsigned int is_bold : 1;
unsigned int is_italic : 1;
};
GType gnm_font_get_type (void);
GnmFont *gnm_font_new (PangoContext *context,
char const *font_name,
double size_pts, gboolean bold, gboolean italic);
void gnm_font_ref (GnmFont *gfont);
void gnm_font_unref (GnmFont *gfont);
guint gnm_font_hash (gconstpointer v);
gint gnm_font_equal (gconstpointer v, gconstpointer v2);
GNM_VAR_DECL double gnm_font_default_width;
int gnm_font_override_codepage (gchar const *font_name);
/****************************************************************/
/* Internal */
void gnm_font_init (void);
void gnm_font_shutdown (void);
/****************************************************************/
/* Internal : Deprecated : Wrong place */
PangoContext *gnm_pango_context_get (void);
G_END_DECLS
#endif /* _GNM_STYLE_FONT_H_ */
|