NetSurf
font_haru.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 Adam Blokus <adamblokus@gmail.com>
3 * Copyright 2009 John Tytgat <joty@netsurf-browser.org>
4 *
5 * This file is part of NetSurf, http://www.netsurf-browser.org/
6 *
7 * NetSurf is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * NetSurf is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 /** \file
21 * Font handling in Haru pdf documents (interface).
22 */
23
24#ifndef _NETSURF_DESKTOP_FONT_HARU_H_
25#define _NETSURF_DESKTOP_FONT_HARU_H_
26
27#include <hpdf.h>
28
29#include "desktop/font.h"
30
32 HPDF_Doc doc, HPDF_Page page,
33 HPDF_Font *font, HPDF_REAL *font_size);
34
36
37extern const struct font_functions haru_nsfont;
38
39#endif
bool haru_nsfont_apply_style(const plot_font_style_t *fstyle, HPDF_Doc doc, HPDF_Page page, HPDF_Font *font, HPDF_REAL *font_size)
const struct font_functions haru_nsfont
void haru_nsfont_set_scale(float s)
Font style for plotting.
Definition: plot_style.h:111