Commit 0fcf4f15 authored by Jody Goldberg's avatar Jody Goldberg

Some updates for gnome-print.

parent b519fbd3
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
......@@ -5,6 +5,8 @@ Almer:
* Add "Autodiscovery" feature to stf fixed width importer.
Jody:
* Applix support mostly functional.
* Improve support for named expressions.
* Name and Graph gurus support range selection.
* Deadkey support.
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_headers) : Adapt to changes in gnome-print.
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
......
2000-07-09 Jody Goldberg <jgoldberg@home.com>
* dialog-cell-format.c (cb_font_changed) : Update to handle new
gnome-print encapsulation.
2000-07-04 Jody Goldberg <jgoldberg@home.com>
* dialog-function-wizard.c (formula_guru_set_rolled_state) : Functions
......
......@@ -1159,14 +1159,13 @@ cb_font_changed (GtkWidget *widget, GtkStyle *previous_style, FormatState *state
if (state->enable_edit && font_sel->size >= 1.) {
GnomeFont const * const gnome_font = gnome_display_font->gnome_font;
char const * const family_name = gnome_font->fontmap_entry->familyname;
gchar const * const family_name = gnome_font_get_family_name (gnome_font);
GnomeFontWeight const weight_code = gnome_font_get_weight_code (gnome_font);
mstyle_set_font_name (state->result, family_name);
mstyle_set_font_size (state->result, font_sel->size);
mstyle_set_font_bold (state->result,
gnome_font->fontmap_entry->weight_code >=
GNOME_FONT_BOLD);
mstyle_set_font_italic (state->result, gnome_font->fontmap_entry->italic);
mstyle_set_font_bold (state->result, weight_code >= GNOME_FONT_BOLD);
mstyle_set_font_italic (state->result, gnome_font_is_italic (gnome_font));
fmt_dialog_changed (state);
}
......
......@@ -263,7 +263,8 @@ print_headers (PrintJobInfo *pj)
gnome_print_setfont (pj->print_context, pj->decoration_font);
gnome_print_setrgbcolor (pj->print_context, 0, 0, 0);
y = pj->height - pm->header.points - pj->decoration_font->size;
y = pj->height - pm->header.points -
gnome_font_get_size (pj->decoration_font);
print_hf (pj, pj->pi->header->left_format, LEFT_HEADER, y);
print_hf (pj, pj->pi->header->middle_format, MIDDLE_HEADER, y);
print_hf (pj, pj->pi->header->right_format, RIGHT_HEADER, y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment