NetSurf
Functions | Variables
font_haru.h File Reference

Font handling in Haru pdf documents (interface). More...

#include <hpdf.h>
#include "desktop/font.h"
Include dependency graph for font_haru.h:

Go to the source code of this file.

Functions

bool haru_nsfont_apply_style (const plot_font_style_t *fstyle, HPDF_Doc doc, HPDF_Page page, HPDF_Font *font, HPDF_REAL *font_size)
 
void haru_nsfont_set_scale (float s)
 

Variables

const struct font_functions haru_nsfont
 

Detailed Description

Font handling in Haru pdf documents (interface).

Definition in file font_haru.h.

Function Documentation

◆ haru_nsfont_apply_style()

bool haru_nsfont_apply_style ( const plot_font_style_t fstyle,
HPDF_Doc  doc,
HPDF_Page  page,
HPDF_Font *  font,
HPDF_REAL *  font_size 
)

◆ haru_nsfont_set_scale()

void haru_nsfont_set_scale ( float  s)

Referenced by pdf_button_clicked_cb().

Here is the caller graph for this function:

Variable Documentation

◆ haru_nsfont

const struct font_functions haru_nsfont
extern

Referenced by pdf_button_clicked_cb().