diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-18 20:05:20 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-18 20:05:20 +0000 |
commit | a49e070d24242c0297e6325587c4bc135e13e26c (patch) | |
tree | 0510d066cc185e9d0b1b736736da5266d259878e /pango/pangoft2-private.h | |
parent | 39f3626e34e0522e0bdec591f6c0334307d39625 (diff) | |
download | pango-a49e070d24242c0297e6325587c4bc135e13e26c.tar.gz |
Up to 0.19.
Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (PANGO_MINOR_VERSION): Up to 0.19.
* pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c
pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch]
pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily
object types, and change the font listing API to list faces and
families, instead of face names and font descriptions.
* pango/pango-font.h pango/fonts.c: Make PangoFontDescription
an opaque heap-allocated structure, add accessors and
convenience functions.
* pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics
heap allocated, protect the structure definition with
#ifdef PANGO_ENABLE_BACKEND, and add getters for the fields.
* pango/pango-attributes.[ch] ( pango_attr_iterator_get_font):
instead of providing a base font description and one to fill
in, provide a single font description to modify based on
the attributes.
* pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have
a PangoFontDescription by reference, not by value.
* pango/pango-utils.[ch]: make pango_parse_style() and friends
take pointers to individual enumerations instead of to a
PangoFontDescription structure.
* pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics
changes.
* pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am
pango/opentype/Makefile.am: Protect portions with
PANGO_ENABLE_ENGINE to shrink the public API.
* modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE.
* pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move
pango_x_font_get_unknown_glyph() into public header since it is
used from modules.
* pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am:
Protect portions with PANGO_ENABLE_BACKEND to shrink the public API.
* pango/*.h: Use G_BEGIN/END_DECLS
* examples/viewer-qt.[cc,h]: Fix for changes to font listing API,
PangoFontDescription.
* pango/pango-indic.h modules/indic/*: Since we install this
header fix it up to Pango conventions, namespece
ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER.
* docs/pango-sections.txt: Updated.
Diffstat (limited to 'pango/pangoft2-private.h')
-rw-r--r-- | pango/pangoft2-private.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pango/pangoft2-private.h b/pango/pangoft2-private.h index ff53c4ef..027ced1e 100644 --- a/pango/pangoft2-private.h +++ b/pango/pangoft2-private.h @@ -55,7 +55,7 @@ typedef struct _PangoFT2OA PangoFT2OA; typedef struct _PangoFT2Font PangoFT2Font; typedef struct _PangoFT2GlyphInfo PangoFT2GlyphInfo; -typedef struct _PangoFT2FontEntry PangoFT2FontEntry; +typedef struct _PangoFT2Face PangoFT2Face; typedef struct _PangoFT2SubfontInfo PangoFT2SubfontInfo; struct _PangoFT2OA @@ -88,7 +88,7 @@ struct _PangoFT2Font */ gboolean in_cache; - PangoFT2FontEntry *entry; + PangoFT2Face *entry; GHashTable *glyph_info; }; @@ -99,22 +99,23 @@ struct _PangoFT2GlyphInfo PangoRectangle ink_rect; }; -struct _PangoFT2FontEntry +struct _PangoFT2Face { FT_Open_Args **open_args; FT_Long *face_indices; int n_fonts; - PangoFontDescription description; + PangoFontDescription *description; PangoCoverage *coverage; + char *face_name; GSList *cached_fonts; }; PangoMap *pango_ft2_get_shaper_map (PangoLanguage *language); -PangoCoverage *pango_ft2_font_entry_get_coverage (PangoFT2FontEntry *entry, +PangoCoverage *pango_ft2_face_get_coverage (PangoFT2Face *face, PangoFont *font, PangoLanguage *language); -void pango_ft2_font_entry_remove (PangoFT2FontEntry *entry, +void pango_ft2_face_remove (PangoFT2Face *face, PangoFont *font); FT_Library *pango_ft2_fontmap_get_library (PangoFontMap *fontmap); void pango_ft2_fontmap_cache_add (PangoFontMap *fontmap, |