Code

moving trunk for module inkscape
[inkscape.git] / src / libnrtype / font-glyph.h
1 #ifndef SEEN_LIBNRTYPE_FONT_GLYPH_H
2 #define SEEN_LIBNRTYPE_FONT_GLYPH_H
4 #include <libnrtype/nrtype-forward.h>
5 #include <livarot/livarot-forward.h>
7 // the info for a glyph in a font. it's totally resolution- and fontsize-independent
8 struct font_glyph {
9     double         h_advance, h_width; // width != advance because of kerning adjustements
10     double         v_advance, v_width;
11     double         bbox[4];            // bbox of the path (and the artbpath), not the bbox of the glyph
12                                                                                                                                                          // as the fonts sometimes contain
13     Path*          outline;            // outline as a livarot Path
14     void*          artbpath;           // outline as a artbpath, for text->curve stuff (should be unified with livarot)
15 };
18 #endif /* !SEEN_LIBNRTYPE_FONT_GLYPH_H */
20 /*
21   Local Variables:
22   mode:c++
23   c-file-style:"stroustrup"
24   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
25   indent-tabs-mode:nil
26   fill-column:99
27   End:
28 */
29 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :