summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76693fd)
raw | patch | inline | side by side (parent: 76693fd)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 18 Nov 2006 12:51:08 +0000 (12:51 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 18 Nov 2006 12:51:08 +0000 (12:51 +0000) |
src/extension/internal/ps.cpp | patch | blob | history | |
src/extension/internal/ps.h | patch | blob | history |
index fe668a138d977289d641899a739aab5c5ebf389a..1301e888aaa26fd120df0681680d7f273238b09f 100644 (file)
* (TODO?)
* Else, back to the former way of printing.
*/
- gchar* is_embedded;
+ gpointer is_embedded;
//if not first time the font is used and if font embedding requested, check whether the font has been embedded (successfully the first time).
- if(g_tree_lookup_extended(_fonts, fn, NULL, (gpointer*)&is_embedded)) font_embedded = font_embedded && (strcmp(is_embedded, "TRUE") == 0);
+ if(g_tree_lookup_extended(_fonts, fn, NULL, &is_embedded)) font_embedded = font_embedded && (strcmp((char *)is_embedded, "TRUE") == 0);
else
{
//first time the font is used
index a5dea8c6944636122e42c20a5f09122d78bd9229..673cde82c4722e470546b3f31da17f112c3c40b8 100644 (file)
void print_stroke_style(SVGOStringStream &os, SPStyle const *style);
char const *PSFontName(SPStyle const *style);
- bool PrintPS::embed_t1(SVGOStringStream &os, font_instance* font);
- bool PrintPS::embed_font(SVGOStringStream &os, font_instance* font);
+ bool embed_t1(SVGOStringStream &os, font_instance* font);
+ bool embed_font(SVGOStringStream &os, font_instance* font);
- void PrintPS::print_glyphlist(SVGOStringStream &os, font_instance* font, Glib::ustring unistring);
+ void print_glyphlist(SVGOStringStream &os, font_instance* font, Glib::ustring unistring);
unsigned int print_image(FILE *ofp, guchar *px, unsigned int width, unsigned int height, unsigned int rs,
NRMatrix const *transform);