summaryrefslogtreecommitdiff
path: root/riscos/font.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-08 18:48:23 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-08 18:48:23 +0000
commit5412d7c1b04b4326d1fcd5a2e633ec0f6cff81de (patch)
treea0e1927bbe7f6fbf0ed6c01065801211c08e1902 /riscos/font.c
parentcebac17d4d1b98ab94ea0d66efdc80ef148252a7 (diff)
downloadnetsurf-5412d7c1b04b4326d1fcd5a2e633ec0f6cff81de.tar.gz
netsurf-5412d7c1b04b4326d1fcd5a2e633ec0f6cff81de.tar.bz2
Don't scale text plots in front end (RISC OS).
svn path=/trunk/netsurf/; revision=11937
Diffstat (limited to 'riscos/font.c')
-rw-r--r--riscos/font.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/riscos/font.c b/riscos/font.c
index a2cf561fb..ce9e70a99 100644
--- a/riscos/font.c
+++ b/riscos/font.c
@@ -385,12 +385,11 @@ bool nsfont_split(const plot_font_style_t *fstyle,
* \param length length of string
* \param x x coordinate
* \param y y coordinate
- * \param scale scale to apply to font size
* \return true on success, false on error and error reported
*/
bool nsfont_paint(const plot_font_style_t *fstyle, const char *string,
- size_t length, int x, int y, float scale)
+ size_t length, int x, int y)
{
const char *font_family;
unsigned int font_size;
@@ -401,7 +400,7 @@ bool nsfont_paint(const plot_font_style_t *fstyle, const char *string,
if (font_size == 0)
return true;
- code = rufl_paint(font_family, font_style, font_size * scale,
+ code = rufl_paint(font_family, font_style, font_size,
string, length, x, y,
print_active ? 0 : rufl_BLEND_FONT);
if (code != rufl_OK) {