~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/texk/web2c/luatexdir/lua/luagen.w

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% luagen.w
 
2
 
3
% Copyright 2009 Taco Hoekwater <taco@@luatex.org>
 
4
 
 
5
% This file is part of LuaTeX.
 
6
 
 
7
% LuaTeX is free software; you can redistribute it and/or modify it under
 
8
% the terms of the GNU General Public License as published by the Free
 
9
% Software Foundation; either version 2 of the License, or (at your
 
10
% option) any later version.
 
11
 
 
12
% LuaTeX is distributed in the hope that it will be useful, but WITHOUT
 
13
% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
14
% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
15
% License for more details.
 
16
 
 
17
% You should have received a copy of the GNU General Public License along
 
18
% with LuaTeX; if not, see <http://www.gnu.org/licenses/>. 
 
19
 
 
20
@ @c
 
21
static const char _svn_version[] =
 
22
    "$Id: luagen.w 3583 2010-04-02 17:40:44Z hhenkel $ "
 
23
    "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.60.1/source/texk/web2c/luatexdir/lua/luagen.w $";
 
24
 
 
25
#include "ptexlib.h"
 
26
#include "pdf/pdfpage.h"
 
27
 
 
28
@ @c
 
29
void lua_begin_page(PDF pdf)
 
30
{
 
31
    (void) pdf;
 
32
}
 
33
 
 
34
void lua_end_page(PDF pdf)
 
35
{
 
36
    (void) pdf;
 
37
}
 
38
 
 
39
void lua_place_glyph(PDF pdf, internal_font_number f, int c)
 
40
{
 
41
    (void) pdf;
 
42
    (void) f;
 
43
    printf("%c", (int) c);
 
44
}
 
45
 
 
46
void lua_place_rule(PDF pdf, scaledpos size)
 
47
{
 
48
    (void) pdf;
 
49
    (void) size;
 
50
}
 
51
 
 
52
void finish_lua_file(PDF pdf)
 
53
{
 
54
    (void) pdf;
 
55
}