blob: 728b2903ec219c4e74818b4c9170d4d0fe31af65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/* pdffont.h
Copyright 2010-2013 Taco Hoekwater <taco@luatex.org>
This file is part of LuaTeX.
LuaTeX is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your
option) any later version.
LuaTeX is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
/* $Id: pdffont.h 4679 2013-12-19 15:47:53Z luigi $ */
#ifndef PDFFONT_H
# define PDFFONT_H
extern scaled_whd output_one_char(PDF pdf, halfword p);
extern void pdf_init_font(PDF pdf, internal_font_number f);
extern internal_font_number pdf_set_font(PDF pdf, internal_font_number f);
extern int pk_dpi; /* PK pixel density value from \.{texmf.cnf} */
extern internal_font_number tfm_lookup(char *s, scaled fs);
extern void set_expand_params(internal_font_number f, boolean auto_expand,
int stretch_limit, int shrink_limit,
int font_step);
extern void read_expand_font(void);
extern void new_letterspaced_font(small_number a);
extern void make_font_copy(small_number a);
extern void pdf_include_chars(PDF);
extern void glyph_to_unicode(void);
extern int fix_expand_value(internal_font_number f, int e);
#endif
|