1. 08 May, 2006 1 commit
    • Morten Welinder's avatar
      Copy font description early. We aren't supposed to touch the result of · fc24c937
      Morten Welinder authored
      2006-05-08  Morten Welinder  <terra@gnome.org>
      
      	* src/style.c (style_font_new_simple): Copy font description
      	early.  We aren't supposed to touch the result of
      	pango_context_get_font_description!
      	(gnm_font_metrics_new, gnm_font_metrics_free): Moved to goffice.
      
      	* src/style-font.h: Add GOFont and GOFontMetrics members.  Remove
      	PangoFontDescription member.
      fc24c937
  2. 27 Apr, 2006 1 commit
    • Morten Welinder's avatar
      New font metrics setup. · 8b1641f1
      Morten Welinder authored
      2006-04-26  Morten Welinder  <terra@gnome.org>
      
      	* src/style.c (gnm_font_metrics_new, gnm_font_metrics_free,
      	gnm_font_metrics_unit): New font metrics setup.
      
      	* src/sheet.c (sheet_col_get_distance_pixels): New function.
      
      	* src/cell.c (cell_get_render_color, cell_get_entered_text,
      	cell_rendered_height, cell_rendered_width, cell_rendered_offset):
      	Moved from src/rendered-value.c.
      
      	* src/gnm-format.c (gnm_format_layout, gnm_format_general): New
      	functions.
      	(format_value_gstring): Use gnm_format_general.
      
      	* src/rendered-value.c (rendered_value_render): Calculate column
      	widths in pixels and use gnm_format_layout to get accurate
      	rendering.  Take layout instead of string.
      	(rendered_value_new): Set attributes before the call to
      	rendered_value_render.
      8b1641f1
  3. 30 Aug, 2005 1 commit
    • Jody Goldberg's avatar
      support data tables. ditto. ditto. ditto. · 3a70f9f1
      Jody Goldberg authored
      2005-08-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (excel_parse_formula) : support data tables.
      	* ms-excel-read.c (excel_formula_shared) : ditto.
      	* ms-formula-write.c (write_node) : ditto.
      	* ms-excel-write.c (excel_write_FORMULA) : ditto.
      
      2005-08-27  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_map_forms_obj) : no need to warn about record with
      	  no expressions. (Wallenbach/Formulas-2003/chap05/character\ set.xls)
      
      2005-08-27  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_dispose) : Looks like this patch got
      	  munged. Make it sane.
      3a70f9f1
  4. 28 Feb, 2005 1 commit
    • Morten Welinder's avatar
      For numbers, map '-' to U2212 which has same width as "+". · 1bd931eb
      Morten Welinder authored
      2005-02-28  Morten Welinder  <terra@gnome.org>
      
      	* src/rendered-value.c (rendered_value_render): For numbers, map
      	'-' to U2212 which has same width as "+".
      
      	* src/gnm-format.h: Define a bunch of unicode characters by name.
      	* src/parser.y (yylex): Use these.
      	* src/cell-draw.c (cell_calc_layout): Ditto.
      1bd931eb
  5. 08 Feb, 2005 1 commit