summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/pdf/pdffont.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf/pdffont.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdffont.w6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdffont.w b/Build/source/texk/web2c/luatexdir/pdf/pdffont.w
index 967869b318c..20dba5e2fd5 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdffont.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdffont.w
@@ -21,7 +21,7 @@
@ @c
static const char _svn_version[] =
- "$Id: pdffont.w 4710 2014-01-02 13:26:55Z oneiros $"
+ "$Id: pdffont.w 4934 2014-03-26 08:17:27Z taco $"
"$URL: https://foundry.supelec.fr/svn/luatex/trunk/source/texk/web2c/luatexdir/pdf/pdffont.w $";
#include "ptexlib.h"
@@ -51,6 +51,10 @@ scaled_whd output_one_char(PDF pdf, halfword p)
int c = character(p);
int ex_glyph = ex_glyph(p)/1000;
ci = get_charinfo_whd(f, c);
+ if (!(char_exists(f,c))) {
+ char_warning(f,c);
+ return ci;
+ }
//ci.wd = round_xn_over_d(ci.wd, 1000 + ex_glyph, 1000);
ci.wd = ext_xn_over_d(ci.wd, 1000000 + ex_glyph(p), 1000000);
switch (pdf->posstruct->dir) {