From ddeadd1c02880367ad786b113d352a519f45ec73 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 23 Jul 2009 23:05:34 +0000 Subject: Merge LibCSS port to trunk. svn path=/trunk/netsurf/; revision=8752 --- desktop/save_pdf/font_haru.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/save_pdf/font_haru.c') diff --git a/desktop/save_pdf/font_haru.c b/desktop/save_pdf/font_haru.c index 0bf86c340..c90753121 100644 --- a/desktop/save_pdf/font_haru.c +++ b/desktop/save_pdf/font_haru.c @@ -37,6 +37,7 @@ #include #include "css/css.h" +#include "css/utils.h" #include "desktop/options.h" #include "desktop/save_pdf/font_haru.h" @@ -216,8 +217,7 @@ bool haru_nsfont_position_in_string(const plot_font_style_t *fstyle, /** * Find where to split a string to make it fit a width. * - * \param fstyle css_style for this text, with style->font_size.size == - * CSS_FONT_SIZE_LENGTH + * \param fstyle style for this text * \param string string to measure (no UTF-8 currently) * \param length length of string * \param x width available @@ -268,7 +268,7 @@ bool haru_nsfont_split(const plot_font_style_t *fstyle, /** * Apply font style to a Haru HPDF_Page * - * \param style plot style for this page + * \param fstyle plot style for this page * \param doc document owning the page * \param page the page to apply the style to * \param font if this is non NULL it is updated to the font based -- cgit v1.2.1